Recent Questions
Q: I’m trying to add a padding before the beforeItemImage for the sub navigation bar but I can’t do it after hours off trying it.
A: You should add a separator with blank (or white) image.
var separatorVImage="deluxe-menu.files/space.gif";
var separatorVWidth="7px";
var separatorVHeight="27px";
var separatorPadding="0px";
And assign Individual style for this item
["itemBorderWidth=0","itemBorderStyle=none,none"],
Q: I am having a problem trying to figure out how to generate a link to javascript popup window.
A: You can show the popup window when you hover, click or mouseout on some elements on yourpage.
For example you've added an image in your html page.
You should specify the ID for it, for example:
<p><img id="open_popup" border="0" src="images/submenu-bg.gif" width="170" height="29"></p>
In the Deluxe Tuner you should enter 'open_popup' object ID in the onMouseOver,onClick or onMouseOut fields.
Actually you can assign id to any object on your page manually. You should specify ID's - id="xxxx" for <a>, <div>, <img> ... tags.
Or you want to open a popup onMouseover, onClick or onMouseout on a link.
So, you should create a link (you can also use other object) on your page and set id="" for it, for example:
<a href="javascript:;" id="link">Open popup OnClick</a>
<a href="javascript:;" id="over">Open popup OnMouseover</a>
<a href="javascript:;" id="out">Open popup OnMouseOut</a>
In Deluxe Tuner you should set:
onMouseOver - over
onMouseOut - out
onClick - link
If you want to show the popup when your page loads you should leave these fields empty:
onMouseOver:"",
onMouseOut:"",
onClick:"",
Q: I never had trouble with your other scripts but Deluxe Tuner is very difficult and I am about to give it up.
I am trying to set up a new navigation bar using vista 3-1. If I add another Vista drop down menu buttons, they have a completely different look to the ones with the templates. It makes no sense.
How do I add items and have it remain the same look?.
A: See, in Vista style templates we use Individual Item Styles for thetop items.
For, example select the first item on the main window.
In the "Item Parameters" window you can see Individual Styles assignedfor this item:
Item Style - Top Item
Submenu Style - Top Menu
When you add the new item you should assign Individual Styles for itin the same way.
That is all.
Q: I have a quick question: I have an iframe menu item (see note 1) for the dhtml menu sample,
and when I click a link in that iframe, I would like to close the menu.
Is this possible, perhaps by using a javascript call?
A: You couldn't close the menu, you can only hide it.
You can try touse the following code to hide the menu.
["||test menuitem
<iframe src='test.php' onClick='document.getElementById(\'dm0m0\').style.visibility=\'hidden\';'
></iframe>","", , , , ,"0" , , , ],
You can also place your Iframe in DIV tag with indents.
["||test menuitem
<div style='padding: 10px;'><iframesrc='test.php'
onClick='document.getElementById(\'dm0m0\').style.visibility=\'hidden\';'></iframe></div>","", , , , ,"0" , , , ],