Thread: OnMouseOver
View Single Post
Old 07-28-2008, 03:33 AM   #8 (permalink)
jamiemac2005
Design Team Member
 
jamiemac2005's Avatar
 
Join Date: Jul 2007
Location: Northampton, UK
Posts: 1,090
OS: Win Vista Home Premium & Ubuntu Hardy(8.04)


Re: OnMouseOver

In theory it should work, but it's a best practice to use "this" as the identifier when you're writing event handlers from the object that you're modifying.

If that didn't work you may have had to use "document.all.normcontroller"/"document.body.normcontroller" but i can't remember which because it's been a while since i coded in that way... And it depends on the browser being used to test the code (because different browsers will handle that code differently (and some will ignore it).

When identifying elements the name attribute is supposed to be going out the window. I'd suggest using an id="normcontroller" and then the code "document.getElementById('normcontroller');" to identify the code in javascript.

Because most browsers understand that code.

Cheers,
Jamey
__________________

Help fight cancer. < I just started =]
jamiemac2005 is offline   Reply With Quote