Nextgen lightbox conflict with a jquery
-
hello,
after upgrading to Photocrati Nextgen, the lightbox effect is not working on my theme, as it was before.
i have a Jquery horizontal feature in my theme, and after some investigation a noticed if i disable it, the lightbox works fine. But i can’t disable it, since it’s the main concept for the website (to have horizontal scrolling).here is the script, and i know this is not a plugin issue, but i really need some help or directions so i can fix this bug:
‘
<script src=”https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js”></script>
<script src=”js/jquery.mousewheel.js”></script>
<script>
jQuery.noConflict();
jQuery(function(){
jQuery(“#page-wrap”).wrapInner(“<table cellspacing=’30’><tr>”);
jQuery(“.ngg-gallery-thumbnail-box,.ngg-gallery-thumbnail, article, .coluna”).wrap(“<td></td>”);
jQuery(“body”).mousewheel(function(event, delta) {
this.scrollLeft -= (delta * 30);
event.preventDefault();
});
});
</script>
‘I tried both with noConflict and with the $ sign…
any ideas?
thanks
- The topic ‘Nextgen lightbox conflict with a jquery’ is closed to new replies.