liamloveslearning Posted July 18, 2008 Share Posted July 18, 2008 hey everyone,im building a website for a client and my nav bar is powered by js and so is the lightbox i have on my page, within my head tags i have this <script type="text/javascript" src="../js/jquery.js"></script> <script type="text/javascript" src="../js/interface.js"></script> <script type="text/javascript" src="../lightjs/prototype.js"></script> <script type="text/javascript" src="../lightjs/scriptaculous.js?load=effects,builder"></script> <script type="text/javascript" src="../lightjs/lightbox.js"></script> now with this my lightbox opens up, but my navbar does not work, if i remove the bottom lines of the code my nav works but then my lightbox wont as theres nothing to trigger it, im assuming theyre cancelling each other out somewhereso can anyone help? thanks Link to comment https://forums.phpfreaks.com/topic/115384-contradicting-each-other/ Share on other sites More sharing options...
KevinM1 Posted July 18, 2008 Share Posted July 18, 2008 Have you tried jQuery's noConflict function? http://docs.jquery.com/Core/jQuery.noConflict Link to comment https://forums.phpfreaks.com/topic/115384-contradicting-each-other/#findComment-593274 Share on other sites More sharing options...
liamloveslearning Posted July 18, 2008 Author Share Posted July 18, 2008 no ill have a go tho, thanks mate Link to comment https://forums.phpfreaks.com/topic/115384-contradicting-each-other/#findComment-593529 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.