| 
      
   | 
    | 
  
       
          
                    I made a css tab menu on this website and I noticed that I need to click two time to get the link.
       
      Return to Recent Questions
 
  
Q:
I made a css tab menu on this website and I noticed that I need to click two time to get the link.
  It doesn't work if I click only one time. Could you help me to fixe that ?
  
A:
You should set correct selected item: 
var bselectedItem=2; //0,1,2...
  
Set also: 
var tabMode=0; 
var bselectedSmItem=0;
  
In that case you should write your links in the following way:
  
    ["Hem","link:index.php?p=1_10", "", "", "", "", "", "", "", ], 
    ["Om oss","link:index.php?p=1_11", "", "", "", "", "", "", "", ], 
    ["Kontakt","link:index.php?p=1_12", "", "", "", "", "", "", "", ], 
 
  
 
  
Return to Recent Questions
           Related: 
         
         - Sep 05, 2006 - Change cursor to a hand when over a menu link...
 - Sep 11, 2006 - If I use doctype the settings of the submenus in javascript dropdown menu get lost.
 - Sep 17, 2006 - How can your javascript onmouseover menu be set to open by click?
 - Sep 22, 2006 - Where do I add my "blahblah.htm" page links in js menu?
 - Sep 24, 2006 - If there is a way of establishing the width at "runtime" in the javascript dynamic menu?
 - Oct 01, 2006 - When I click on link of my vertical drop down menu no file is loaded!?
 - Oct 20, 2006 - I want that tree menus expanded or collapsed and go to the link...
 - Oct 21, 2006 - I want to get the URL or file name to be open in javascript mouseover menu by click...
 - Oct 27, 2006 - I'm trying to get a cascading menu that will float as I scroll down the page.
 - Oct 31, 2006 - Is it possible to use the AXAJ-Like technology and Javascript-API in css pop up menu?
 - Oct 31, 2006 - Java script executes when the link is clicked it is not the html drop down link itself.
           
               
   |