Recent Questions C Menu Treeview Hover CssQ:
I'm trying to position my menus inside absolutely positioned <DIV> tags. If the <DIV> tag has style="position:absolute; top:100px; left:50px;" in the actual tag, deluxe-menu seems to work correctly. If I have the "position:absolute; top:100px; left:50px;" in a <STYLE> tag or a linked stylesheet and applied using id or class selectors, then deluxe-menu does not work correctly: sub menus have a 100pixel offset in the y direction and a 50 pixel offset in the x direction. This is with no change to the .js data file (I have absolutePos=0;) Is this a known issue, and is it planned to be fixed? 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).
In other words, you can't get the value of "position" 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:
For example, you should add style="position:absolute;"
So, you'll have:
<DIV id=head style="position:absolute;">
Now we have only such solution for this problem.
We'll try to fix this problem in the future versions.
I want that this tree expanded or collapsed (clicking on the image. e.g. like the right button) and go to the link when clicked on the item. A: No problem.
You can assign a link to the item that has subitems.
When you'll click on item's button, it'll be expanded.
When you'll click on the item, item's link will be opened.
We are looking for how we have to do for the previously clicked item in the dynamic tree menu
remains highlighted to inform user what is his current page.
It is possible to achieve this behavior with your product?A: You should use API functions in that case
function dtreet_ext_expandItem (itemID, expand)
function dtreet_ext_setPressedItem (menuInd, itemID)
See more info about API functions:
See the samples:
I installed the trail version before I want to buy it. It looks wonderfull, but I was unable to make menu items inside a PHP file.
Do you have an example(tutorial) how to at deluxe menu inside a php file ? A: Unfortunately, we don't have such example.
You can create your menu using PHP, for example:
<?php echo " ["|Bibliografia - ksiazki","home_bibliografia_dol.php","","","",,,],"; ?>
<?php echo " ["|Bibliografia - artykuly","home_bibliografia_dol1.php","","","",,,],"; ?>
<?php echo " ["|Bibliografia - linki","home_bibliografia_dol2.php","","","",,,],"; ?>
Please, see the following link too