issue with lightbox + easing plugin
Hello,
I've a issue using jquery lightbox plugin and a menu with easing plugin.
In my console i dont have any errors so i think that all my plugins installed works. The issue is about how its work.
I need showing my menù with a jquery easing effect (like a carousel) and my gallery's immage with a lightbox effect but, when i have the both plugin activated all my sites work ONLY with the easing effect. My menù work well with the easing effect but also if i click for opening an immage on my gallery it show up with the easing effect.
If i deactivate the easing plugin script i can show immages with the lightbox effect but the menu not work anymore in easing mode.
This is my codes:
- <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
- <script type='text/javascript' src='../js/queryLoader.js'></script>
- <script type="text/javascript" src="../js/lb/jquery.lightbox-0.5.js"></script>
- <script type="text/javascript" src="../js/menu/jquery.easing.1.3.js"></script>
- <script type="text/javascript" src="../js/menu/script.js"></script>
- <!-- jQuery lightBox plugin -->
- <script type="text/javascript">
- $(document).ready(function() {
- $('.sub-menu').css("display","none");
- $(function() {
- $('#gallery a').lightBox({fixedNavigation:true});
- });
- });
- </script>
script.js for easing plugin:
- $(document).ready(function(){
- $.easing.def = "easeOutBounce";
- $('li.titolo a').click(function(e){
- var subMenu = $(this).parent().next();
- $('.sub-menu').not(subMenu).slideUp('slow');
- subMenu.stop(false,true).slideToggle('slow');
- e.preventDefault();
- })
- });
MENU:
- <ul class="container">
<li class="menu">
- <ul>
- <li class="titolo"><a href="#" class="green">Menu</a></li>
-
- <li class="sub-menu">
- <ul>
- <li><a href="../index.html">Home</a></li>
- <li><a href="../chisiamo.html">Chi Siamo</a></li>
- <li><a href="../servizi.html">I Nostri Servizi</a></li>
- </ul>
- </li>
- </ul>
- </li>
- etc...
- </ul>
GALLERY:
- <div id="gallery">
- <ul>
- <li>
- <a href="photos/image1.jpg" title="Descrizione immagine 1">
- <img src="photos/thumb_image1.jpg" width="102" height="102" alt="" />
- </a>
- </li>
- </div>
Sorry for my english i hope somebody have understand my issue and can help me :P
Thanks!
Daniele.