Recent Questions
Q: I need the sub menu to be vertical with the text on top of each other instead of horizontal way as as I have now on my website.
I have tried to change the smWidth & smHeight in the Dimension category but it shows no changes.
A: Please, see menu parameters.
You should set this parameter:
var smOrientation=0;
Q: How do I make the background in my rollover drop down menu transparent?
A: You should set the following paramter in your data.js file:
var tmenuBackColor="transeparent";
Q: In my script, I did not have [<script type="text/javascript"language="JavaScript1.2" src="dmenu.js"></script>].
I did have something like [<script type="text/javascript" src="dmenu.js"></script>].
What does that mean?
Also, my client is still seeing the "incorrect key" notice.
A: Regina, you can see "Incorrect Key" message if you use the wrong reg.
key or if you forgot to paste your reg. key into your data file.
I've checked your reg. key. It is correct.
So, you cannot see such message on your website.
Your client should clear browser cache.
> In my script, I did not have [<script type="text/javascript"> language="JavaScript1.2" src="dmenu.js"></script>].
>> I did have something like [<script type="text/javascript" src="dmenu.js"></script>].
Both these lines mean the same.
Please, paste <noscript> tag
<noscript><a href="http://deluxe-menu.com">Javascript Menu by Deluxe-Menu.com </a></noscript>
into the <head> tag on the pages with your menu.
Q: I would like to add the javascript API to a link contained in my website that will have the corresponding item in the deluxe-tree menu act as if it was "clicked".
Presumably I need to add the script (for example) <A HREF="http://deluxe-menu.com/features-info.html" TARGET="_self" "..javascriptHere ..">. Can you give me an example please of what code goes into there.
I presume I use dm_ext_setPressedItem (menuInd, submenuInd, itemInd, recursion) but where do I get the ????Ind data from and make the javascript call in the above link.
A copy of a working example together with where to get the data , perhaps on your own web pages, would help.
A: Deluxe Tree doesn't save a presseditem as it saves a tree state. It works within 1 page only and if youreload the page you should set a pressed item using Javascript API:
function dtreet_ext_setPressedItem (menuInd, itemID)
<script type="text/javascript">
var i = <?php echo $selitem; ?>;
onload=setPressed;
function setPressed()
{
dtreet_ext_setPressedItem(0,dtreet_ext_getItemIDByIndex(0, i));
}
</script>
You should define selitem using server side script.