Forum Moderators: open

Message Too Old, No Replies

Box outlines that appear in MSIE on mouseover

How to stop those hover borders which sometimes appear in MSIE

         

JayCee

6:31 pm on Feb 7, 2007 (gmt 0)

10+ Year Member



Thought this would be easy to research and was a common problem, but can't find anything:

Added a Flash movie (using Dreamweaver MX 2004) in a Z-index 3 layer web page (had to make some jpeg elements appear over the flash movie display area). These are pages with external CSS scripts.

Now (with MSIE only, v6), i get a gray border appearing if the mouse traverses that display area (or maybe the div around it).

On another page (no CSS layers this time) get this "border on hover" as well.

Anyone know a fix?

Thanks All!

Trace

8:23 pm on Feb 7, 2007 (gmt 0)

10+ Year Member



Are you referring to the "Click to activate" message that appears when you mouseover the control?

You can try searching for that. [google.com]

[edited by: tedster at 10:12 pm (utc) on Feb. 7, 2007]
[edit reason] turn off graphic smile faces [/edit]

JayCee

7:56 am on Feb 8, 2007 (gmt 0)

10+ Year Member



Thanks Trace!

Knowing what to search for makes all the difference :)

For those who have not encountered this - the easy fix (not thoroughly tested by me, but recommended on several sites):

Under your last Flash object in your HTML, you add this bit of JavaScript:


<script type="text/javascript" src="fixit.js"></script>

Then you use a plain text editor to create the simple external file named "fixit.js", which you upload to your server along with your page.


theObjects = document.getElementsByTagName("object");
for (var i = 0; i < theObjects.length; i++) {
theObjects[i].outerHTML = theObjects[i].outerHTML;
}