PDA

View Full Version : Dreamweaver and Netscape Layers


agenthaze
10-03-2005, 07:37 PM
I have designed a site that uses all layers. There are some layers that are hidden and will appear with mouse overs. Internet Explorer shows the hidden layers fine with mouse overs but Netscape does not. Any suggestions to correct this problem would be most helpful.

domedia
10-03-2005, 07:48 PM
You need to show us your code and specify browser versions.

agenthaze
10-03-2005, 11:40 PM
I am using Netscape 7.2 and IE 6.0

Here is the code:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_showHideLayers() { //v6.0
var i,p,v,obj,args=MM_showHideLayers.arguments;
for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
obj.visibility=v; }
}
//-->
</script>
</head>

<body onLoad="MM_showHideLayers('hairsubmenu','','hide','skinsub menu','','hide','nailssubmenu','','hide')">
<span id="home" style="position:absolute; left:17px; top:138px; width:40px; height:15; z-index:1">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="42" height="15">
<param name="BGCOLOR" value="">
<param name="BASE" value=".">
<param name="movie" value="home.swf">
<param name="quality" value="high">
<embed src="home.swf" width="42" height="15" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" base="."></embed></object>
</span> <span id="aboutus" style="position:absolute; left:81px; top:138px; width:61px; height:15px; z-index:2">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="66" height="16" onMouseOver="MM_showHideLayers('hairsubmenu','','hide','skinsub menu','','hide','nailssubmenu','','hide')">
<param name="BGCOLOR" value="">
<param name="movie" value="Flash%20Text/about_us.swf">
<param name="quality" value="high">
<embed src="Flash%20Text/about_us.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="66" height="16"></embed></object>
</span><span id="hair" style="position:absolute; left:172px; top:138px; width:33px; height:15px; z-index:4" onMouseOver="MM_showHideLayers('hairsubmenu','','show','skinsub menu','','hide','nailssubmenu','','hide')">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="32" height="15">
<param name="BGCOLOR" value="">
<param name="movie" value="Flash%20Text/hair.swf">
<param name="quality" value="high">
<embed src="Flash%20Text/hair.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="32" height="15"></embed></object>
</span><span id="skincare" style="position:absolute; left:231px; top:138px; width:64px; height:15px; z-index:5" onMouseOver="MM_showHideLayers('hairsubmenu','','hide','skinsub menu','','show','nailssubmenu','','hide')">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="70" height="16">
<param name="BGCOLOR" value="#FFFFFF">
<param name="movie" value="Flash%20Text/skin_care.swf">
<param name="quality" value="high">
<embed src="Flash%20Text/skin_care.swf" width="70" height="16" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" bgcolor="#FFFFFF"></embed></object>
</span><span id="nails" style="position:absolute; left:331px; top:138px; width:36px; height:16px; z-index:6" onMouseOver="MM_showHideLayers('hairsubmenu','','hide','skinsub menu','','hide','nailssubmenu','','show')">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="36" height="16">
<param name="BGCOLOR" value="">
<param name="movie" value="Flash%20Text/nails.swf">
<param name="quality" value="high">
<embed src="Flash%20Text/nails.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="36" height="16"></embed></object>
</span><span id="massage" style="position:absolute; left:395px; top:138px; width:58px; height:14px; z-index:7" onMouseOver="MM_showHideLayers('hairsubmenu','','hide','skinsub menu','','hide','nailssubmenu','','hide')">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="61" height="18">
<param name="BGCOLOR" value="">
<param name="BASE" value=".">
<param name="movie" value="massage.swf">
<param name="quality" value="high">
<embed src="massage.swf" width="61" height="18" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" base="."></embed></object>
</span><span id="tanning" style="position:absolute; left:484px; top:138px; width:56px; height:16px; z-index:8">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="60" height="18">
<param name="BGCOLOR" value="">
<param name="BASE" value=".">
<param name="movie" value="tanning.swf">
<param name="quality" value="high">
<embed src="tanning.swf" width="60" height="18" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" base="."></embed></object>
</span><span id="contactus" style="position:absolute; left:569px; top:138px; width:69px; height:14px; z-index:9">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="78" height="15">
<param name="BGCOLOR" value="">
<param name="movie" value="Flash%20Text/contact_us.swf">
<param name="quality" value="high">
<embed src="Flash%20Text/contact_us.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="78" height="15"></embed></object>
</span><span id="specials" style="position:absolute; left:672px; top:138px; width:55px; height:17px; z-index:10">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="58" height="19">
<param name="BGCOLOR" value="">
<param name="movie" value="Flash%20Text/specials.swf">
<param name="quality" value="high">
<embed src="Flash%20Text/specials.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="58" height="19"></embed></object>
</span><span id="hairsubmenu" style="position:absolute; left:138px; top:161px; width:107px; height:64px; z-index:11; visibility: hidden;">
<div align="center">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="79" height="14">
<param name="BGCOLOR" value="">
<param name="BASE" value=".">
<param name="movie" value="hair_services.swf">
<param name="quality" value="high">
<embed src="hair_services.swf" width="79" height="14" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" bgcolor="" base="."></embed></object>


