Jump to content

Need Basic Js Help....


exeter_acres
 Share

Recommended Posts

OK... I'm sure this is simple....

The company I work at has a simple JS menu

 

All I need to do is add another item the the Accesories drop down, and for some reason I can't get it to work.

so... Is there a free WYSIWYG JS editor that I could do this easily?

 

What do I need to do to add "Fuel Dots" to the Accesories drop down using Notepad? (It will point to a pointer on the accesories page that I can set up later...

 

any help would be great.

 

Thanks

Exeter.

 

Menu is at:

www.extremeflightrc.com

across the top...

 

JS code is here:

 

The added line is the P2i4 line.... fuel dots if I remove that line, it works fine... if I add that line, I get broken links across the top.... is there a pointer I am missing somewhere??

 

stm_bm(["menu5613",430,"/","blank.gif",0,"","",2,0,250,0,1000,1,0,0,"","",0],this);
stm_bp("p0",[0,4,0,0,3,2,0,7,100,"progid:DXImageTransform.Microsoft.Fade(overlap=.5,enabled=0,Duration=0.20)",-2,"",-2,90,0,0,"#000000","#000000","",3,0,0,"#000000"]);
stm_ai("p0i0",[0,"Home","","",-1,-1,0,"/index.html","_self","","Return to Homepage","","",0,0,0,"","",0,0,0,0,1,"#000000",0,"#CCCCCC",0,"","",3,3,0,0,"#FFFFF7","#000000","#FFFFFF","#333333","bold 9pt 'Tahoma','Arial'","bold 9pt 'Tahoma','Arial'",0,0]);
stm_ai("p0i1",[6,1,"#999999","",-1,-1,0]);

stm_aix("p0i2","p0i0",[0,"Aircraft","","",-1,-1,0,"","_self","","","","",0,0,0,"arrow.gif","arrow_r.gif",7,7]);
stm_bpx("p1","p0",[1,4,0,0,3,4,0,0,100,"progid:DXImageTransform.Microsoft.Fade(overlap=.5,enabled=0,Duration=0.20)",-2,"",-2,90,0,0,"#000000","#F1F2EE"]);

stm_aix("p1i0","p0i0",[0,"88\" Yak 54","","",-1,-1,0,"/html/88yak54.html","_self","","","","",0,0,0,"","",0,0,0,0,1,"#F1F2EE",1,"#FF0000",0,"","",3,3,0,0,"#FFFFF7","#000000","#000000","#FFFFFF"]);
stm_aix("p1i1","p1i0",[0,"88\" 50cc Extra","","",-1,-1,0,"/html/50ccExtra.html"]);
stm_aix("p1i2","p1i0",[0,"74\" Yak 54","","",-1,-1,0,"/html/74yak54.html"]);
stm_aix("p1i3","p1i0",[0,"58\" Extra 300-E","","",-1,-1,0,"/html/58extra.html"]);
stm_aix("p1i4","p1i0",[0,"45\" Extra 300-E","","",-1,-1,0,"/html/extra300e.html"]);
stm_aix("p1i5","p1i0",[0,"45\" Edge 540T-E","","",-1,-1,0,"/html/edge540e.html"]);
stm_aix("p1i6","p1i0",[0,"48\" Vanquish","","",-1,-1,0,"/html/vanquish.html"]);
stm_aix("p1i6","p1i0",[0,"48\" Yak Profile","","",-1,-1,0,"/html/48YakProfile.html"]);
stm_aix("p1i7","p1i0",[0,"47.5\" Yak54-E","","",-1,-1,0,"/html/yak54e.html"]);
stm_aix("p1i8","p1i0",[0,"47\" Chinn Yak55SP","","",-1,-1,0,"/html/ChinnYak55SP.html"]);
stm_aix("p1i9","p1i0",[0,"36\" The Outlaw","","",-1,-1,0,"/html/outlaw.html"]);
stm_aix("p1i10","p1i0",[0,"110\" Yak 54","","",-1,-1,0,"/html/110yak54.html"]);

stm_ep();
stm_aix("p0i3","p0i1",[]);
stm_aix("p0i4","p0i0",[0,"Torque Motors","","",-1,-1,0,"/html/torque.html","_self","","Powerful Motors"]);
stm_aix("p0i5","p0i1",[]);
stm_aix("p0i6","p0i0",[0,"Airboss ESCs","","",-1,-1,0,"/html/airboss.html","_self","","Top of the line ESCs"]);
stm_aix("p0i7","p0i1",[]);
stm_aix("p0i8","p0i6",[0,"Accessories","","",-1,-1,0,"/html/Accessories.html","_self","","outfit your aircraft correctly..."]);
stm_bpx("p2","p1",[]);
stm_aix("p2i0","p1i0",[0,"The xPilot","","",-1,-1,0,"/html/Accessories.html#topofpage"]);
stm_aix("p2i1","p2i0",[0,"Torque Brushless Motors","","",-1,-1,0,"/html/Accessories.html#motors"]);
stm_aix("p2i2","p2i0",[0,"Gas Engines","","",-1,-1,0,"/html/Accessories.html#Engines"]);
stm_aix("p2i3","p2i0",[0,"Electronic Speed Controllers","","",-1,-1,0,"/html/Accessories.html#speed controllers"]);
stm_aix("p2i4","p2i0",[0,"Fuel Dots","","",-1,-1,0,"/html/Accessories.html#speed controllers"]);
stm_ep();

stm_aix("p0i9","p0i1",[]);
stm_aix("p0i10","p0i0",[0,"Apparel","","",-1,-1,0,"/html/apparel.html","_self","",""]);
stm_aix("p0i11","p0i1",[]);
stm_aix("p0i12","p0i2",[0,"Multimedia","","",-1,-1,0,"","_self","",""]);
stm_bpx("p2","p1",[]);
stm_aix("p2i0","p1i0",[0,"Great flight video","","",-1,-1,0,"/html/media.html"]);
stm_aix("p2i1","p2i0",[0,"Aircraft manuals","","",-1,-1,0,"/html/manuals08.html"]);
stm_aix("p2i2","p2i0",[0,"Pilot gallery","","",-1,-1,0,"/html/pilot_gallery.html"]);
stm_ep();
stm_aix("p0i13","p0i1",[]);
stm_aix("p0i14","p0i0",[0,"Links","","",-1,-1,0,"/html/links.html","_self","","Links"]);
stm_aix("p0i15","p0i1",[]);
stm_aix("p0i16","p0i0",[0,"News","","",-1,-1,0,"/html/news.html","_self","","Latest News"]);
stm_aix("p0i17","p0i1",[]);
stm_aix("p0i18","p0i0",[0,"Contact","","",-1,-1,0,"/html/contact.html","_self","","We want to hear from you"]);
stm_aix("p0i19","p0i1",[]);
stm_aix("p0i20","p0i0",[0,"Store","","",-1,-1,0,"http://www.extremeflightrc.com/store/","_self","","Our Secure Online Store","","",0,0,0,"","",0,0,0,0,1,"#000000",0,"#CCCCCC",0,"","",3,3,0,0,"#FFFFF7","#000000","#FFFF00"]);
stm_ep();
stm_em();

Share this post


Link to post
Share on other sites

I'm new here... so I'm working on that....

 

we like graphics and pretty pictures!

lol. Well if you're working on redoing it, I'd suggest NOT using a JS menu :P

 

I don't notice anything wrong offhand, but I'm not fully versed in JS.

 

 

Have you tested removing a subcategory? How about adding a subcategory to a different category? Testing those things out may help you narrow down what's going on.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...