Recent Questions
Q: I am trying to get my submenu to be all black along with the main menu item that I am hovering over.
But I cannot do it.
A: Now you have
["|About Us","About_Us", , , ,"Tip Text" , , , ,"0"],
it is not right. You should write
["|About Us","About_Us", , ,"Tip Text", , ,"0",],
Q: I want to be able to put a small thumbnail icon in the description area of animated drop down menu. Here is a current line from my .js file for a single link.
["|'Slow Death Hook' Contest<br><br><br>Enter Your Favorite Fish Photos to Win!<br>Gary Parsons ","http://www.domain.com/site/featured_article.cfm?owner=AB18D298-0AC7-254E-B7248E9DCD0F9549 ",,,,,"0"],
I want it to do this though:
["|'Slow Death Hook' Contest<br><br><br>Enter Your Favorite Fish Photos to Win!<br>Gary Parsons ","http://www.domain.com/site/featured_article.cfm?owner=AB18D298-0AC7-254E-B7248E9DCD0F9549 <br><br><img src="images/thumbnail.jpg">",,,,,"0"],
The problem is the "'s around the img src.....it's throwing off your animated drop down menu.
How do I fix that?
A: It is not correct to write menuItems in such way.
You should write:
["|'Slow Death Hook' Contest<br><br><br>Enter Your Favorite Fish Photos to Win!<br> Gary Parsons <br><br><img src='images/thumbnail.jpg'>","http://www.domain.com/site/featured_article.cfm?owner=AB18D298-0AC7-254E-B7248E9DCD0F9549",,,,,"0"],
Try that.
Q: If var bselectedSmItem= anything other than 0, the dropdown menu maken links do not work and I get the following error:
A: You should set bselectedSmItem parameter in tabMode=1 only. When youhave subitems.
I'm also sending you the fixed version of dtabs.js file. Please, useit.
Q: Is there a way to highlight the selected item in the dhtml treemenu of the current page when the link target is _self?
Or pass in the selected item to the new page?
A: You can set a pressed item using Javascript API:
function dtreet_ext_setPressedItem (menuInd, itemID)
Please, see here:
http://deluxe-tree.com/functions-info.html
You can also set
var tsaveState = 1;
More info you can find
http://deluxe-tree.com/data-samples/tree-menuxp-save-state.htm
To expand specific items you should use API function
function dtreet_ext_expandItem (itemID, expand)