Thursday 15 July 2010

javascript - change hover function into click function in jquery accordian -


Actually working on this accordian, I want to change this accordian hover click funation. But whenever I got some errors..If anyone has to change the hover function in the onclick function ... I am pasting the full code here ....

  & Lt; Script type = "text / javascript" & gt; $ (Function () {$ ('#Edarean & gt; Lee'). Hover (function () {var $ this = $ (this); $ this.stop (). Animate ({'width': '480px' }, $ ('Heading', $ this) .stop (true, true) .fedaut (); $ ('.bzdescriptions', $ this) .stop (true, true) .Sliddown (500); $ ('. Description', $ this) .stop (true, true) .FadeIn ();}, function () {var $ this = $ (this); $ this.stop (). Animate ({'width': '115px'}, 1000); $ ('.heading', $ this). Stop (true, true) .Fedine (); $ ('Description', $ this). Stop (true, true). FadeOut (500); $ ('BidDescription', $ This). Stop (True, True) .slideUp (700);});}); & Lt; / Script & gt;   

  Lt; Ul class = "aadrian" id = "aceian" & gt; & Lt; Li class = "bg1" & gt; & Lt; Div class = "heading" & gt; Guler & lt; / Div & gt; & Lt; Div class = "bgDescription" & gt; & Lt; / Div & gt; & Lt; Div class = "description" & gt; & Lt; H2 & gt; Guler & lt; / H2 & gt; & Lt; P & gt; This website has been automatically translated. To go to some places, we can not leave any work to get rid of our work. Lewis once again reversed once again and lit up again. / P & gt; & Lt; A href = "#" & gt; More & amp; Rarr; & Lt; / A & gt; & Lt; / Div & gt; & Lt; / Li & gt; & Lt; Li class = "bg2" & gt; & Lt; Div class = "heading" & gt; Philips & lt; / Div & gt; & Lt; Div class = "bgDescription" & gt; & Lt; / Div & gt; & Lt; Div class = "description" & gt; & Lt; H2 & gt; Philips & lt; / H2 & gt; & Lt; P & gt; It is completely an error that fixes all attempts to destroy all errors while harming all errors, and everyone realizes that they really know about incredible discoveries and they find out That architecture was described around life. & Lt; / P & gt; & Lt; A href = "#" & gt; More & amp; Rarr; & Lt; / A & gt; & Lt; / Div & gt; & Lt; / Li & gt; & Lt; Li class = "bg3" & gt; & Lt; Div class = "heading" & gt; Diamanti & lt; / Div & gt; & Lt; Div class = "bgDescription" & gt; & Lt; / Div & gt; & Lt; Div class = "description" & gt; & Lt; H2 & gt; Deemanti & lt; / H2 & gt; & Lt; P & gt; This website has been automatically translated. To go to some places, we can not leave any work to get rid of our work. Lewis once again reversed once again and lit up again. / P & gt; & Lt; A href = "#" & gt; More & amp; Rarr; & Lt; / A & gt; & Lt; / Div & gt; & Lt; / Li & gt; & Lt; Li class = "bg4 explosion" & gt; & Lt; Div class = "heading" & gt; McLangeon & lt; / Div & gt; & Lt; Div class = "bgDescription" & gt; & Lt; / Div & gt; & Lt; Div class = "description" & gt; & Lt; H2 & gt; Meiklejohn & lt; / H2 & gt; & Lt; P & gt; It is completely an error that fixes all attempts to destroy all errors while harming all errors, and everyone realizes that they really know about incredible discoveries and they find out That architecture was described around life. Suitable for invitation to Nimoji, but they are very good or used to leave them, but even then they are largely associated with breeds. & Lt; / P & gt; & Lt; A href = "#" & gt; More & amp; Rarr; & Lt; / A & gt; & Lt; / Div & gt; & Lt; / Li & gt; & Lt; / Ul & gt; & Lt; / Div & gt; Call the active API for Acadian:  
  $ (Function () {$ ('#Edarean & gt; Lee'). Hover (function () {$ ('# empardian') .Edrian ('option', 'active', $ (this). );}, Function () {$ ('# empardian'). Andrean ('option', 'active', wrong);});});    

No comments:

Post a Comment