Recent Questions
Q: I have recenlty purchased Deluxe-Menu. I create the items through php. All works fine but the vista style javascript menu button do not display.
A: You should assign individual style for your top javascript menu buttons:
["ELECTRICAL","http://www.domain.com/points/section.php?xSec=76&jssCart=b0d3c67fa5c15ec029c138688b68a91b", "","","","","0","","","","",],
["GREEN PRODUCTS","http://www.domain.com/points/section.php?xSec=62&jssCart=b0d3c67fa5c15ec029c138688b68a91b", "","","","","0","","","","",],
["DIY","http://www.domain.com/points/section.php?xSec=23&jssCart=b0d3c67fa5c15ec029c138688b68a91b", "","","","","0","","","","",],
Q: I wanted to know if there's a way to make in the javascript expand menu the submenu to appear as regular text, not a link. Is there a way to do this?
A: Actually you are able to paste any html code within items.
For example:
var tmenuItems = [
...
["||<nobr><FORM method=GET action='http://www.google.com/custom'><input name='as_q' value='searchthe web' size=15 style='font-size:10'> <INPUT type=hidden name=cof value='LW:144;L:http://domain.edu/images/sulogo.gif;LH:45;AH:center;GL:0;S:http://domain.edu;AWFID:e01cb67b8afe383e;'></form></nobr>","", "images/icons/search.gif", "", "", "", "", "2", "", "", "",],
["test","testlink.html","",]
["<a href='testlink.html'> test </a>","","",]
["|There will be NO setup charge, if your letter is completely setup, and requires no further modifications.
To qualify for this option, you must provide us your letter in <b>Microsoft Word format</b> (version 2000 or newer).
Any/all graphics must be embedded in the Word document including your signature.
Your letters will be printed in the provided format without any changes such as repositioning, resizing or any <a href='testlink.html'>other modifications</a> to your text/graphics. If you require help with such changes, please use our Standard setup for a nominal fee. If your ^lt;font color="#0080ff">letter is using an uncommon font</font> (any font not standard to the Windows environment), then you must also email us the font file. You must also indicate the placement of any merge fields in the letter (the information you're pulling from your mailing list to be combined with each letter). To find out more about mail merge click here. ","","",]
Q: I am facing problem with deluxe tab. When a first level jscript tab is selected, sub tab of that tab should be in selected mode.
I need to change text color of "New contact" (sub tab) in selected mode to black.
A: Unfortunately Deluxe Tabs doesn't have such a feature now.
You use main tabs to show sub-tabs and click on sub-tabs to show their content or openlinks.
On the initial page load you can set the selected item and submenu item using thefollowing parameters:
var bselectedItem=1;
var bselectedSmItem=2;
Q: How do your users normally indicate which page a web visitor is on, by using your navigation bar submenu?
A: Deluxe Menu has only two states normal and mouseover.
Try to do the following things:
- delete var pressedItem=1; parameter from your data file
- set correct parameter on each page before you call data file, for
example:
<noscript><a href="http://deluxe-menu.com">Javascript Menu by Deluxe-Menu.com</a></noscript>
<script type="text/javascript"> var dmWorkPath = "menudir/";</script>
<script type="text/javascript" src="menudir/dmenu.js"></script>
<script type="text/javascript"> var pressedItem=3;</script>
...
<script type="text/javascript" src="menudir/data.js"></script>
You can also set a pressed item using Javascript API:
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.