|
|
|
Can a html jump menu item that expands the submenu items when selected work as link?
Return to Recent Questions
Q:
Can a html jump menu item that expands the submenu items when selected also work as a link?
A:
Actually you can't use links for the top items in the XP Style.
But you can write:
["<a href='index.html' class='home'>Home</a>","", "", "", "", "Return to Index page", "", "0", "", ],
["<a href='http://www.domain.uk' class='home'>About Us</a>","", "", "", "", "", "", "0", "", ],
["|Introduction","http://www.domain.uk/introduction.htm", "", "", "", "", "", "", "", ],
And create styles
.home{
color: #FFFFFF;}
.home:hover{
color: #FFBEBE;}
But in that case the submenu and link open when you press "About Us" item. I think that it is not very
good behaviour. You can also try to specify target parameter
["<a href='index.html' class='home'>Home</a>","", "", "", "", "Return to Index page", "", "0", "", ],
["<a href='http://www.domain.uk' class='home' target="_blank">About Us</a>","", "", "", "", "", "", "0", "", ],
["|Introduction","http://www.domain.uk/introduction.htm", "", "", "", "", "", "", "", ],
Return to Recent Questions
Related:
- Apr 25, 2007 - How to work with web site menus and submenus in JSP?
- May 22, 2007 - I would like to have links of css pop up menus to our website when javascript turned off.
- May 27, 2007 - The submenu of menu javascript example disappears, it goes BEHIND the flash and can't be seen.
- May 29, 2007 - Will this code drop down menu work for us, as we use IFrames and Frameset?
- Jun 16, 2007 - I want to add a javascript link with onclick event to the script menus
- Jul 04, 2007 - How exactly does such pull down menu javascript parameter as dmAJAXCount work?
- Jul 13, 2007 - Flash in Firefox disappears behind the submenus of website navigation menu.
- Jul 29, 2007 - Is there any way to change the font size of the submenu links in css menu drop?
- Aug 01, 2007 - The copy/paste and the CTRL + C/V & Insert keys don't seem to work in menus using css.
- Sep 04, 2007 - How to use javascript calls when the link is clicked in the navigation web part?
- Sep 04, 2007 - Can't assing links to our favorite template in the down navigation menu
|