M
marckatsambis
Hi,
Apologies in advance if this seems long winded and confusing...
I'm trying to make a javascript drop down menu work around multiple
iframes.
The initial page (http://www.redstudioweb.com/client/ars/frames/
photoframe/pf_hwire.htm) is calling 2 iframes. The first is called
'sourceframe' which loads information regarding the sub-menu
selection. The second is called 'galleryframe' which loads a bunch of
thumbnails.
The user can click on a thumbnail which replaces the initial
information page with a larger image into the 'sourceframe'. All of
this works fine, however, if I want to access another page within the
drop down menu after viewing a thumbnails larger image, I get no
response. It is as if the javascript menu has expired/disabled.
I'm fairly convinced it has to be javascript related. What it is I
need to do however, I have no idea.
Below is the portion of the script I'm using that (I think) is not
working:
}
function mmLoadMenus() {
if (window.mm_menu_0222114819_0) return;
window.mm_menu_0222114819_0 = new Menu("root",115,18,"Verdana,
Arial, Helvetica, sans-serif",
10,"#666666","#ffffff","#ffffff","#95de43","center","middle",
0,0,100,-5,7,true,true,true,0,false,false);
mm_menu_0222114819_0.addMenuItem("CAPABILITIES","location='../../
capabilities.htm'");
mm_menu_0222114819_0.hideOnMouseOut=true;
mm_menu_0222114819_0.menuBorder=1;
mm_menu_0222114819_0.menuLiteBgColor='#ffffff';
mm_menu_0222114819_0.menuBorderBgColor='#d8d8d8';
mm_menu_0222114819_0.bgColor='#ffffff';
window.mm_menu_0222115702_1 = new Menu("root",101,18,"Verdana,
Arial, Helvetica, sans-serif",
10,"#666666","#ffffff","#ffffff","#005aab","center","middle",
0,0,100,-5,7,true,true,true,0,false,false);
mm_menu_0222115702_1.addMenuItem("HORIZONTAL WIRE","location='pf_hwire.htm'");
mm_menu_0222115702_1.addMenuItem("VERTICAL WIRE","location='pf_vwire.htm'");
mm_menu_0222115702_1.addMenuItem("GLASS","location='pf_glass.htm'");
mm_menu_0222115702_1.addMenuItem("TUBE","location='pf_tube.htm'");
mm_menu_0222115702_1.addMenuItem("WALL/
HAND RAILS","location='pf_wallhand.htm'");
mm_menu_0222115702_1.addMenuItem("POOL FENCING","location='pf_pool.htm'");
mm_menu_0222115702_1.hideOnMouseOut=true;
mm_menu_0222115702_1.menuBorder=1;
mm_menu_0222115702_1.menuLiteBgColor='#ffffff';
mm_menu_0222115702_1.menuBorderBgColor='#d8d8d8';
mm_menu_0222115702_1.bgColor='#ffffff';
window.mm_menu_0222120744_3 = new Menu("root",61,18,"Verdana, Arial,
Helvetica, sans-serif",
10,"#666666","#ffffff","#ffffff","#ffcb08","center","middle",
0,0,100,-5,7,true,true,true,0,false,false);
mm_menu_0222120744_3.addMenuItem("QUOTES","location='../../
quotes.htm'");
mm_menu_0222120744_3.hideOnMouseOut=true;
mm_menu_0222120744_3.menuBorder=1;
mm_menu_0222120744_3.menuLiteBgColor='#ffffff';
mm_menu_0222120744_3.menuBorderBgColor='#d8d8d8';
mm_menu_0222120744_3.bgColor='#ffffff';
mm_menu_0222120744_3.writeMenus();
} // mmLoadMenus()
//-->
</script>
Please note any regular html links within the initial page will
respond correctly. It is only the "location='page.htm" links within
the script that seem to be effected.
Any ideas?
Cheers,
Apologies in advance if this seems long winded and confusing...
I'm trying to make a javascript drop down menu work around multiple
iframes.
The initial page (http://www.redstudioweb.com/client/ars/frames/
photoframe/pf_hwire.htm) is calling 2 iframes. The first is called
'sourceframe' which loads information regarding the sub-menu
selection. The second is called 'galleryframe' which loads a bunch of
thumbnails.
The user can click on a thumbnail which replaces the initial
information page with a larger image into the 'sourceframe'. All of
this works fine, however, if I want to access another page within the
drop down menu after viewing a thumbnails larger image, I get no
response. It is as if the javascript menu has expired/disabled.
I'm fairly convinced it has to be javascript related. What it is I
need to do however, I have no idea.
Below is the portion of the script I'm using that (I think) is not
working:
}
function mmLoadMenus() {
if (window.mm_menu_0222114819_0) return;
window.mm_menu_0222114819_0 = new Menu("root",115,18,"Verdana,
Arial, Helvetica, sans-serif",
10,"#666666","#ffffff","#ffffff","#95de43","center","middle",
0,0,100,-5,7,true,true,true,0,false,false);
mm_menu_0222114819_0.addMenuItem("CAPABILITIES","location='../../
capabilities.htm'");
mm_menu_0222114819_0.hideOnMouseOut=true;
mm_menu_0222114819_0.menuBorder=1;
mm_menu_0222114819_0.menuLiteBgColor='#ffffff';
mm_menu_0222114819_0.menuBorderBgColor='#d8d8d8';
mm_menu_0222114819_0.bgColor='#ffffff';
window.mm_menu_0222115702_1 = new Menu("root",101,18,"Verdana,
Arial, Helvetica, sans-serif",
10,"#666666","#ffffff","#ffffff","#005aab","center","middle",
0,0,100,-5,7,true,true,true,0,false,false);
mm_menu_0222115702_1.addMenuItem("HORIZONTAL WIRE","location='pf_hwire.htm'");
mm_menu_0222115702_1.addMenuItem("VERTICAL WIRE","location='pf_vwire.htm'");
mm_menu_0222115702_1.addMenuItem("GLASS","location='pf_glass.htm'");
mm_menu_0222115702_1.addMenuItem("TUBE","location='pf_tube.htm'");
mm_menu_0222115702_1.addMenuItem("WALL/
HAND RAILS","location='pf_wallhand.htm'");
mm_menu_0222115702_1.addMenuItem("POOL FENCING","location='pf_pool.htm'");
mm_menu_0222115702_1.hideOnMouseOut=true;
mm_menu_0222115702_1.menuBorder=1;
mm_menu_0222115702_1.menuLiteBgColor='#ffffff';
mm_menu_0222115702_1.menuBorderBgColor='#d8d8d8';
mm_menu_0222115702_1.bgColor='#ffffff';
window.mm_menu_0222120744_3 = new Menu("root",61,18,"Verdana, Arial,
Helvetica, sans-serif",
10,"#666666","#ffffff","#ffffff","#ffcb08","center","middle",
0,0,100,-5,7,true,true,true,0,false,false);
mm_menu_0222120744_3.addMenuItem("QUOTES","location='../../
quotes.htm'");
mm_menu_0222120744_3.hideOnMouseOut=true;
mm_menu_0222120744_3.menuBorder=1;
mm_menu_0222120744_3.menuLiteBgColor='#ffffff';
mm_menu_0222120744_3.menuBorderBgColor='#d8d8d8';
mm_menu_0222120744_3.bgColor='#ffffff';
mm_menu_0222120744_3.writeMenus();
} // mmLoadMenus()
//-->
</script>
Please note any regular html links within the initial page will
respond correctly. It is only the "location='page.htm" links within
the script that seem to be effected.
Any ideas?
Cheers,