<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="71" height="17">
<param name="BGCOLOR" value="">
<param name="BASE" value=".">
<param name="movie" value="stylists.swf">
<param name="quality" value="high">
<embed src="stylists.swf" width="71" height="17" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" bgcolor="" base="."></embed></object>


<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="54" height="14">
<param name="BGCOLOR" value="">
<param name="BASE" value=".">
<param name="movie" value="products.swf">
<param name="quality" value="high">
<embed src="products.swf" width="54" height="14" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" bgcolor="" base="."></embed></object>
</div>
</span><span id="skinsubmenu" style="position:absolute; left:218px; top:160px; width:98px; height:55px; z-index:12; visibility: hidden;">
<div align="center">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="59" height="17">
<param name="BGCOLOR" value="">
<param name="BASE" value=".">
<param name="movie" value="sandy.swf">
<param name="quality" value="high">
<embed src="sandy.swf" width="59" height="17" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" base="."></embed></object>


<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="44" height="16">
<param name="BGCOLOR" value="">
<param name="BASE" value=".">
<param name="movie" value="sue.swf">
<param name="quality" value="high">
<embed src="sue.swf" width="44" height="16" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" base="."></embed></object>
</div>
</span><span id="nailssubmenu" style="position:absolute; left:298px; top:160px; width:100px; height:51px; z-index:13; visibility: hidden;">
<div align="center">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="58" height="17">
<param name="BGCOLOR" value="">
<param name="BASE" value=".">
<param name="movie" value="chelle.swf">
<param name="quality" value="high">
<embed src="chelle.swf" width="58" height="17" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" base="."></embed></object>


<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="54" height="16">
<param name="BGCOLOR" value="">
<param name="BASE" value=".">
<param name="movie" value="maya.swf">
<param name="quality" value="high">
<embed src="maya.swf" width="54" height="16" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" base="."></embed></object>
</div>
</span>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td width="108" height="103" valign="top"><!--DWLayoutEmptyCell--></td>
<td width="663"><div align="right"></div></td>
</tr>
</table>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td width="754" height="25" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td width="754" height="25"></td>
</tr>
</table></td>
</tr>
<tr>
<td height="451" valign="top"> <div align="left">
<blockquote>


</p>
</blockquote>
</div>
<div align="left"><font size="+2" face="Verdana, Arial, Helvetica, sans-serif">

S</font><font face="Verdana, Arial, Helvetica, sans-serif">hylocks
of Fifth Avenue voted into the Pacific Sun "Hall of Fame" has been
serving the bay area for 32 years in new and innovative hair styles. Come
visit us and take care of all your beauty needs.</font></div>
<div align="left">
<p align="left"><font size="+1" face="Verdana, Arial, Helvetica, sans-serif">W</font><font face="Verdana, Arial, Helvetica, sans-serif">e
feature a broad line of products. </font></p>
</div>
<div align="left"><font size="+1" face="Verdana, Arial, Helvetica, sans-serif">

W</font><font face="Verdana, Arial, Helvetica, sans-serif">e create a relaxing
space for all to feel welcomed, listened to and taken care of. Through professionalism
and a committent to our craft, we provide exceptional service to our clients
so they leave feeling beautiful, inspired and satisfied.</font>

<font face="Verdana, Arial, Helvetica, sans-serif">

<font size="+1">C</font>ontact us to make an appointment today!</font></div></td>
</tr>
</table>
</body>
</html>

davidj
10-04-2005, 08:59 AM
i think you would have been better off building the entire site in flash

its a flash overload

can you post a link to the site... Im Intrigued

agenthaze
10-05-2005, 05:52 PM
Ok check it out. IE works just fine but Netscape the rollovers do not work.

http://home.comcast.net/~purplehaze9/ ('http://home.comcast.net/~purplehaze9/')

Thanks

davidj
10-06-2005, 08:29 AM
i dont see any rollovers !

there are no images (only flash banner)