troubleshooting Question

body onFocus=functionname, not working on IE

Avatar of heise_man
heise_manFlag for Australia asked on
Web Languages and StandardsJavaScriptHTMLAdobe Flash
14 Comments1 Solution841 ViewsLast Modified:
Hi, I'm working on a flash website and am having difficulty figuring out how to have a function triggered when the window becomes active. I am having limited success with:

<body onFocus=myFadeBack();>
*myFadeBack is a function which fades the window on/off depending on whether the window is active or not.

This code works fine with Firefox and Safari, but not Internet Explorer. Is there a way to achieve this in all 3 browsers?

Here is a link of the site (test) in action.

and here are the source files:


Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 14 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 14 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros