Would dhtml drop menu work with the javascript command, OnClick=javascript:window.location.href=myvalue in the Link entry
Return to Recent Questions
Q:
Would dhtml drop menu work to put the javascript command,
OnClick=javascript:window.location.href=myvalue in the Link entry so
that when a person clicks on the menu item, he navigates to the webpage
specified in the OnClick?
A:
> Would dhtml drop menu work to put the javascript command,
> OnClick=javascript:window.location.href=myvalue in the Link entry so
Actually you can use your own Javascript code instead standard links
and html code inside item text. For example:
var tmenuItems = [
["text", "javascript:window.location.href=myvalue"]
];
or
var tmenuitems = [
["<div onClick='window.location.href=myvalue'>Table of Contents</div>", ""]
];
> Also, what features of IE 4 are not supported?
Deluxe Menu support Internet Explorer 5+ only.
http://deluxe-menu.com/browsers-info.html
Return to Recent Questions
Related:
- 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 06, 2006 - The alighment of the dropdown menu is off to the right in Firefox...
- 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 17, 2006 - How can your javascript onmouseover menu be set to open by click?
- Sep 23, 2006 - Is it possible that javascript drop down menus doesn't put anything on the local computer?
- Sep 23, 2006 - Is it possible that your menu call some javascript onmouseover event?
|