magnific-popup


Magnific Popup close button placed in invalid html?


Using Magnific Popup, when my gallery displays, I'm seeing that the generated code nests the <button> to close the gallery within the <img> that's being displayed, like so: <img><button></img>. According to MDN's img tag details, permitted content isn't allowed, as it's an empty element. As a result, the close button isn't displaying in my gallery. Is there any way to fix this?
In the gallery initialization object, you're passing along an array of markup snippets. My markup was just an <img> tag, but I fixed it by wrapping the <img> in a <div>.

Related Links

Magnific popup: getting “The image could not be loaded”
How to give a fixed size to image in magnific-popup pluggin
magnific popup Inline Lightbox Gallery how to specify item in array from html link
how to make browser back close magnific-popup
Simple Magnific Popup Gallery not working
Magnific Popup onload calling a url
callbacks not firing when opening a magnific popup from another one
Magnific Popup - taller mfp-bottom-bar causes max image height issue
How to generate a (magnific popup)-gallery without a-tags
Add data to items in Magnific Popup
How to set the divs to make Magnific Popup animations work
how to display map in mobile devices using magnific popup?
Magnific Popup - Counter in Videogallery
how to manually open and close the popup using Magnific-Popup
How to customize arrows and close button?
no closing “X” with inline content

Categories

HOME
ibm-bluemix
atom-editor
listview
oracle11g
stock
react-router
programming-languages
jpeg
ckeditor
ojdbc
mvvmcross
convolution
slurm
primary-key
vault
floating-action-button
jplayer
circular-dependency
alignment
usergrid
zebra-printers
hapi
worldwind
ghc
telephony
lldb
cx-freeze
pass-by-reference
telerik-reporting
cultureinfo
angular2-aot
shopware
windowbuilder
quote
file-rename
preg-match
binary-data
galsim
kendo-ui-grid
windows-dev-center
asset-pipeline
textmate
mpmediaquery
fusionpbx
main
swift3.0.2
graphenedb
mesos-chronos
nand2tetris
qcombobox
galleria
logfiles
dotcover
smartcontracts
network-flow
komodoedit
rails-routing
hendrix
powercli
sqlclient
nodebb
rotativa
dstu2-fhir
impresspages
lua-5.1
master-slave
dlna
hexdump
ipconfig
tform
freedesktop.org
unity-networking
msys
cartesian-product
browser-bugs
map-projections
cakephp-3.1
php-ci
sailfish-os
sniffer
dundas
unity5.2.3
sonarqube5.1.2
e10s
python-green
gwidgets
ng-animate
tt-news
java.util.concurrent
nsbutton
wordpress-theme-customize
internet-connection
document-classification
php-5.4
expected-exception
gnu-smalltalk
dir
opcache
android-hardware
typoscript2
trusted
dsn
dbproviderfactories
getmessage
bubble-chart
bigcouch
subscript
recent-documents
yui-datatable
gallio
javap
wsdl.exe

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App