|
|
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 22, 2006 - Where do I add my "blahblah.htm" page links in js menu?
- 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?
- Oct 19, 2006 - I want a javascript toolbar with all the buttons the same length.
- Nov 03, 2006 - Can-t get our favorite template to linkin the javascript cascade menu
- Nov 17, 2006 - Is there a way to change preview screen color of the onmouseover menu maker?
- Nov 21, 2006 - Why the javascript submenu alignment changes depending on the browser window size?
- Dec 03, 2006 - We have several problems with your javascript side menu. Please, help!
- 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?
- Dec 21, 2006 - Can I install and run this pull down menu html on a server running OS X?
|