hi, I want highlighted the current menu after passover the mouse on menu. See http://www.efk.se/. After u pass the mouse over the menu, the current menu is highlighted automatically.
Is this a question or a tip/tutorial? If it's a question then please explain what you want to achieve.
wiicker95, tks by interest of help me. How can I active the actual menu from current page automatically after the mouse lost focus from menu? I´d like to have the same highlight functions (active menu) from this menu http://www.efk.se/. When the page appear, the blue menu is active. After u pass the mouser over the other big menus (the colors change) and when the mouse lost focus from it, the blue menu is automatically activated. I don´t know how to active the actual menu automatically from the actual page, after the mouse lost focus. Can u help me in it? See the css code attached.
With the code you have, that's VERY easy to get working. Just set the property "onMouseOut" wherever you set "onMouseOver". In other words, just after onmouseover="javascript:showsubmenu(1,2 or 3)" add onMouseOut="javascript:showsubmenu(3)" if you want to return back to the first one. Hope it helps!
Tks wiicker95 more one time for your help. Great, it´s almost there. I did the 1o time <div id="sublinks" onmouseout="javascript:showsubmenu(1)" > and after for the 2o time <li><a id="m1" href="#" onmouseover="javascript:showsubmenu(1)" onmouseout="javascript:showsubmenu(1)" >Home</a></li>. In the both cases above after mouse lost focus the menu Home is highlighted (activated). It´s fine, but I can´t select the sub menus, because the onmouseout don´t permit it. How can I select and use the submenus, and after mouse lost focus activate the actual page? tks
Either add an invisible "link" so it doesn't lose focus, or just stick them together like on the website you showed me. However, your current version is not really recommended because some users aren't as good with their mouse, or they are on laptop so it's a hard task anyway. Hope it helps!
Man, How much do u want to create a menu with CSS like of this page "www.efk.se" ? How long time do u need to delivery it for me? tks
How to introduce a invisible "link" to doesn't lose focus? I tryed by still I can´t select the submenus. Do u have another tip?
Well, I can't do it if I don't know how it's supposed to look like. Do you want it to look EXACTLY like on that website, but with your javascript right?
don´t need to be my code. I just want a menu like "www.efk.se". If u want to use my code, ok. Can u help me in this? tks