jquery - jScrollPane Tabs - How to make them fadein/fadeout? -
I have been able to work, how can I make feedin / feedout? I tried to add a delay and a feedi / feed out to Here I tried to modify that code, everything is similar to the code on the jscrollpane site. Any kind of help is appreciated. Maybe this? Do you want to fade? Scroll panel or tab box? if you want to animate the scrollbar ...) show () and
hide () , but this does not work either or this tab Shows where you need it.
& lt; Script type = "text / javascript" id = "sourcecode" & gt; Create $ (function () {// "tab" $ ('tabs') Each (function () {var current tab, ul = $ (this); $ (this) .fund ('a'). Function (i) {var a = $ (this) .bind ('click', function () {if (currentTab) {ul.find ('a.active'). RemoveClass ('active'); $ (currentTab) ) .hide ();} currentTab = $ (this) .addClass ('active') .attr ('href'); $ (currentTab). Show () .jscrollPane (); return false;}); $ (a .attr ('href'). Hide ();});});}); & Lt; / Script & gt;
var a = $ (this) .bind ('click', function () {if (currentTab) {ul.find ('a.active') .removeClass ('active') ; $ (Current tab). Fadeaut ("slow");} current tab = $ (this). AndClass ('active') .try ('href'); $ (current tab) .Fadeine ("slow"). JScrollPane ( ); Return false;});
var a = $ (this) .bind ('click', function () (The current tab). Ul.find ('a.active'). RemoveClass ('active'); $ (current tab) .Fadeaut ("slow");} current tab = $ (this) .addClass ('active' $. () "$" ("Href" "). Permission ({Opacity: 1}, 400); Return Back;});
Comments
Post a Comment