Error when viewed in Netscape

G

Guest

I have added Dynamic HTML effects for a rollover on my site. Works great in IE but not in Netscape. Netscape shows the rollover image as a blank box. How can I fix this?
 
T

Thomas A. Rowe

Provide a URL to the page with the problem.

--

==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, Forums, WebCircle,
MS KB Quick Links, etc.
==============================================


R. Donevant said:
I have added Dynamic HTML effects for a rollover on my site. Works great
in IE but not in Netscape. Netscape shows the rollover image as a blank box.
How can I fix this?
 
J

Jim Buyens

-----Original Message-----
I have added Dynamic HTML effects for a rollover on my
site. Works great in IE but not in Netscape. Netscape
shows the rollover image as a blank box. How can I fix
this?

Please post the version of Netscape you're using, and the
URL of your page.

Worst case, add a script to your <head> section such as:

<script language="JavaScript">
var rov1 = new Image(); rov1.src = "../images/rov1.gif"
var rov2 = new Image(); rov2.src = "../images/rov2.gif"
</script>

and then code the rollover picture itself as:

<a href="javascript:;"
onmouseover="document.rovpic.src = eval('rov2.src');"
onmouseout="document.rovpic.src = eval('rov1.src');">
<img name="rovpic" src="../images/rov1.gif" border="0"></a>

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------
 
T

Thomas A. Rowe

Remove the VML graphics (WordArt) and use normal images. VML graphics not
supported in browsers.

--

==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, Forums, WebCircle,
MS KB Quick Links, etc.
==============================================
 
T

Thomas A. Rowe

Sorry, I took a very fast look, but you do have a VML header tag at the top
of your page.

Anyway,since your page does work in NS6.21, and not in NS7, which is par for
NS to change thing that work in prior version, I suggest that you remove
the FP DHTML and use a basic JavaScript Mouseover, such as the sample that
Jim Buyens provided, which should work in all browsers.

--

==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, Forums, WebCircle,
MS KB Quick Links, etc.
==============================================
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top