Recent Questions Js Tree AppendQ:
We would like to use standard images for the main menue and add popup menues by using deluxe menue. The popups are triggered by hovering the cursor above the main menueimages and they should stay visible as long as the cursor is in the image.
You should use onMouseover event.
Shouldn’t the dhtml expand menu know what page you are on and expand accordingly?
Or would you need to ‘hard code’ each page to be expanded basedon that page?A: You should set the following parameter
function dtreet_ext_setPressedItem (menuInd, itemID)
Please, see here:
You can also set
var tsaveState = 1;
More info you can find
To expand specific items you should use API function
function dtreet_ext_expandItem (itemID, expand)
How can I have the sub tab option that initiated the action highlighted once the new page is reloaded? I want to highlight the tab which is done with 'bselectedItem', please tell me about the sub-tab option.A: See you cannot create subitems in
it is not correct.
You should set
The following parameters set the pressed items for top items andsubitems:
var bselectedItem=0; //top items
var bselectedSmItem=2; //subitems
where 0,1,2... is the index of the item in bmenuItems.
- delete var bselectedItem=1; and var bselectedSmItem=2; parameters from your data file
- set correct parameters on each page before you call data file, forexample:
var bselectedSmItem=5; </script>
<p><img id="open_popup" border="0" src="images/submenu-bg.gif" width="170" height="29"></p>
So, in the Deluxe Tuner you should enter 'open_popup' object ID in the onMouseOver,onClick or onMouseOut fields.
Actually you can assign id to any object on your page manually. You should specify ID's - id="xxxx"for <a>, <div>, <img> ... tags.
If you want to show the popup when your page loads you should leave these fields empty: