javascript - Fancybox box won't popup -
i've created test pages using fancybox library.
however, when try integrate library main site, instead of opening image in modal window, opens in separate tab/window/page.
the successful empty test here: http://www.halal-helvetica.ch/kash.html
to 1 doesn't work, need go to: http://www.halal-helvetica.ch/index2.php, search bern. click on icon restaurant, , click on small grey square in info area on left of screen. when click that, you'll see opens large grey square in new page instead of in modal window.
i hope i've been specific enough.
thanks kash.
when bind fancybox a#single_image in base2.js, you're doing on page load when there aren't occurances of it. later element created when marker clicked, nothing bound. $.live() function of jquery bind on page load, bind future matches through ajax calls or whatever. this answer should $.live() working fancybox.
hope helps
Comments
Post a Comment