badblu
09-10-2005, 05:28 AM
I my dhtml menu that i have created to be on my VBA CMPS index page.
I just dont understand on what i should do.
You can see the box i made called test 1 on my home page at www.aus-scifi.com but its not loading the code i am using in this box is
<html>
<head>
<script type="text/javascript" language="JavaScript1.2" src="stm31.js"></script>
</head>
<body>
<script type="text/javascript" language="JavaScript1.2">
<!--
stm_bm(["menu4138",430,"","blank.gif",0,"","",0,0,250,0,1000,1,0,0,"","",0],this);
stm_bp("p0",[1,4,0,0,1,3,0,7,83,"",-2,"",-2,40,2,3,"#999999","transparent","",0,0,0,"#000000"]);
stm_ai("p0i0",[0,"Home","","",-1,-1,0,"http://www.aus-scifi.com/","_self","","","","",0,0,0,"","",0,0,0,0,1,"#3366CC",0,"#3366CC",0,"","",3,3,0,0,"#ffffff #ffffff #ffffff #ffffff","#ffffff #ffffff #ffffff #ffffff","#ffffff","#000000","8pt Arial","8pt Arial",0,0]);
stm_aix("p0i1","p0i0",[0,"Stargate","","",-1,-1,0,"#","_self","","","","",0,0,0,"arrow_r.gif","arrow_rb.gif",7,7,0,0,1,"#3366CC",0,"#3399ff"]);
stm_bpx("p1","p0",[1,2,0,-1,1,3,0,7,100,"progid:DXImageTransform.Microsoft.Fade(overlap=.5, enabled=0,Duration=0.70)",-2,"progid:DXImageTransform.Microsoft.Fade(overlap=.5, enabled=0,Duration=0.70)",-2,40,2,3,"#999999","#000000","",3]);
stm_aix("p1i0","p0i1",[0,"SG1"]);
stm_bpx("p2","p1",[1,2,0,-1,1,3,0,0]);
stm_aix("p2i0","p0i1",[0,"Season 1","","",-1,-1,0,"http://www.etaus.com.au/forum/articles.php?action=viewcat&catid=3","_self","","","","",0,0,0,"","",0,0]);
stm_aix("p2i1","p2i0",[0,"Season 2","","",-1,-1,0,"http://www.etaus.com.au/forum/articles.php?action=viewcat&catid=4"]);
stm_aix("p2i2","p2i0",[0,"Season 3","","",-1,-1,0,"http://www.etaus.com.au/forum/articles.php?action=viewcat&catid=5"]);
stm_aix("p2i3","p2i0",[0,"Season 4","","",-1,-1,0,"http://www.etaus.com.au/forum/articles.php?action=viewcat&catid=6"]);
stm_aix("p2i4","p2i0",[0,"Season 5","","",-1,-1,0,""]);
stm_aix("p2i5","p2i4",[0,"Season 6"]);
stm_aix("p2i6","p2i4",[0,"Season 7"]);
stm_aix("p2i7","p2i4",[0,"Season 8"]);
stm_aix("p2i8","p2i4",[0,"Season 9"]);
stm_ep();
stm_aix("p1i1","p0i1",[0,"SGA"]);
stm_bpx("p3","p2",[]);
stm_aix("p3i0","p2i4",[0,"Season 1"]);
stm_aix("p3i1","p2i4",[0,"Season 2"]);
stm_ep();
stm_ep();
stm_aix("p0i2","p0i1",[0,"BattleStar Galactica"]);
stm_bpx("p4","p2",[]);
stm_aix("p4i0","p2i4",[0,"Season 1"]);
stm_aix("p4i1","p2i4",[0,"Season 2"]);
stm_ep();
stm_aix("p0i3","p0i1",[0,"Star Trek"]);
stm_bpx("p5","p2",[]);
stm_aix("p5i0","p2i4",[0,"TOS"]);
stm_aix("p5i1","p2i4",[0,"TTNG"]);
stm_aix("p5i2","p2i4",[0,"DS9"]);
stm_aix("p5i3","p2i4",[0,"Voyager"]);
stm_aix("p5i4","p2i4",[0,"Enterprise"]);
stm_ep();
stm_aix("p0i4","p2i0",[1,"Aus Scifi Forum","","",-1,-1,0,"#"]);
stm_ep();
stm_em();
//-->
</script>
</body>
</html>
Ok i am guessing i have made the box wrong i created the box by doing the following
1.Add Module
2.[Template]
3.Template Content i copied the above code
I am guessing i have done it wrong or that there is an error in the head part.
When i load the test1 html file on my pc it works fine when its in the same dir as the js files.
So it has to be somthing very simple i am doing wrong.
I just dont understand on what i should do.
You can see the box i made called test 1 on my home page at www.aus-scifi.com but its not loading the code i am using in this box is
<html>
<head>
<script type="text/javascript" language="JavaScript1.2" src="stm31.js"></script>
</head>
<body>
<script type="text/javascript" language="JavaScript1.2">
<!--
stm_bm(["menu4138",430,"","blank.gif",0,"","",0,0,250,0,1000,1,0,0,"","",0],this);
stm_bp("p0",[1,4,0,0,1,3,0,7,83,"",-2,"",-2,40,2,3,"#999999","transparent","",0,0,0,"#000000"]);
stm_ai("p0i0",[0,"Home","","",-1,-1,0,"http://www.aus-scifi.com/","_self","","","","",0,0,0,"","",0,0,0,0,1,"#3366CC",0,"#3366CC",0,"","",3,3,0,0,"#ffffff #ffffff #ffffff #ffffff","#ffffff #ffffff #ffffff #ffffff","#ffffff","#000000","8pt Arial","8pt Arial",0,0]);
stm_aix("p0i1","p0i0",[0,"Stargate","","",-1,-1,0,"#","_self","","","","",0,0,0,"arrow_r.gif","arrow_rb.gif",7,7,0,0,1,"#3366CC",0,"#3399ff"]);
stm_bpx("p1","p0",[1,2,0,-1,1,3,0,7,100,"progid:DXImageTransform.Microsoft.Fade(overlap=.5, enabled=0,Duration=0.70)",-2,"progid:DXImageTransform.Microsoft.Fade(overlap=.5, enabled=0,Duration=0.70)",-2,40,2,3,"#999999","#000000","",3]);
stm_aix("p1i0","p0i1",[0,"SG1"]);
stm_bpx("p2","p1",[1,2,0,-1,1,3,0,0]);
stm_aix("p2i0","p0i1",[0,"Season 1","","",-1,-1,0,"http://www.etaus.com.au/forum/articles.php?action=viewcat&catid=3","_self","","","","",0,0,0,"","",0,0]);
stm_aix("p2i1","p2i0",[0,"Season 2","","",-1,-1,0,"http://www.etaus.com.au/forum/articles.php?action=viewcat&catid=4"]);
stm_aix("p2i2","p2i0",[0,"Season 3","","",-1,-1,0,"http://www.etaus.com.au/forum/articles.php?action=viewcat&catid=5"]);
stm_aix("p2i3","p2i0",[0,"Season 4","","",-1,-1,0,"http://www.etaus.com.au/forum/articles.php?action=viewcat&catid=6"]);
stm_aix("p2i4","p2i0",[0,"Season 5","","",-1,-1,0,""]);
stm_aix("p2i5","p2i4",[0,"Season 6"]);
stm_aix("p2i6","p2i4",[0,"Season 7"]);
stm_aix("p2i7","p2i4",[0,"Season 8"]);
stm_aix("p2i8","p2i4",[0,"Season 9"]);
stm_ep();
stm_aix("p1i1","p0i1",[0,"SGA"]);
stm_bpx("p3","p2",[]);
stm_aix("p3i0","p2i4",[0,"Season 1"]);
stm_aix("p3i1","p2i4",[0,"Season 2"]);
stm_ep();
stm_ep();
stm_aix("p0i2","p0i1",[0,"BattleStar Galactica"]);
stm_bpx("p4","p2",[]);
stm_aix("p4i0","p2i4",[0,"Season 1"]);
stm_aix("p4i1","p2i4",[0,"Season 2"]);
stm_ep();
stm_aix("p0i3","p0i1",[0,"Star Trek"]);
stm_bpx("p5","p2",[]);
stm_aix("p5i0","p2i4",[0,"TOS"]);
stm_aix("p5i1","p2i4",[0,"TTNG"]);
stm_aix("p5i2","p2i4",[0,"DS9"]);
stm_aix("p5i3","p2i4",[0,"Voyager"]);
stm_aix("p5i4","p2i4",[0,"Enterprise"]);
stm_ep();
stm_aix("p0i4","p2i0",[1,"Aus Scifi Forum","","",-1,-1,0,"#"]);
stm_ep();
stm_em();
//-->
</script>
</body>
</html>
Ok i am guessing i have made the box wrong i created the box by doing the following
1.Add Module
2.[Template]
3.Template Content i copied the above code
I am guessing i have done it wrong or that there is an error in the head part.
When i load the test1 html file on my pc it works fine when its in the same dir as the js files.
So it has to be somthing very simple i am doing wrong.