Recent Questions Scripts TreeviewQ: Can your dhtml popup menu work in conjunction with a scroll wheel?
A: You cannot scroll submenus using scroll wheel when you set
To scroll your submenu you should move your mouse.
But you can use scroll wheel when you set
Q: I got the menu to display across frames, but it displays differently in Firefox & Mozillavs. Internet Explorer. Is that to be expected?
In The Mozilla-based browsers, the submenu butts right upunder the main menu – which is how I want it. In IE, it is about 10 pixels below.
Also, I can’t get the submenus to drop down directly under the main menus – they are offset by about 100 pixels to the right.
A: The problem is in a structure of your frameset.
Mozilla browsers can't determine absolute coordinates for a frame, sosubmenus drop down with an offset.
You should create the following frameset structure:
Now a top row has 2 columns and all browsers can determine awidth of the 1st column in the second row.
Q: The window pops up every time I load the screen.
I want dhtml pop up window to pop when someone clicks.
A: You can specify the ID of the element you want to click on.
Actions sections in Deluxe Tuner, onClick parameter.
1) You can show the popup window when you hover, click or mouseout on some elements on yourpage. For example you have:
<p><img border="0" src="images/submenu-bg.gif" width="170" height="29" id="open_popup"></p>
So, in 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:
add id="open_popup" for <a>, <div>, <img> ... tags.
2) You can also use deluxePopupWindow.open() function to open the popups.
More info about deluxePopupWindow.open() function you can find:
function deluxePopupWindow.open("winID", "content", "header", "param", "skin", "contentType")
Use another winID (first parameter) than you have in your data file if you don't want to close 1-st popup window or use thesame winID=win if you want to close 1-st popup.
content - will be the path to the file you want to load in your popup (files/test.html)
skin - is the name of your skin (default in my example)
contentType - set this parameter to iframe.
If you want to open several windows at once use different id's for each link.
or for each item individually:
["Home","testlink.html", "", "", "", "_self", "", "", "", "", "", ],