jQuery - How to translate a Scriptaculous toggle in a jQuery slidetoggle? -
i have simple question (i guess!)
i used work scriptaculous add dom effects pages
use jquery, seems conflict between scriptaculous , jquery
how can translate :
<a href="#" onclick="effect.toggle('header', 'blind', { duration: 1.0 }); return false;">link</a>
to jquery similar effect? (slidetoggle()
maybe?)
<a href="#" onclick="???; return false;">link</a>
thank you!
onclick = "javascript:$('#header').toggle(100);"
assuming have element id header. parameter 100 milliseconds toggle transition. can call slidetoggle().
Comments
Post a Comment