Recent Questions Javascript Tree Accessibility
Q: Trying to install XP style floating dhtml slide down menu but have these problems:
- Menu does not stay within table cell
- Is not floating
A: > - DHTML slide down menu does not stay within table cell
You're using the floating feature now. Your dhtml slide down menu will float withabsolute position only. So, now you have:
var tabsolute=1;
var tleft="1px";
var ttop="1px";
That is why your dhtml slide down menu does not stay within table cell and hasabsolute position.
> - Is not floating
Try to call on your page
<script type="text/javascript" src="philmenu.files/dtree_add.js"></script>
Q: We are having a bit of trouble with your menu, when you go down into a sub menu, and then back to the item that called it, the sub menu expands.
For example, if i have this menu structure
File
     New
     Save
     Exit
When i MouseOver New and then MouseOver File, the menu containing New, Save and Exit will grow. If i keep doing this then the menu will continue to expand horizontally.
I know its something we have done, since there doesn't seem to be a problem on your site, its just i don't know what it is
A: Rozi, we heard about such problems. I suppose that you see such effectin IE.
Please, try not to use shadow in the menu.
Please, set this parameter:
var shadowLen=0;
We'll correct this bug soon.
Try also write all units in "px", for example:
var itemPadding = "3px";
Q: 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
var tabMode=0;
it is not correct.
You should set
var tabMode=1;
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:
<noscript><a href="http://deluxe-tabs.com">Javascript Menu by Deluxe-Tabs.com</a></noscript>
<script type="text/javascript" src="menudir/dtabs.js"></script>
<script type="text/javascript"> var bselectedItem=3;
var bselectedSmItem=5; </script>
...
<script type="text/javascript" src="menudir/data.js"></script>
Q: Will html navigation bar work with site created using FrontPage?
A: Yes, Deluxe CSS Menu will work fine with site created in Frontpage.
Add all code generated by Deluxe Tuner.
You should copy all css styles for the menu and add it into your own .css file (orcreate a new .css file for the menu and call it on your page).
Then copy all HTML code for the menu and paste it in the place where you want to have amenu.
To view css styles and html code click "View HTML" button on the Preview window in theDeluxe Tuner.