Recent Questions
Q: I have a couple of questions related to the deluxe-menu software. Here they are:
I have been working with on a site and I am kind stack using the program. I want to use the tree option but not all java script drop menu items need to have subcategories. For example:
Category 1
Sub-menu 1-1
Sub-menu 1-2
Sub-menu 1-3
Category 2
Sub-menu 2-1
Sub-menu 2-2
Sub-menu 2-3
Category 3
Category 4 When someone click on the "Category 1" or "Category 2", I want them to see the sub-menus. However, when some click on "Category 3" or "Category 4", I would like to have it open the appropriate page. How do I do this? This will make a lot easier because not all java script drop menu items need to have sub-menus… I hope that makes sense and you can help me on getting this done.
Thanks in advance and looking forward to your answers,
A: You cannot use links for the top java script drop menu items in XP Style only.
var tXPStyle=1;
but you can write:
["<a href='http://deluxe-menu.com'>Item 45</a>","", "", "", "", "", "", "", "", ],
Q: However, when I place it inside a CSS-defined div element (for absolute page placement) the submenu's all drop down a couple hundred pixels.
A: See, the problem is that the script can't get css properties of the object if they are described in separate .css block (or file).In other words, you can't get the value of "POSITION: absolute" attribute of the object if the object doesn't have this property within inline style (style="POSITION:absolute;"). To get the value you should move .css style into style="" attribute.
Please, try to add your
css file -> inline css, for example:
You should add style="POSITION: absolute;"
to the
<div id="menu">
So, you'll have:
<DIV id="menu" style="POSITION: absolute;">
Try that.
Q: I paid for the Deluxe Tabs and built them the way I wanted with little modification. Everything is working fine except in Internet Explorer 6 on Windows. If I click on another of the 4 tabs in my navigation tabs, the content doesn't change.
A: You should set the following parameter:
var bselectedSmItem=0;
You should also add style="visibility: hidden;" for a content DIVs.
You won't see the content of all tabs when your page loads in thatcase.
<div id="tabcontent1" style="visibility: hidden;">
<div id="tabcontent2" style="visibility: hidden;">
...
Q: Is it possible to change the mouseover font style to bold within the deluxe menu?
A: Unfortunately, Deluxe Menu can't change font weight.
If you want to do that you can paste your own <div> withinitem's text field and change a font yourselves.
For example:
***
function changeFont(obj, over)
{
obj.style.fontWeight = over ? 'bold' : 'normal';
}
var menuItems = [
["<div onMouseOver='changeFont(this, 1)' onMouseOut='changeFont(this, 0)'>item text</div>", link, ...]
];
***