FRIHOSTFORUMSSEARCHFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

Problem with onblur event in iframes with IE.

 


toughtrio
What I simply need to do is on the onblur event OF a page, I need to change the location of the page. I can simply do this, cross-compatible with

if (typeof window.attachEvent != 'undefined') {
// this works for IE
window.attachEvent('onblur', doit);
} else if (typeof window.addEventListener != 'undefined') {
// this works for firefox
window.addEventListener('blur', doit, false);
}

However, when I use THIS page in an IFrame on another page, it doesn't seem to work with IE.. All other browsers seem to function properly, but IE doesn't call the onblur function at the event of a new page opening when a hyperlink is clicked. I don't know how to solve it.


Warm Regards,
escritor
Change location onblur? I can't think of a good use for it... What's your aim? Smile
Related topics

Different View CSS Problem with Firefox, opera, IE , mozilla
Problem in Div with IE
GIF and JPEG.
My Small lil blog.
I need a fool-proof anti-source view javascript.

Error connecting to mysql ; please help
Test/Experimental Design
Google problems
My Forums
detect if user click [STOP] in FireFox

Line break, word wrap, HELP!!!
my photography site - finished!
Are you scared of black holes on Earth?
CSS div alignment issue, IE and FF (newbie problem)
IE 6 problem (bugs me off)
Reply to topic    Frihost Forum Index -> Scripting -> Html, CSS and Javascript

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.