Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Javascript Drop down menu

Status
Not open for further replies.

surfertide

Technical User
May 24, 2006
6
US
I have this script that lets me use images for a drop down menu.
Here's an example:
13west.com/sierra/index.php

What I need to accomplish is to delete the products section. Every time i delete the products the code doesn't show on the page anymore.
The code:

stm_bm(["menu01e4",430,"],this);
stm_bp("p0",[0,4,0,0,0,0,0,0,100,"progid:DXImageTransform.Microsoft.Fade(overlap=.5,enabled=0,Duration=1.00)",-2,"",-2,10,0,0,"#fffff7","#fffff7","",3,0,0,"#000000"]);
stm_ai("p0i0",[2,"","menu-products.gif","menu-products.gif",180,20,0,"","_self","","","","",0,0,0,"","",0,-1,0,0,1,"#fffff7",1,"#b5bed6",0,"","",3,3,0,0,"#fffff7","#000000","#000000","#000000","8pt Verdana","8pt Verdana",0,0]);
stm_bp("p1",[1,4,0,0,1,2,0,7,100,"progid:DXImageTransform.Microsoft.Wipe(GradientSize=1.0,wipeStyle=1,motion=forward,enabled=0,Duration=0.35)",5,"progid:DXImageTransform.Microsoft.Wipe(GradientSize=1.0,wipeStyle=1,motion=reverse,enabled=0,Duration=0.35)",4,75,2,3,"#c26202","transparent","",3,0,0,"#ffffff #a3a39d #a3a39d #ffffff"]);
stm_aix("p1i0","p0i0",[0,"By Market Segment","","",-1,-1,0,"","_self","","","","",0,0,0,"arrow_r.gif","arrow_r.gif",7,7,0,0,1,"#ffe478",0,"#c26202",0,"","",3,3,0,0,"#ffffff","#fffff7","#000000","#ffffff","11pt 'Arial','Verdana'","11pt 'Arial','Verdana'"]);
stm_ep();
stm_ep();
stm_ai("p0i1",[6,1,"#ffffff","space.gif",2,1,0]);
stm_aix("p0i2","p0i0",[2,"","menu-home1.gif","menu-home2.gif",75,20,0,"index.shtml","_self","","","","",0,0,0,"","",0,0,0,0,1,"#fffff7",0,"#b5bed6",0,"","",0]);
stm_aix("p0i3","p0i0",[2,"","menu-about1.gif","menu-about2.gif",95,20,0,"","_self","","","","",0,0,0,"","",0,-1,0,0,1,"#ffb300",0,"#c26202",0,"","",3,0]);
stm_bpx("p4","p1",[1,4,0,0,1,2,0,0]);
stm_aix("p4i0","p1i0",[0,"Our People and History","","",-1,-1,0,"ourpeople.shtml","_self","","","","",0,0,0,"","",0,0]);
stm_aix("p4i1","p4i0",[0,"Locations and Directions","","",-1,-1,0,"locations.shtml"]);
stm_ep();
stm_aix("p0i4","p0i0",[2,"","menu-hygiene1.gif","menu-hygiene2.gif",90,20,0,"","_self","","","","",0,0,0,"","",0,-1,0,0,1,"#ffb300",0,"#c26202"]);
stm_bpx("p5","p4",[]);
stm_aix("p5i0","p4i0",[0,"Hygiene Information","","",-1,-1,0,"hygiene.shtml"]);
stm_ep();
stm_aix("p0i5","p0i4",[2,"","menu-news1.gif","menu-news2.gif",135]);
stm_bpx("p6","p4",[]);
stm_aix("p6i0","p4i0",[0,"Current News","","",-1,-1,0,"currentnews.shtml"]);
stm_ep();
stm_aix("p0i6","p0i4",[2,"","menu-contact1.gif","menu-contact2.gif",105]);
stm_bpx("p7","p4",[]);
stm_aix("p7i0","p4i0",[0,"Contact Information","","",-1,-1,0,"contact.shtml"]);
stm_aix("p7i1","p4i0",[0,"Sales Literature","","",-1,-1,0,"literature.shtml"]);
stm_ep();
stm_aix("p0i7","p0i1",[6,50,"#ffffff","menu-bg.gif",50,20]);
stm_ep();
stm_em();

I need to get the menu-products out and keep the rest intact but i'm unable to do so. Please any help would be really appreciate it.
Thanks
 
I would suggest you find the original author of the javascript menu system you are using - and ask them for support.

I also encourage you to re-evaluate your menu code and update the code to be more "this century"... at the very least put a solution together that is more standards compliant and configurable (via css).

Cheers,
Jeff

[tt]Jeff's Page @ Code Couch
[/tt]

What is Javascript? FAQ216-6094
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top