Recent Questions
Q: I've purchased the mac style tabs. I've spent countless hours trying to get it to work, no luck so far. I've gotten jscript tabs to look okay on page, but links between pages do not work. I've even gotten them to work, but they were simple text menu's; not jscript tabs. But I haven't gotten the tabbed menu to work. Checked and tripled cheeked the instructions, still no luck.
I've uploaded the files to a test server.
There are four files cameron,carl,grace, and chantel; these are simple identical two column pages to test the links between tabs. NO LUCK. I'm about to give up on your program, can you please help.
A: You're using
var tabMode=0;
now. That means that you should use content DIV's ID instead of thelink.
If you want to open links you should write links in the following way:
["Cameron","link:cameron.html", "", "", "", "", "", "", "", ],
["Grace","link:grace.html", "", "", "", "", "", "", "", ],
["Carl","link:carl.html", "", "", "", "", "", "", "", ],
["Chantel","link:chantel.html", "", "", "", "", "", "", "", ],Q: Is there a property in the data.js file - or any other file - where the pulldown menu can be hidden initially until needed?
A: You can hide the menu onload
document.getElementById('dm0m0').style.visibility = "hidden";
And then show the menu when your user will be validated.
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)Q: Just wondering if it's possible to have the sub menu of my collapsible dhtml menu that appear when the "+" is clicked stay open when another page loads. I tried downloading the trial version & can't get that to happen.
Click on "web development" and then "web design portfolio" - when the new page loads the menu closes. Is it possible to have it remember which sub menus were showing when the new page loads?
A: Deluxe Tree has save state feature. You should set the followingparameter:
var tsaveState=1;