$( function(){ $('#lstFornitore').combobox({ comboboxContainerClass: "comboboxContainer", comboboxValueContentContainerClass: "comboboxValueContainer", comboboxValueContentClass: "comboboxValueContent", comboboxDropDownClass: "comboboxDropDownContainer", comboboxDropDownButtonClass: "comboboxDropDownButton", comboboxDropDownItemClass: "comboboxItem", comboboxDropDownItemHoverClass: "comboboxItemHover", comboboxDropDownGroupItemHeaderClass: "comboboxGroupItemHeader", comboboxDropDownGroupItemContainerClass: "comboboxGroupItemContainer", animationType: "slide" } , { width: "163px" }); $('#contenitore-menu-categorie').jScrollPane({ scrollbarWidth:17, scrollbarMargin:0, showArrows:true, wheelSpeed:24, arrowSize:9 }); $('#sottocategorie').jScrollPane({ scrollbarWidth:17, scrollbarMargin:10, showArrows:true, wheelSpeed:24, arrowSize:9, scrollbarOnLeft:true }); $('#articoli').jScrollPane({ scrollbarWidth:17, scrollbarMargin:7, showArrows:true, wheelSpeed:24, arrowSize:9 }); $(".subcat-arrow").bind("click",function() { $("#conten-sottocat").css({"z-index":200}); $(this).css({"cursor":"default"}); $(this).animate({"left": "117px"}, "fast"); $(this).children(0).fadeIn("fast"); $(this).parent().css({"z-index":999}); }) .bind("mouseleave",function(){ $(this).children(0).fadeOut("fast", function() { $(this).parent().css({"z-index":90}); }); $(this).css({"cursor":"pointer"}); $(this).animate({"left": "96px"}, "fast", function() { $("#conten-sottocat").css({"z-index":80}); }); }) .children().bind("mouseleave",function(){ $(this).fadeOut("fast", function() { $(this).parent().parent().css({"z-index":90}); }); $(this).parent().css({"cursor":"pointer"}); $(this).parent().animate({"left": "96px"}, "fast", function() { $("#conten-sottocat").css({"z-index":80}); }); }); }); function vai() { location.href='http://shop.giustileone.it/fornitore/'+$('#lstFornitore').val(); }