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

Popular posts from this blog

asp.net - Javascript/DOM Why is does my form not support submit()? -

sockets - Delphi: TTcpServer, connection reset when reading -

javascript - Classic ASP "ExecuteGlobal" statement acting differently on two servers -