![]() |
can't get lavalamp and fancybox work together
Hi guys, I'm currently
working on a personal website and wanted to incorporate both "lavalamp" and "fancy box" on the same html page. I have tried and tried but for some reason one of them works and the other doesnt. It's like one overrides the other one. I have tried different things with no success. This is probably a very basic questions for you amazing programmers, so I kindly ask you for your help. Thank you!! Below is the script i have for the js. -------------------------------------------------------------------- link rel="stylesheet" href="css/lavalamp_test.css" type="text/css" media="screen"/> <script type="text/javascript" src="scripts/jquery-1.2.3.min.js"></ script> <script type="text/javascript" src="scripts/ jquery.easing.min.js"></script> <script type="text/javascript" src="scripts/ jquery.lavalamp.min.js"></script> <script type="text/javascript"> $(function() { $("#2").lavaLamp({ fx: "backout", speed: 700, click: function(event, menuItem) { return true; } }); }); </script> <link rel="stylesheet" type="text/css" href="jquery.fancybox/ jquery.fancybox.css" media="screen" /> <script type="text/javascript" src="jquery.fancybox/ jquery-1.3.2.min.js"></script> <script type="text/javascript" src="jquery.fancybox/jquery.easing. 1.3.js"></script> <script type="text/javascript" src="jquery.fancybox/ jquery.fancybox-1.2.1.pack.js"></script> <script type="text/javascript"> $(document).ready(function() { $("a.fancyLink").fancybox(); }); </script> ---------------------------------------------------------------------------------------------------------------------------------------------------------------- I noticed that "jquery-1.3.2.js" is present on both, but they are different scripts? could that have anything to do with that? if so, how can it be fixed? Your help is truly appreciated. |
I have the same problem, except for me, both worked fine until I tested fancybox with varying image sizes. The first image clicked would come up fine but when I clicked the arrow to advance the slideshow, the next image wouldn't show up and fancybox's arrows and close buttons didn't show up either.
Have not found solution yet. |
| All times are GMT +1. The time now is 09:46 AM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.