A: Try to adjust the following parameter:
Q: When I stay on one page (for example "Home") аlso must have the menu-point "home" another color or font. How can I make this?
A: You should set pressed item.
Please, check the following parameter
This parameter sets an index of an item that will be highlighted by default.
-2 - the toggle mode is disabled;
-1 - the toggle mode is enabled, but no items highlighted by default;
0,1,2,3,... - index of highlighted item in a top-menu.
function dm_ext_setPressedItem (menuInd, submenuInd, itemInd, recursion)
Sets a current pressed item.
menuInd - index of a menu on a page, >= 0.
submenuInd - index of a submenu, >= 0.
itemInd - index of an item, >=0.
recursion = true/false - highlight parent items.
But notice, to use dm_ext_setPressedItem() you should know ID of selected item and subitem.
You can't get this ID after you reload your page. That is why you should write your own code on PHP.
You can also set the correct
parameter on each html page.
JS Code for a menu item (Ajax technology):
[' Introduction &<br>Search Terms',
'/TeachingLaw/Courses/LegalRsrchWriting/AmySloan/Room1/','','' ,'' ,'' ,'' ,''
Code as above is used to create a the following menu:
We are using <br> as the menu text is too long but the problem we are facing is the space between two line of web menu text.
Can you please let me know how we can reduce the space?
A: You can write your text in the following way:
["<div style='line-height: 10px'> Introduction &<br>Search Terms</div>",
"/TeachingLaw/Courses/LegalRsrchWriting/AmySloan/Room1/","","","","" ,"" ,""
['<div style="line-height: 10px"> Introduction &<br>Search Terms</div>', '/TeachingLaw/Courses/LegalRsrchWriting/AmySloan/Room1/','','' ,'' ,'' ,'' ,'','/TeachingLaw/DeluxeMenu/AmySloan/Room1.js',],
Q: I want to make a Treemenu with AJAX.
If I look in the dhtml menu tool preview all is good.
But if I put it in a html, it does not function anymore.
I'm using Version 188.8.131.52 (you sent me a while ago)
A: There is a bug in the current version of Deluxe Tuner. It doesn't saveengine file for AJAX menu - dtree_ajax.js.
Please, copy it manually now. We'll correct this bug in the nextversion.
You should also add tWorkPath parameter in your html page.
<noscript><a href="http://deluxe-tree.com">dhtml menu tool by Deluxe-Tree.com</a></noscript>
<!-- (c) 2006, http://deluxe-tree.com -->