Results 1 to 1 of 1

Thread: Simple Tree Menu and Chrome

  1. #1
    Join Date
    Aug 2020
    Thanked 0 Times in 0 Posts

    Default 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?

    <script type="text/javascript" src="simpletreemenu.js">
    * Simple Tree Menu-  Dynamic Drive DHTML code library (
    * This notice MUST stay intact for legal use
    * Visit Dynamic Drive at for full source code
    <link rel="stylesheet" type="text/css" href="simpletree.css" />
    <TITLE>Refinery Lab Results</TITLE>
    <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)
    <BODY bgcolor="blanchedalmond" bottomMargin=1 leftMargin=0 rightMargin=0 topMargin=2>
    <H2 STYLE="font-size: 13pt; COLOR: blue; font-family: verdana" align=center style=>&nbsp; LAB Results </H2>
    <Form align="center">
    <CENTER>View &nbsp<Input type = text name=numdays value = 20 style="width: 30px"></INPUT>&nbsp Days</CENTER>
    <ul id="treemenu1" class="treeview"> <!-- style="margin-left: 0; padding-left: 0.2em;">-->
    	<li><A onMouseOver="'#ff1493'" onMouseOut="'#0000FF'">
    		<U style="CURSOR: hand">North</U></A>
    		<ul STYLE="color: blue">				
    				<li><A onMouseOver="'#ff1493'" onMouseOut="'#0000FF'">
    					<U style="CURSOR: hand">Crude</U></A>
    				<li><A  href="distasst.asp?LAB=VAC_CHG,RESID_CRUD,VAC_BTMS" target = "right"
    						onMouseOver="'#ff1493'" onMouseOut="'#0000FF'">
    						<U style="CURSOR: hand">Vacuum</U></A>
    <script type="text/javascript">
    //ddtreemenu.createTree(treeid, enablepersist, opt_persist_in_days (default is 1))
    ddtreemenu.createTree("treemenu1", true)
    Last edited by james438; 08-05-2020 at 05:48 AM.

Similar Threads

  1. tree menu (Simple Tree Menu #1 (persist enabled)
    By sandra in forum Dynamic Drive scripts help
    Replies: 0
    Last Post: 08-01-2010, 06:17 AM
  2. Help with Simple Tree Menu & IE7
    By TueyMpls in forum Dynamic Drive scripts help
    Replies: 5
    Last Post: 05-06-2010, 02:25 PM
  3. Resolved Problem with "Simple Tree Menu" in Google Chrome
    By tory in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 04-26-2010, 07:57 AM
  4. Simple Tree Menu Help
    By sowjanya in forum Dynamic Drive scripts help
    Replies: 1
    Last Post: 09-10-2007, 11:22 PM
  5. Simple Tree Menu: $50-$100 to anyone who can help out!!
    By BeauCoder in forum Dynamic Drive scripts help
    Replies: 10
    Last Post: 03-05-2007, 08:59 PM


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts