Recent Questions Tree Menu JavaQ:
I love the new pop windows. That is something I need right now. I am having a problem trying to figure out how to generate a link to window open html. I looked at what you have on your site but it is not clear to me. 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, forexample:
In Deluxe Tuner you should set:
onMouseOver - over
onMouseOut - out
onClick - link
If you want to show the window open html when your page loads you should leave these fields empty:
This won't work the java script executes when the link is clicked it is not the link itself.
Below is what I normally use and how would I incorporate that?
<a onclick="NewWindow(this.href,'name','490','400','yes');return false;" href="web/equipment/hydraulic_truck.htm"> A: I'm not sure I understand you.
You can use
code in an item link:
But if you don't want that, you can just insert <a> into an item text.
I have a popup that in one of the submenus has an input field.
There is a problem – if the user clicks into the entry field,
but moves the mouse outside the php dhtml menu,
the menu can close while the user is still typing.
Is there any way to prevent that from happening?A: You can make submenus to stay visible till you click outside the menu or scroll your page.
To enable this feature you should set the following parameter:
If there is an option in the php navigation bar to make all of the top items the same size? A: Set width for the items using Individual styles:
var itemStyles=[["itemWidth=100px"],] //style 0
Assign Individual Styles for the menu Items.
var menuItems = [
["Item 1","", "", "", "", "", "0", "", "", "", "", ], //style 0
["Item 2",", "data2.files/icon1.gif", "data2.files/icon1o.gif", "", "", "0", "", "", "", "", ], //style 0
You can see more info here: