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 with html5 video
Magnific Popup Gallery: How can I display a counter in an inline type item?
Magnific Popup - gallery images not displaying
Magnific Popup custom arrow and number
Is it possible to pass data via the post method to magnific popup when ajax loading content?
What is the best way to test if a Magnific Popup is currently “open”
Apply callback to all instances of Magnific Popup?
Magnific Popup show background image while loading fullres image
Popup - It should load an .aspx page
Modal dialog. - Confusing
Toggle verticalFit on an open image?
Does Magnific Popup support custom events/buttons
I can't get the overflowY option to work in magnific popup
magnific popup group do not working
Magnific-popup: how to get image url from <img src=“…”>?
Styling magnific-popup arrows

Categories

HOME
hive
hook
blogger
lodash
vmware
xmpp
routes
bookshelf.js
google-docs
amortized-analysis
jpeg
ip
angular-ui-bootstrap
mouse
cross-validation
facebook-messenger-bot
awesome-wm
volttron
correlation
vaadin7
worldwind
google-pagespeed
textfield
immutable.js
java-3d
excel-2007
spark-jobserver
traffic
bootstrap-material-design
applozic
jspm
atlassian-crucible
nouislider
ioio
contact-form
commit
accelerate-framework
devextreme
serve
automake
libraries
event-driven
ansible-playbook
android-tabhost
core-plot
glew
outlook-2013
theming
snmptrapd
qtwebview
nbconvert
or-tools
pycaffe
pintos
removechild
file-writing
multi-level
pagedlist
rvest
fadeout
reactive-banana
jqgrid-formatter
0xdbe
microbenchmark
php-ci
sankey-diagram
createprocessasuser
census
geonetwork
castle
aapt
contenttype
funcunit
fluentautomation
srs
typo3-neos
tidy
xamlparseexception
jelly
referrer
labwindows
ocx
gnu-prolog
qt-jambi
xmlspy
yetanotherforum
modelstate
kdbg
mdac
signal-handling

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