However, the background and shadow do not render in Firefox. As a result the menu is not as attractive.
var itemStyles = [
["Home","index.shtml", "", "", "First Page", "", "0", "", "", "", "", ],
["Communication","", "", "", "", "", "0", "-1", "", "", "", ],
Filters and transitional effects are features of Internet Explorer5.5+ only.
See more info here:
Greetings. How do I make a menu item as default selected and open when the page loads with the dhtml menu bar script? Thanks. A: Deluxe Menu has only two states normal and mouseover.
Try to do the following things:
- delete var pressedItem=1; parameter from your data file
- set correct parameter on each page before you call data file, forexample:
<noscript><a href="http://deluxe-menu.com">dhtml menu bar script by Deluxe-Menu.com</a></noscript>
function dm_ext_setPressedItem (menuInd, submenuInd, itemInd, recursion)
Sets a current pressed item.
menuInd - index of a dhtml menu bar script on a page, >= 0.
submenuInd - index of a submenu, >= 0.
itemInd - index of an item, >=0.
recursion = true/false - highlight parent items.
But notice, to use dm_ext_setPressedItem() you should know ID of selected item and subitem. You can't get this ID after you reload your page. That is why you should write your own code on PHP.
Can I use a menu java scrip Item for text and get the text to wrap within a predefined menuWidth?A: You should set the following menu java scrip parameter:
var noWrap = 0;
or use <br> tags within menuItems.
Unfortunately it won't work if you use iframe as window content.
You open another page in the popup (in Iframe) so you cannot access
element which is situated on the first page.
When you use text or object_id as window content the content of the popup will be situated
on the same page so you can access document.getElementById('win') element and hide it.
There is a workaround for Iframe.
Use text as content type and add the following code inside popup:
<a onclick="document.getElementById('win').hide();">...</a> <iframe></iframe>