Lightbox not loading.
Posted
by Nimbuz
on Stack Overflow
See other posts from Stack Overflow
or by Nimbuz
Published on 2010-06-15T02:33:22Z
Indexed on
2010/06/15
2:42 UTC
Read the original article
Hit count: 530
// Lightbox
$('a.lightbox').click(function () {
$.getScript("js/lightbox.js", function () {
alert('Load Complete');
$("a.lightbox").lightbox({
'type': 'iframe',
'overlayOpacity': 0.6,
'width': 940,
'hideOnContentClick': false
});
});
});
I want to load script on first request, but it doesn't seem to work, the page just redirects to the linked website, does not open iframe in lightbox.
Thanks for your help.
© Stack Overflow or respective owner