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 show () and hide () , but this does not work either or this tab Shows where you need it.

Here I tried to modify that code, everything is similar to the code on the jscrollpane site.

  & 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;   

Any kind of help is appreciated.

Maybe this? Do you want to fade? Scroll panel or tab box?

  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;});   

if you want to animate the scrollbar ...)

  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

Popular posts from this blog

qt - switch/case statement in C++ with a QString type -

python - sqlite3.OperationalError: near "REFERENCES": syntax error - foreign key creating -

Python's equivalent for Ruby's define_method? -