Do you by chance have an example of the java popup menu working with XML? A: You may generate a menu from a database or XML using any server-side script, e.g., PHP, ASP, VB, etc.
<!-- Deluxe Menu -->
<!-- (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:http://deluxe-menu.com/rq-loading-bar-MySQL-support.htmlQ:
I got the menu to display across frames, but it displays differently in Firefox & Mozillavs. Internet Explorer. Is that to be expected?
In The Mozilla-based browsers, the submenu butts right upunder the main menu – which is how I want it. In IE, it is about 10 pixels below.
Also, I can’t get the submenus to drop down directly under the main menus – they are offset by about 100 pixels to the right.A: The problem is in a structure of your frameset.
Mozilla browsers can't determine absolute coordinates for a frame, sosubmenus drop down with an offset.
You should create the following frameset structure:
Now a top row has 2 columns and all browsers can determine awidth of the 1st column in the second row.
Under Parameters ->> Dimensions ->menuWidth
Changing menuHeight property such as menuHeight = 123px moves menu down from the top of the page instead of changing height of the menu itself.
var itemStyles = [
["itemWidth=94px","itemHeight=23px","itemBackColor=transparent,transparent","itemBorderWidth=0", "fontStyle=bold 10px Tahoma","fontColor=#FFFFFF,#FFFFFF", "itemBackImage=data-vista-3-03.files/btn_cyan.gif,data-vista-3-03.files/btn_cyan2.gif"],
You cannot set the less value for the menuwidth in that case. You canset only the bigger value:
To change the menuHeight you should also use itemHeight parameter, forexample
I now have a menu that I like. Works great, but not with the Explorer browser. Works perfectly with Firefox and Opera. Doesn't work with Explorer. I tried using Explorer installed on several computers at different installations - at home, work and at a friends house. So it doesn't appear to be anything specific to my version. I don't have high security enabled.
Can you identify my problem? I've spent hours trying to fix this. A: Please, see your menu parameters. Now you have:
var itemBackColor = ["#0","#ffffff"];
It is not right.
You should write for example so:
var itemBackColor = ["#0000FF","#ffffff"];