Recent Questions
Q: My menu font is white. Is there a way to set the preview screen background color to something else than white?
Cause this is a problem as the main menu bar does not have a background color ( I want the background image of the page to shine through).
A: Yes, you can do it. Please open in any text editor the following file:
"C:\Program Files\Deluxe Menu\deluxe-tuner\data\deluxe-menu\preview.html"
You should set bgcolor parameter, for example:
bgcolor=#000000
Q: Many thanks for your response.
What I meant to say was that the Deluxe tabs onmouseover maker did not include the vertical tabs as part of its repertoire and as a result, I was not able to produce it and integrate it into my page. I am not confident that I can edit the HTML adequately to make it work on my site if the Deluxe Maker did nod not generate it. I will look at this again and see if I reinstall the deluxe tuner whether it will generate the data for the vertical tabs.
Many Thanks for your assistance.
A: Set '$' symbol in the beginning of items text to start new row:
var bmenuItems = [
["Item 39","", "", "", "", "", "", "", "", ],
["$Item 40","", "", "", "", "", "", "", "", ],
["$Item 41","", "", "", "", "", "", "", "", ],
["$Item 42","", "", "", "", "", "", "", "", ],
];
You can open the data file for this sample in Deluxe Tuner and changeit.
C:\Program Files\Deluxe Menus Trial\deluxe-tabs\tabs-vertical.js
Q: My slide drop down menu appears at the top of the page rather than in the cell in which I placed it
A: You're using absolute position for the menu now:
var absolutePos=1;
You should use the relative position:
var absolutePos=0;
Q: IHow can i make that the background-color will be standing behind the click in this part of dhtml menu slide?
A: Deluxe Menu has only two states normal and mouseover, but
you can highlight menu items by default in two ways:
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, forexample:
<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.
You can find more info here:
http://www.deluxe-menu.com/highlighted-items-sample.html