Recent Questions Js Tree Menu NiceQ: Why is it that when we place a drop menu ina div that the droppping part is not right uner the menu? The menu on top banner is the problem.. Thesame code outside of a div futher down the page works fine.
I can place the same menu outside of the div and it works fine.When it is in a div the drop part of the menu is pushed to the far right of the screen.
A: Brian, 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).
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;"
So, you'll have:
<DIV id="menu" style="POSITION: absolute;">
Q: Is it possible to enter text in the java source code that won't display as a link?
A: If you don't want to use items as links you can disable these items.
To disable item you should set target parameter to "_".
You can do it in "Item Parameters" window.
Q: How I can write the changed dhtml pull down menu into a database?
A: Unfortunately, we don't have such example.
<!-- (c) 2006, http://deluxe-tree.com -->
// and describe parameters of a menu
var tmenuItems = [
// 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:
Q: I'm trying to display the submenus to the left of the menu. I searched your questions and found one that said to use the following:
I added this but it didn't do anything.
A: Try to use this parameter:
var subMenuAlign = "left";