oA.mouseover = 'this.style.color:#ffffff';

that may work

 Matt

----- Original Message ----- 
From: "Dave Phipps" <[EMAIL PROTECTED]>
To: "ColdFusion User group" <[EMAIL PROTECTED]>
Sent: Wednesday, November 12, 2003 10:07 AM
Subject: [ cf-dev ] OnMouseover from within function


> Hi,
>
> I have some javascript that generates a menu tree and each menu item can
> have an associated URL.  What I want to do is apply a color change to the
> menu text when I mouseover.  All of the code is within javascript so I
> can't do the usual onMouseover="" etc.
>
> An example of some of the script is:
>
> oA.className = sNodeClass;
>
> This sets the class for the particular element.  What I am trying to
> workout is how to do something like this:
>
> oA.mouseover = "color:#44FF00;"
>
> However this does not work.  Anyone have any ideas?
>
> Thanks
>
> Dave
>
>
> -- 
> ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
>
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> For human help, e-mail: [EMAIL PROTECTED]
>


-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to