Add category to js menu

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   Add category to js menu
kwilson
CZ Newbie
kwilson has been a member for over 20 year's 20 Year Member
Status: Offline
Joined: Sep 20, 2004
0.00 posts per day
Posts: 1
Points: 70
   
I am modifying a js menu and need to add more categories. Here is a selection from the file:

window.mm_menu_0212161247_8 = new Menu("root",161,16,"Verdana, Arial, Helvetica, sans-serif",10,"#ffffff","#000000","#87A1D4","#C9DBEC","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);
/*Allpresan*/
mm_menu_0212161247_8.addMenuItem("Allpresan Products","location='allpresan.html'");
mm_menu_0212161247_8.hideOnMouseOut=true;
mm_menu_0212161247_8.menuBorder=1;
mm_menu_0212161247_8.menuLiteBgColor='#ffffff';
mm_menu_0212161247_8.menuBorderBgColor='#000000';
mm_menu_0212161247_8.bgColor='#000000';

Every category has a different number, and I can't figure out the numbering structure. I need to know how to tell what number to type in next to add another category.

Does anyone have advice for me?

Thanks,
Kelly



Back to top Reply with quote
#2   re: Add category to js menu
SpLiNteR
CZ Addict
SpLiNteR has been a member for over 20 year's 20 Year Member
uk.gif
Occupation: Student
Age: 34
Gender: Male
Fav. Sports Team: Leeds United
Website:
Status: Offline
Joined: Feb 08, 2004
0.05 posts per day
Posts: 397
Points: 206,328
AIM Address Yahoo Messenger MSN Messenger ICQ Number
Hi,

Is this code from Macromedia Dreamweaver of Fireworks by any chance? If so, just try opening it in Dreamweavr (get the trial off of [ Register or login to view links on this board. ] get the updater too, it'll add 30 more days onto the trial icon_smile.gif ) It has an mm_blah before each entry and often Dreamweaver adds mm onto many things when creating code. Also, if this isn't a viable solution, would you mind posting the whole HTML file and .JS file if it's using an external javascript file.

Thanks
Andre




_________________
Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum