Recent Questions Infinite Depth Tree Dhtml
Q: Is there a property in the data.js file - or any other file - where the pulldown menu can be hidden initially until needed?
A: You can hide the menu onload
document.getElementById('dm0m0').style.visibility = "hidden";
And then show the menu when your user will be validated.
Q: I am rewriting my homepage in CSS but now I have another problem with the DeLuxe menu.
The javascript top menu is well positioned on the page but the submenus are not.
The submenus are not positioned aside the javascript top menu but lower and far to much to the right.
I changed the variables
var posX = 100;
var posY = 100;
var absolutePos = 1;
var topDX = 0;
var topDY = 0;
var DX = -3;
var DY = 0;
var subMenuAlign = "left";
var subMenuVAlign = "top";
Sometimes when I change the variables the submenus are well positioned and then, after enlarging the IE-window, they are not.
What can I do?
A: It is possible that you have some problems with your css styles.
See, the problem is that the javascript top menu can't get css properties of the object if they are described in separate .css block (or file).
In other words, you can't get the value of "POSITION: absolute" attribute of the object if the object doesn't have this property within inline style (style="POSITION:absolute;"). To get the value you should move .css style into style="" attribute.
Please, try to add your
css file -> inline css, for example:
You should add style="POSITION: absolute;"
to the
<div id="block">
Q: My name is Wayne Dekmar, I am a registered user. I have a question when using your javascript browser menu with Frames. In the Item Parameter box, Link, I would select the page that I want open. Target, would I select custom then add below : Target='main'. Is this correct? Can you give me an example of how to do this.
A: You can set target parameter for all items:
var itemTarget="main";
Where main - is the name of the frame where you want to open the link.
or for each item individually:
["Home","testlink.html", "", "", "", "main", "", "", "", "", "", ],
Q: I need a menu system that can do one Vertical menu example in java and a completely separate Horizontal menu on the same page, no frames. Will this menu software do this?
A: Yes, you can create two menus (vertical and horizontal) and installthem on the same page. See the attached example.