Hello, all.<br>
<br>
I would like to use <A HREF=" TARGET="_new"> hierarchical menus code (below) to generate form output (preferably e-mailable). Specifically, I would like it to operate as sort of a shopping cart- each menu item leading to categorized products which could be put into an array of all selected products. Is this possible? I'm a JavaScript newbie in the strongest sense.<br>
<br>
Here's the code. (hierArrays.js and hierMenus.js are not included. Are they necessary to answer my question?)<br>
<br>
<html><br>
<head><br>
<title><br>
Heirarchical Menus<br>
</title><br>
<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript"><!--<br>
NS4 = (document.layers); IE4 = (document.all); ver4 = (NS4 ¦¦ IE4); <br>
isMac = (navigator.appVersion.indexOf("Mac" != -1);<br>
isMenu = (NS4 ¦¦ (IE4 && !isMac));function popUp(){return};<br>
function popDown(){return};if (!ver4) event = null;//--></SCRIPT><br>
<br>
<br>
<SCRIPT LANGUAGE="JavaScript1.2" TYPE="text/javascript"><br>
<!--<br>
<br>
if (isMenu) {<br>
menuVersion = 3;<br>
<br>
menuWidth = 120;<br>
childOverlap = 50;<br>
childOffset = 5;<br>
perCentOver = null;<br>
secondsVisible = .5;<br>
<br>
fntCol = "blue";<br>
fntSiz = "10";<br>
fntBold = false;<br>
fntItal = false;<br>
fntFam = "sans-serif";<br>
<br>
backCol = "#DDDDDD";<br>
overCol = "#FFCCCC";<br>
overFnt = "purple";<br>
<br>
borWid = 2;<br>
borCol = "black";<br>
borSty = "solid";<br>
itemPad = 3;<br>
<br>
imgSrc = "<A HREF=" TARGET="_new"> imgSiz = 10;<br>
<br>
separator = 1;<br>
separatorCol = "red";<br>
<br>
isFrames = false; // <-- IMPORTANT for full window<br>
navFrLoc = "left"; // <-- display. see below<br>
<br>
keepHilite = true; <br>
NSfontOver = true;<br>
clickStart = true;<br>
clickKill = true;<br>
}<br>
<br>
//--><br>
</SCRIPT><br>
<br>
<br>
<script language="JavaScript1.2" type="text/javascript"><br>
<!--<br>
if(isMenu) {<br>
document.write("<SCRIPT LANGUAGE='JavaScript1.2' SRC='hierArrays.js'><\/SCRIPT>"<br>
document.write("<SCRIPT LANGUAGE='JavaScript1.2' SRC='hierMenus.js'><\/SCRIPT>"<br>
}<br>
//--><br>
</script><br>
</head><br>
<body><br>
<A HREF="/" onMouseOver="popUp('elMenu1',event)"<br>
onMouseOut="popDown('elMenu1')">Webreference</A><A HREF="/index2.html"<br>
onMouseOver="popUp('elMenu2',event)"<br>
onMouseOut="popDown('elMenu2')">Contents</A><br>
</body><br>
</html><br>
<br>
I would like to use <A HREF=" TARGET="_new"> hierarchical menus code (below) to generate form output (preferably e-mailable). Specifically, I would like it to operate as sort of a shopping cart- each menu item leading to categorized products which could be put into an array of all selected products. Is this possible? I'm a JavaScript newbie in the strongest sense.<br>
<br>
Here's the code. (hierArrays.js and hierMenus.js are not included. Are they necessary to answer my question?)<br>
<br>
<html><br>
<head><br>
<title><br>
Heirarchical Menus<br>
</title><br>
<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript"><!--<br>
NS4 = (document.layers); IE4 = (document.all); ver4 = (NS4 ¦¦ IE4); <br>
isMac = (navigator.appVersion.indexOf("Mac" != -1);<br>
isMenu = (NS4 ¦¦ (IE4 && !isMac));function popUp(){return};<br>
function popDown(){return};if (!ver4) event = null;//--></SCRIPT><br>
<br>
<br>
<SCRIPT LANGUAGE="JavaScript1.2" TYPE="text/javascript"><br>
<!--<br>
<br>
if (isMenu) {<br>
menuVersion = 3;<br>
<br>
menuWidth = 120;<br>
childOverlap = 50;<br>
childOffset = 5;<br>
perCentOver = null;<br>
secondsVisible = .5;<br>
<br>
fntCol = "blue";<br>
fntSiz = "10";<br>
fntBold = false;<br>
fntItal = false;<br>
fntFam = "sans-serif";<br>
<br>
backCol = "#DDDDDD";<br>
overCol = "#FFCCCC";<br>
overFnt = "purple";<br>
<br>
borWid = 2;<br>
borCol = "black";<br>
borSty = "solid";<br>
itemPad = 3;<br>
<br>
imgSrc = "<A HREF=" TARGET="_new"> imgSiz = 10;<br>
<br>
separator = 1;<br>
separatorCol = "red";<br>
<br>
isFrames = false; // <-- IMPORTANT for full window<br>
navFrLoc = "left"; // <-- display. see below<br>
<br>
keepHilite = true; <br>
NSfontOver = true;<br>
clickStart = true;<br>
clickKill = true;<br>
}<br>
<br>
//--><br>
</SCRIPT><br>
<br>
<br>
<script language="JavaScript1.2" type="text/javascript"><br>
<!--<br>
if(isMenu) {<br>
document.write("<SCRIPT LANGUAGE='JavaScript1.2' SRC='hierArrays.js'><\/SCRIPT>"<br>
document.write("<SCRIPT LANGUAGE='JavaScript1.2' SRC='hierMenus.js'><\/SCRIPT>"<br>
}<br>
//--><br>
</script><br>
</head><br>
<body><br>
<A HREF="/" onMouseOver="popUp('elMenu1',event)"<br>
onMouseOut="popDown('elMenu1')">Webreference</A><A HREF="/index2.html"<br>
onMouseOver="popUp('elMenu2',event)"<br>
onMouseOut="popDown('elMenu2')">Contents</A><br>
</body><br>
</html><br>