Page is a not externally linkable
- Code, Content, and Presentation
-- JavaScript and AJAX
---- New site w javascript errors


rewboss - 1:38 pm on Jul 14, 2002 (gmt 0)


The error is "g.style is not an object", which means that the variable g does not contain the property style.

The function P7AniMagic() should be passed a number of arguments, one of them called el. el should be the name of an HTMLElement object; it may also have a query and then a reference to a window -- like this:

element?window

You're using a frameset (I don't know why), so variable el should contain a reference to the main frame after the ?. That's what you need to test for.


Thread source:: http://www.webmasterworld.com/javascript/155.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com