User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 392,053 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 4,285 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting
Views: 289 | Replies: 0
Reply
Join Date: Jul 2008
Posts: 6
Reputation: onesmallstep is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
onesmallstep onesmallstep is offline Offline
Newbie Poster

new to JS need help please! :-D

  #1  
Jul 7th, 2008
I have been HTML'ng for many many years, however am new to the Java side of it. I'm using a script that works well on another site. Trying to customize it, and having issues.

The previous menu's were to 2 levels, I don't need that, that's what I'm trying to get away from. Logic says just delete the 2 tier and all will be fine, however that just seems to make the whole script not work:

function mmLoadMenus() {
  if (window.mm_menu_0028104603_0) return;
    window.mm_menu_0028104603_0_1 = new Menu("Sales",95,16,"Verdana, Arial, Helvetica, sans-serif",11,"#000000","#ffffff","#ffffff","#00007d","left","middle",3,1,300,-10,5,true,true,true,2,true,true);
    mm_menu_0028104603_0_1.addMenuItem("Fence","window.open('residential.htm', '_parent');");
    mm_menu_0028104603_0_1.addMenuItem("Testing","window.open('commercial.htm', '_parent');");
    mm_menu_0028104603_0_1.addMenuItem("Retail","window.open('retail.htm', '_parent');");
     mm_menu_0028104603_0_1.fontWeight="bold";
     mm_menu_0028104603_0_1.hideOnMouseOut=true;
     mm_menu_0028104603_0_1.menuBorder=1;
     mm_menu_0028104603_0_1.menuLiteBgColor='#cc9933';
     mm_menu_0028104603_0_1.menuBorderBgColor='#33cc33';
     mm_menu_0028104603_0_1.bgColor='#33cc33';
  window.mm_menu_0028104603_0 = new Menu("root",118,16,"Verdana, Arial, Helvetica, sans-serif",11,"#000000","#cc9933","#cc9933","#00007d","left","middle",3,1,300,-10,5,true,true,true,2,true,true);
  mm_menu_0028104603_0.addMenuItem("Free Estimates","window.open('free_estimates.htm', '_parent');");

Thanks!
AddThis Social Bookmark Button
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb JavaScript / DHTML / AJAX Marketplace
Thread Tools Display Modes

Other Threads in the JavaScript / DHTML / AJAX Forum

All times are GMT -4. The time now is 11:35 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC