Fancybox alternatives to modals
We currently use an older, free version of Fancybox to load images and forms in modal lightboxes. I was about to be all set to migrate to or program my own non-jquery-dependent solution, aaaaand now we're using pardot forms which are iframes. (Which we hate so much.) Can anyone recommend a good alternative to fancybox that handles images and iframes? The latest v5 of Fancybox seems like it's just a paid license now.
14 Replies
are you using bootstrap? or pure html?
or some other framework/ui tool/something?
Pure HTML at the moment. I wish we used a framework....it's on my roadmap!!
dialog looks ugly as hell
but can be made to do what you want
css is a thing though?
and it already has a backdrop
true, but the best way i found to style a dialog is to hide it and use an absolute positioned div
i may be wrong about this, but it is what worked for me
but then again, i was using bootstrap
see, there's your problem
the dialog html element is just another element you can style
but can you style it in ANY way?
afaik yeah
i had troubles with the borders
I haven't run into any restrictions, though I've also not made a ton of modals with it
i had some issues with it, which is why i did that ugly hack
but it was a year ago
i saw a website using this one. on first glance it looks simple and nice, and it is free for commercial use
https://biati-digital.github.io/glightbox/
http://fancybox.net/ <-- i used this one too
but using a dialog element is a better idea, in my opinion