Recent Questions Mortens Tree Menu No FrameQ:
I am trying out your program and it's really sweet. I have 1 little problem. I created the menu everything works in IE7. In firefox the menu is about 4 or 5 px longer. It seems like in firefox there is a border around each top level item although I have set all borders to 0 (I can see that because I have set roolover color of background to opposite of normal color) A: Try to set exact width for the menu in "px".
My menu is working very well in IE 7.0, and almost very well in FF 2.0.
In your faq, you mention the following:
Fix for flash in Firefox!
If you don't want the flash to hide under submenus in Firefox you should do the following things:
However, I do want the flash to hide under submenus, like it does in IE when I set var dmObjectsCheck = 1;
My menu is beneath my flash. A: If for some reasons a submenu can't drop down over an object the latter will be hidden for a time when the submenu is shown.
If you don't want to have such effect you should follow these steps.
Can you provide an example of how to dynamically change the menu items at runtime for the dropdown menus?
2)Generate your menu items dynamically from database.
Unfortunately we don't have working example with ASP.
You may generate a menu from a database or XML using any server-side script, e.g., PHP, ASP, VB, etc.
you should move parameters of a menu from a .js file into an html-page, e.g.:
<!-- (c) 2008, http://deluxe-menu.com -->
// and describe parameters of a menu
var menuItems = [
// here you generate items using server-side scripts (php, asp, vb, etc.)
The example of the menu working with PHP/MYSQL you can find here:
For some reason all of the menu items are squished together when I put the js code in my page.
Is my site's CSS overriding the ones set in the menu css? If so how do I get around this? A: See, the problem is that the script can't get css properties of the object if they are described in separate .css block (or file).
To get the value you should move .css style into style="" attribute.
Please, try to add your
css file -> inline css