Simple Tree Menu and Chrome
I built a page with a simpe tree menu and it works great in IE. Chrome fills the page with folders. This is my code. What am I doing wrong?
Thanks,
Dave
Code:
<HTML>
<HEAD>
<script type="text/javascript" src="simpletreemenu.js">
/***********************************************
* Simple Tree Menu- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/
</script>
<link rel="stylesheet" type="text/css" href="simpletree.css" />
<TITLE>Refinery Lab Results</TITLE>
</HEAD>
<script Language"JScript">
function callurl(theurl) {
if (theurl.indexOf("&") > 0)
{
theurl = theurl.substring(0,theurl.indexOf("&"))
}
return(theurl + "&numdays=" + document.forms[0].elements[0].value)
}
</script>
<BODY bgcolor="blanchedalmond" bottomMargin=1 leftMargin=0 rightMargin=0 topMargin=2>
<H2 STYLE="font-size: 13pt; COLOR: blue; font-family: verdana" align=center style=> LAB Results </H2>
<Form align="center">
<CENTER>View  <Input type = text name=numdays value = 20 style="width: 30px"></INPUT>  Days</CENTER>
</Form>
<ul id="treemenu1" class="treeview"> <!-- style="margin-left: 0; padding-left: 0.2em;">-->
<li><A onMouseOver="this.style.color='#ff1493'" onMouseOut="this.style.color='#0000FF'">
<U style="CURSOR: hand">North</U></A>
</li>
<ul STYLE="color: blue">
<li><A onMouseOver="this.style.color='#ff1493'" onMouseOut="this.style.color='#0000FF'">
<U style="CURSOR: hand">Crude</U></A>
</li>
<li><A href="distasst.asp?LAB=VAC_CHG,RESID_CRUD,VAC_BTMS" target = "right"
onclick="this.href=callurl(this.href)"
onMouseOver="this.style.color='#ff1493'" onMouseOut="this.style.color='#0000FF'">
<U style="CURSOR: hand">Vacuum</U></A>
</li>
</ul>
</ul>
<script type="text/javascript">
//ddtreemenu.createTree(treeid, enablepersist, opt_persist_in_days (default is 1))
ddtreemenu.createTree("treemenu1", true)
</script>
</BODY>
</HTML>