Forums
This topic is locked
OKAY... I narrowed it down... popup menus...
Posted 19 Oct 2001 08:35:21
1
has voted
19 Oct 2001 08:35:21 crazy larry posted:
I created a navigation button (5 of them) for my menu. I added a popup menu for each.This is done in Fireworks.
Preview in IE = works fine
Preview in NS = works fine
Export to directory and open the htm file
with IE = works fine, but the popup menu not exactly where they should be
open with NS = same as IE, works but not is right spot
NOW I open Ultradev and preview in NS, works fine but with wrong placement of popup.
I OPEN IN IE. and the damm popups do not work.
WHY does UD not like IE when it comes to popups.
My follow up post will be the code that when you preview it in UD with NS it works
when you preview it in UD with IE it DOES NOT WORK.
anyone
Replies
Replied 19 Oct 2001 08:35:45
19 Oct 2001 08:35:45 crazy larry replied:
<html>
<head>
<title>try2.gif</title>
<meta http-equiv="Content-Type" content="text/html;">
<!-- Fireworks 4.0 Dreamweaver 4.0 target. Created Fri Oct 19 01:01:00 GMT-0500 (Central Daylight Time) 2001-->
<script language="JavaScript">
<!--
function MM_findObj(n, d) { //v3.0
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); return x;
}
function MM_nbGroup(event, grpName) { //v3.0
var i,img,nbArr,args=MM_nbGroup.arguments;
if (event == "init" && args.length > 2) {
if ((img = MM_findObj(args[2])) != null && !img.MM_init) {
img.MM_init = true; img.MM_up = args[3]; img.MM_dn = img.src;
if ((nbArr = document[grpName]) == null) nbArr = document[grpName] = new Array();
nbArr[nbArr.length] = img;
for (i=4; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
if (!img.MM_up) img.MM_up = img.src;
img.src = img.MM_dn = args[i+1];
nbArr[nbArr.length] = img;
} }
} else if (event == "over" {
document.MM_nbOver = nbArr = new Array();
for (i=1; i < args.length-1; i+=3) if ((img = MM_findObj(args[i])) != null) {
if (!img.MM_up) img.MM_up = img.src;
img.src = (img.MM_dn && args[i+2]) ? args[i+2] : args[i+1];
nbArr[nbArr.length] = img;
}
} else if (event == "out" ) {
for (i=0; i < document.MM_nbOver.length; i++) {
img = document.MM_nbOver[i]; img.src = (img.MM_dn) ? img.MM_dn : img.MM_up; }
} else if (event == "down" {
if ((nbArr = document[grpName]) != null)
for (i=0; i < nbArr.length; i++) { img=nbArr[i]; img.src = img.MM_up; img.MM_dn = 0; }
document[grpName] = nbArr = new Array();
for (i=2; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
if (!img.MM_up) img.MM_up = img.src;
img.src = img.MM_dn = args[i+1];
nbArr[nbArr.length] = img;
} }
}
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#"!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function fwLoadMenus() {
if (window.fw_menu_0) return;
window.fw_menu_0 = new Menu("root",108,19,"Verdana, Arial, Helvetica, sans-serif",12,"#2928bd","#ffffff","#33ff66","#0033ff"
fw_menu_0.addMenuItem("The Owners","location='xyxurl'"
fw_menu_0.addMenuItem("Our History","location='url'"
fw_menu_0.fontWeight="bold";
fw_menu_0.hideOnMouseOut=true;
window.fw_menu_1 = new Menu("root",130,19,"Verdana, Arial, Helvetica, sans-serif",12,"#2928bd","#ffffff","#33ff66","#0033ff"
fw_menu_1.addMenuItem("View Our Store","location='url'"
fw_menu_1.addMenuItem("Look at Map","location='url'"
fw_menu_1.fontWeight="bold";
fw_menu_1.hideOnMouseOut=true;
window.fw_menu_2 = new Menu("root",109,19,"Verdana, Arial, Helvetica, sans-serif",12,"#2a2abb","#ffffff","#33ff66","#0000ff"
fw_menu_2.addMenuItem("Crystal","location='url'"
fw_menu_2.addMenuItem("Porcelian","location='url'"
fw_menu_2.addMenuItem("China","location='url'"
fw_menu_2.addMenuItem("Stemware","location='url'"
fw_menu_2.addMenuItem("Home Decor","location='url'"
fw_menu_2.fontWeight="bold";
fw_menu_2.hideOnMouseOut=true;
window.fw_menu_3 = new Menu("root",106,19,"Verdana, Arial, Helvetica, sans-serif",12,"#2a2abb","#ffffff","#33ff66","#0000ff"
fw_menu_3.addMenuItem("History","location='url'"
fw_menu_3.addMenuItem("Itinerary","location='url'"
fw_menu_3.addMenuItem("Pictures","location='url'"
fw_menu_3.addMenuItem("Information","location='url'"
fw_menu_3.fontWeight="bold";
fw_menu_3.hideOnMouseOut=true;
window.fw_menu_4 = new Menu("root",163,19,"Verdana, Arial, Helvetica, sans-serif",12,"#2a2abb","#ffffff","#33ff66","#0000ff"
fw_menu_4.addMenuItem("Request Information","location='url'"
fw_menu_4.addMenuItem("Register","location='url'"
fw_menu_4.fontWeight="bold";
fw_menu_4.hideOnMouseOut=true;
fw_menu_4.writeMenus();
} // fwLoadMenus()
//-->
</script>
<script language="JavaScript1.2" src="../pages/fw_menu.js"></script>
</head>
<body bgcolor="#ffffff">
<script language="JavaScript1.2">fwLoadMenus();</script>
<table border="0" cellpadding="0" cellspacing="0" width="1200">
<!-- fwtable fwsrc="try2.png" fwbase="try2.gif" fwstyle="Dreamweaver" fwdocid = "742308039" fwnested="0" -->
<tr>
<td><img src="../images/spacer.gif" width="200" height="1" border="0"></td>
<td><img src="../images/spacer.gif" width="88" height="1" border="0"></td>
<td><img src="../images/spacer.gif" width="87" height="1" border="0"></td>
<td><img src="../images/spacer.gif" width="87" height="1" border="0"></td>
<td><img src="../images/spacer.gif" width="87" height="1" border="0"></td>
<td><img src="../images/spacer.gif" width="89" height="1" border="0"></td>
<td><img src="../images/spacer.gif" width="562" height="1" border="0"></td>
<td><img src="../images/spacer.gif" width="1" height="1" border="0"></td>
</tr>
<tr>
<td colspan="7"><img src="../images/spacer.gif" width="1200" height="68" border="0"></td>
<td><img src="../images/spacer.gif" width="1" height="68" border="0"></td>
</tr>
<tr>
<td rowspan="2"><img src="../images/spacer.gif" width="200" height="1132" border="0"></td>
<td><a href="#" onMouseOut="MM_nbGroup('out');FW_startTimeout();" onMouseOver="window.FW_showMenu(window.fw_menu_0,200,100);MM_nbGroup('over','try2_r2_c2','../images/try2_r2_c2_f2.gif','../images/try2_r2_c2_f4.gif',1);" onClick="MM_nbGroup('down','navbar1','try2_r2_c2','../images/try2_r2_c2_f3.gif',1);" ><img name="try2_r2_c2" src="../images/try2_r2_c2.gif" width="88" height="32" border="0"></a></td>
<td><a href="#" onMouseOut="MM_nbGroup('out');FW_startTimeout();" onMouseOver="window.FW_showMenu(window.fw_menu_1,288,100);MM_nbGroup('over','try2_r2_c3','../images/try2_r2_c3_f2.gif','../images/try2_r2_c3_f4.gif',1);" onClick="MM_nbGroup('down','navbar1','try2_r2_c3','../images/try2_r2_c3_f3.gif',1);" ><img name="try2_r2_c3" src="../images/try2_r2_c3.gif" width="87" height="32" border="0"></a></td>
<td><a href="#" onMouseOut="MM_nbGroup('out');FW_startTimeout();" onMouseOver="window.FW_showMenu(window.fw_menu_2,375,100);MM_nbGroup('over','try2_r2_c4','../images/try2_r2_c4_f2.gif','../images/try2_r2_c4_f4.gif',1);" onClick="MM_nbGroup('down','navbar1','try2_r2_c4','../images/try2_r2_c4_f3.gif',1);" ><img name="try2_r2_c4" src="../images/try2_r2_c4.gif" width="87" height="32" border="0"></a></td>
<td><a href="#" onMouseOut="MM_nbGroup('out');FW_startTimeout();" onMouseOver="window.FW_showMenu(window.fw_menu_3,462,100);MM_nbGroup('over','try2_r2_c5','../images/try2_r2_c5_f2.gif','../images/try2_r2_c5_f4.gif',1);" onClick="MM_nbGroup('down','navbar1','try2_r2_c5','../images/try2_r2_c5_f3.gif',1);" ><img name="try2_r2_c5" src="../images/try2_r2_c5.gif" width="87" height="32" border="0"></a></td>
<td><a href="#" onMouseOut="MM_nbGroup('out');FW_startTimeout();" onMouseOver="window.FW_showMenu(window.fw_menu_4,549,100);MM_nbGroup('over','try2_r2_c6','../images/try2_r2_c6_f2.gif','../images/try2_r2_c6_f4.gif',1);" onClick="MM_nbGroup('down','navbar1','try2_r2_c6','../images/try2_r2_c6_f3.gif',1);" ><img name="try2_r2_c6" src="../images/try2_r2_c6.gif" width="89" height="32" border="0"></a></td>
<td rowspan="2"><img src="../images/spacer.gif" width="562" height="1132" border="0"></td>
<td><img src="../images/spacer.gif" width="1" height="32" border="0"></td>
</tr>
<tr>
<td colspan="5"><img src="../images/spacer.gif" width="438" height="1100" border="0"></td>
<td><img src="../images/spacer.gif" width="1" height="1100" border="0"></td>
</tr>
</table>
</body>
</html>
<head>
<title>try2.gif</title>
<meta http-equiv="Content-Type" content="text/html;">
<!-- Fireworks 4.0 Dreamweaver 4.0 target. Created Fri Oct 19 01:01:00 GMT-0500 (Central Daylight Time) 2001-->
<script language="JavaScript">
<!--
function MM_findObj(n, d) { //v3.0
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); return x;
}
function MM_nbGroup(event, grpName) { //v3.0
var i,img,nbArr,args=MM_nbGroup.arguments;
if (event == "init" && args.length > 2) {
if ((img = MM_findObj(args[2])) != null && !img.MM_init) {
img.MM_init = true; img.MM_up = args[3]; img.MM_dn = img.src;
if ((nbArr = document[grpName]) == null) nbArr = document[grpName] = new Array();
nbArr[nbArr.length] = img;
for (i=4; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
if (!img.MM_up) img.MM_up = img.src;
img.src = img.MM_dn = args[i+1];
nbArr[nbArr.length] = img;
} }
} else if (event == "over" {
document.MM_nbOver = nbArr = new Array();
for (i=1; i < args.length-1; i+=3) if ((img = MM_findObj(args[i])) != null) {
if (!img.MM_up) img.MM_up = img.src;
img.src = (img.MM_dn && args[i+2]) ? args[i+2] : args[i+1];
nbArr[nbArr.length] = img;
}
} else if (event == "out" ) {
for (i=0; i < document.MM_nbOver.length; i++) {
img = document.MM_nbOver[i]; img.src = (img.MM_dn) ? img.MM_dn : img.MM_up; }
} else if (event == "down" {
if ((nbArr = document[grpName]) != null)
for (i=0; i < nbArr.length; i++) { img=nbArr[i]; img.src = img.MM_up; img.MM_dn = 0; }
document[grpName] = nbArr = new Array();
for (i=2; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
if (!img.MM_up) img.MM_up = img.src;
img.src = img.MM_dn = args[i+1];
nbArr[nbArr.length] = img;
} }
}
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#"!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function fwLoadMenus() {
if (window.fw_menu_0) return;
window.fw_menu_0 = new Menu("root",108,19,"Verdana, Arial, Helvetica, sans-serif",12,"#2928bd","#ffffff","#33ff66","#0033ff"
fw_menu_0.addMenuItem("The Owners","location='xyxurl'"
fw_menu_0.addMenuItem("Our History","location='url'"
fw_menu_0.fontWeight="bold";
fw_menu_0.hideOnMouseOut=true;
window.fw_menu_1 = new Menu("root",130,19,"Verdana, Arial, Helvetica, sans-serif",12,"#2928bd","#ffffff","#33ff66","#0033ff"
fw_menu_1.addMenuItem("View Our Store","location='url'"
fw_menu_1.addMenuItem("Look at Map","location='url'"
fw_menu_1.fontWeight="bold";
fw_menu_1.hideOnMouseOut=true;
window.fw_menu_2 = new Menu("root",109,19,"Verdana, Arial, Helvetica, sans-serif",12,"#2a2abb","#ffffff","#33ff66","#0000ff"
fw_menu_2.addMenuItem("Crystal","location='url'"
fw_menu_2.addMenuItem("Porcelian","location='url'"
fw_menu_2.addMenuItem("China","location='url'"
fw_menu_2.addMenuItem("Stemware","location='url'"
fw_menu_2.addMenuItem("Home Decor","location='url'"
fw_menu_2.fontWeight="bold";
fw_menu_2.hideOnMouseOut=true;
window.fw_menu_3 = new Menu("root",106,19,"Verdana, Arial, Helvetica, sans-serif",12,"#2a2abb","#ffffff","#33ff66","#0000ff"
fw_menu_3.addMenuItem("History","location='url'"
fw_menu_3.addMenuItem("Itinerary","location='url'"
fw_menu_3.addMenuItem("Pictures","location='url'"
fw_menu_3.addMenuItem("Information","location='url'"
fw_menu_3.fontWeight="bold";
fw_menu_3.hideOnMouseOut=true;
window.fw_menu_4 = new Menu("root",163,19,"Verdana, Arial, Helvetica, sans-serif",12,"#2a2abb","#ffffff","#33ff66","#0000ff"
fw_menu_4.addMenuItem("Request Information","location='url'"
fw_menu_4.addMenuItem("Register","location='url'"
fw_menu_4.fontWeight="bold";
fw_menu_4.hideOnMouseOut=true;
fw_menu_4.writeMenus();
} // fwLoadMenus()
//-->
</script>
<script language="JavaScript1.2" src="../pages/fw_menu.js"></script>
</head>
<body bgcolor="#ffffff">
<script language="JavaScript1.2">fwLoadMenus();</script>
<table border="0" cellpadding="0" cellspacing="0" width="1200">
<!-- fwtable fwsrc="try2.png" fwbase="try2.gif" fwstyle="Dreamweaver" fwdocid = "742308039" fwnested="0" -->
<tr>
<td><img src="../images/spacer.gif" width="200" height="1" border="0"></td>
<td><img src="../images/spacer.gif" width="88" height="1" border="0"></td>
<td><img src="../images/spacer.gif" width="87" height="1" border="0"></td>
<td><img src="../images/spacer.gif" width="87" height="1" border="0"></td>
<td><img src="../images/spacer.gif" width="87" height="1" border="0"></td>
<td><img src="../images/spacer.gif" width="89" height="1" border="0"></td>
<td><img src="../images/spacer.gif" width="562" height="1" border="0"></td>
<td><img src="../images/spacer.gif" width="1" height="1" border="0"></td>
</tr>
<tr>
<td colspan="7"><img src="../images/spacer.gif" width="1200" height="68" border="0"></td>
<td><img src="../images/spacer.gif" width="1" height="68" border="0"></td>
</tr>
<tr>
<td rowspan="2"><img src="../images/spacer.gif" width="200" height="1132" border="0"></td>
<td><a href="#" onMouseOut="MM_nbGroup('out');FW_startTimeout();" onMouseOver="window.FW_showMenu(window.fw_menu_0,200,100);MM_nbGroup('over','try2_r2_c2','../images/try2_r2_c2_f2.gif','../images/try2_r2_c2_f4.gif',1);" onClick="MM_nbGroup('down','navbar1','try2_r2_c2','../images/try2_r2_c2_f3.gif',1);" ><img name="try2_r2_c2" src="../images/try2_r2_c2.gif" width="88" height="32" border="0"></a></td>
<td><a href="#" onMouseOut="MM_nbGroup('out');FW_startTimeout();" onMouseOver="window.FW_showMenu(window.fw_menu_1,288,100);MM_nbGroup('over','try2_r2_c3','../images/try2_r2_c3_f2.gif','../images/try2_r2_c3_f4.gif',1);" onClick="MM_nbGroup('down','navbar1','try2_r2_c3','../images/try2_r2_c3_f3.gif',1);" ><img name="try2_r2_c3" src="../images/try2_r2_c3.gif" width="87" height="32" border="0"></a></td>
<td><a href="#" onMouseOut="MM_nbGroup('out');FW_startTimeout();" onMouseOver="window.FW_showMenu(window.fw_menu_2,375,100);MM_nbGroup('over','try2_r2_c4','../images/try2_r2_c4_f2.gif','../images/try2_r2_c4_f4.gif',1);" onClick="MM_nbGroup('down','navbar1','try2_r2_c4','../images/try2_r2_c4_f3.gif',1);" ><img name="try2_r2_c4" src="../images/try2_r2_c4.gif" width="87" height="32" border="0"></a></td>
<td><a href="#" onMouseOut="MM_nbGroup('out');FW_startTimeout();" onMouseOver="window.FW_showMenu(window.fw_menu_3,462,100);MM_nbGroup('over','try2_r2_c5','../images/try2_r2_c5_f2.gif','../images/try2_r2_c5_f4.gif',1);" onClick="MM_nbGroup('down','navbar1','try2_r2_c5','../images/try2_r2_c5_f3.gif',1);" ><img name="try2_r2_c5" src="../images/try2_r2_c5.gif" width="87" height="32" border="0"></a></td>
<td><a href="#" onMouseOut="MM_nbGroup('out');FW_startTimeout();" onMouseOver="window.FW_showMenu(window.fw_menu_4,549,100);MM_nbGroup('over','try2_r2_c6','../images/try2_r2_c6_f2.gif','../images/try2_r2_c6_f4.gif',1);" onClick="MM_nbGroup('down','navbar1','try2_r2_c6','../images/try2_r2_c6_f3.gif',1);" ><img name="try2_r2_c6" src="../images/try2_r2_c6.gif" width="89" height="32" border="0"></a></td>
<td rowspan="2"><img src="../images/spacer.gif" width="562" height="1132" border="0"></td>
<td><img src="../images/spacer.gif" width="1" height="32" border="0"></td>
</tr>
<tr>
<td colspan="5"><img src="../images/spacer.gif" width="438" height="1100" border="0"></td>
<td><img src="../images/spacer.gif" width="1" height="1100" border="0"></td>
</tr>
</table>
</body>
</html>
Replied 19 Oct 2001 09:13:19
19 Oct 2001 09:13:19 Viktor Farcic replied:
If you want to make your life little easier, don't use export to web feature in Fireworks. It make nothing but trouble. Create images, put them on the page by yourself and finish the job.
Replied 19 Oct 2001 17:35:54
19 Oct 2001 17:35:54 crazy larry replied:
So other people have these same problems!!!
It is nothing I'm doing wrong, its the software that is the problem. It does not work like it is supposed too.
Whewwww... I can deal with that.
It is nothing I'm doing wrong, its the software that is the problem. It does not work like it is supposed too.
Whewwww... I can deal with that.