javascript - jQuery like image swap in YUI -
I'm trying to replicate a simple hover effect in YUI, just like you want with jQuery, but its a little bit C deceptive As is in jquery:
$ ('.hoverclass'). Hover (function {$ (this) .addClass ('up');}, function () {$ (this) .removeClass ('up');});
How to do any indicators in YUI
thanks.
Why do you also need JS for this? Can not you use CSS for this?
Well, try this advert for this sample by mistake
JS is the most interest you
(yui module detecion For this, there is some other code in this comment, / * HOVER CODE * /
)
Comments
Post a Comment