Recent Questions Jquery Ajax Tree Menu PhpQ:
Can I ask a technical question? I am using the menu in a frameset, and I would like for the drop down menu selected branch to sty highlighted after the user moves the mouse to another window (where the menu brings up a new page), just so the user knows where he/she is. Is that possible? A: But if you open links in the another frame (window) the initial frame with your menu isnot reloaded, so the clicked item will be highlighted.
You should set the following parameters:
You can also set the following parameter to save menu state:
If you install the menu without frames. On your pages you should call the following function/functions to expand/highlight items, for example:
dtreet_ext_expandItem (dtreet_ext_getItemIDByIndex (0, 0), 1);
dtreet_ext_setPressedItem (0, dtreet_ext_getItemIDByIndex (0, 1));
See more info about API functions here:
I paid for the Deluxe Tabs and built them the way I wanted with little modification. Everything is working fine except in Internet Explorer 6 on Windows. If I click on another of the 4 tabs in my navigation tabs, the content doesn't change. A: You should set the following parameter:
You should also add style="visibility: hidden;" for a content DIVs.
You won't see the content of all tabs when your page loads in thatcase.
<div id="tabcontent1" style="visibility: hidden;">
<div id="tabcontent2" style="visibility: hidden;">
However, when I place it inside a CSS-defined div element (for absolute page placement) the submenu's all drop down a couple hundred pixels. 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: 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;">
//------- Separators -------
var separatorWidth = "10";
var separatorHeight = "20";
var separatorAlignment = "center";
var separatorImage = "C";
var separatorVWidth = "20";
var separatorVHeight = "10%";
var separatorVImage = "image.jpg";
You can create separators between items in the drop down menu using menuItems, for example:
var menuItems = [
["-"], // this item is separator
["item 2"], ["|item 3"],
["|-"], // this subitem is separator