Javascript top variable in IE8
Posted
by Jim Rootham
on Stack Overflow
See other posts from Stack Overflow
or by Jim Rootham
Published on 2009-12-05T00:29:44Z
Indexed on
2010/03/25
16:03 UTC
Read the original article
Hit count: 469
ie8
|JavaScript
I am trying to reference a javascript function in a .js file loaded in my main page from an iframe using the 'top' variable. It works in FF, Safari, and IE6 but not in IE8.
The snippet is (assigned to onmouseover):
top.set_image(this, 'images/login_h.png')
Where set_image is my function.
The error is "Object does not support this function"
Also, I have been looking for the definition of top. I can't find it in the ECMAScript specification or the w3schools site and Google is unhelpful (who'da thunk top was a common word?).
© Stack Overflow or respective owner