|
|
I am having a problem trying to figure out how to generate a link to javascript popup window.
Return to Recent Questions
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 your
page.
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:"",
Return to Recent Questions
Related:
- Sep 30, 2006 - How can I open the link in a new window with your DHTML MENU?
- Oct 06, 2006 - How can I use right-to-left languages in javascript popupmenu?
- Nov 03, 2006 - Can-t get our favorite template to linkin the javascript cascade menu
- Nov 21, 2006 - Why the javascript submenu alignment changes depending on the browser window size?
- Dec 10, 2006 - On IE for Windows, the javascript floating window disappear as I roll over them
- Dec 14, 2006 - How to use a dhtml javascript menu item so that it opens a window at a certain size?
- Jan 28, 2007 - I would like to add a javascript link with onclick event to the html jump menu
- Feb 14, 2007 - I would like to have javascript link to our website when javascript turned off
- Feb 19, 2007 - I'm having several questions regarding your javascript mouse over popup menu
- Feb 25, 2007 - Could you please help me with creating of popup menu javascript?
- March 02, 2007 - javascript vertical menus generated by you deluxe menu package look bad...
|