| 
      
   | 
    | 
  
       
          
                    I still get 'Error on page' when I hover over the first java scrolling menu item.
       
      Return to Recent Questions
 
  
Q:
   I replaced the code you suggested and I downloaded the current
 version of Deluxe-Tuner. I also removed the Javascript roll-overs I had
 elsewhere on the page and created the text.
  
 I still get 'Error on page' when I hover over the first java scrolling menu item.
  
 Please help! I need to buid this site out by Monday.
 
 
  
A:
 Now you have several errors in your data file:
  
var menuBackColor="f9f9ec";
  
You should write: 
var menuBackColor="#f9f9ec";
  
The following parameters cannot be empty: 
var menuBorderWidth="0"; 
var itemBorderWidth="0";
  
It is not correct to write the java scrolling menu parameter in the following way: 
var itemBorderStyle=["1px","1px"];
  
You should write: 
var itemBorderStyle=["none","none"];
  
If you want to add borders in the subitems you should write: 
var itemBorderWidth="1"; 
var itemBorderColor=["#c59d1f","#c59d1f"]; 
var itemBorderStyle=["solid","solid"];
  
And to remove border from the top items you should create Individual
style and assign it to the top items: 
var itemStyles = [ 
    ["itemBorderWidth=0","itemBorderStyle=none,none"], 
];
  
    ["","", "/images/nav_OFF_01.gif", "/images/nav_ON_01.gif", "", "","0", "", "", "", "", ], //assign style 0 
    ["","", "/images/nav_OFF_02.gif", "/images/nav_ON_02.gif", "", "", "0", "", "", "", "", ], //assign style 0 
...
  
  
 
 
  
Return to Recent Questions
           Related: 
         
         - Aug 30, 2006 - Can all the java script be contained with in the html and not use an external .js file?
 - Sep 02, 2006 - Can I show / hide the javascript floating menu .
 - Sep 02, 2006 - Little vertical spacers between menu items in the drop down menu.
 - Sep 04, 2006 - Set a menu item to pressed when a page is loaded.
 - Sep 06, 2006 - Can't see my javascript vertical tree menu in FireFox.
 - Sep 06, 2006 - The first item of the html drop down menu stays highlighted.
 - Sep 11, 2006 - How can I hide my dropdown menu on print?
 - Sep 11, 2006 - If I use doctype the settings of the submenus in javascript dropdown menu get lost.
 - Sep 15, 2006 - Are vertical menus also supported? I don't see any in the javascript menu examples.
 - Sep 16, 2006 - I need to be able to highlight the selected menu item of the html tree menu.
 - Sep 17, 2006 - How can your javascript onmouseover menu be set to open by click?
           
               
   |