Two Instances of jquery
-
Hello all,
I am running a something called Lightbox Evolution on my WordPress install. In its instructions it says to place the following in the head:
<script type="text/javascript" src="js/jquery.min.js"></script> <link rel="stylesheet" type="text/css" href="js/lightbox/themes/default/jquery.lightbox.css" /> <!--[if IE 6]> <link rel="stylesheet" type="text/css" href="js/lightbox/themes/default/jquery.lightbox.ie6.css" /> <![endif]--> <script type="text/javascript" src="js/lightbox/jquery.lightbox.min.js"></script>
It then says put the following script just before the body closing tag:
<script type="text/javascript"> jQuery(document).ready(function($){ $('.lightbox').lightbox(); }); </script>
Both have been accomplished but the lightbox isn’t firing.
I believe it’s because there are two instances of jquery…the one that comes with WordPress core and the jquery file that comes with Lightbox Evolution.
If I remove the jquery file that comes with Lightbox Evolution, it still doesn’t work correctly.
I’ve asked the developer for help but no joy.
To see the actual page with issue, go here (it’s behind a wall currently)
After you view the page, go to the biography.On the biography page, you will see an image of man on horse of which is supposed to come up in a lightbox when clicked on.
Any thoughts? Thanks in advance
- The topic ‘Two Instances of jquery’ is closed to new replies.