I am having a problem trying to figure out how to generate a link to window open html.
Return to Recent Questions
Q:
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 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 window open html when your page loads you should leave these fields empty:
onMouseOver:"",
onMouseOut:"",
onClick:"",
Return to Recent Questions
Related:
- Sep 15, 2006 - Are vertical menus also supported? I don't see any in the javascript menu examples.
- Sep 30, 2006 - How can I open the link in a new window with your DHTML MENU?
- Oct 12, 2006 - Can I create a scroll vertical menu on the right side and the subnav popout on the LEFT?
- Oct 31, 2006 - Java script executes when the link is clicked it is not the html drop down link itself.
- Nov 10, 2006 - I want to set the status bar messages to another than the link text from the xp menu items?
- Nov 17, 2006 - How can I open a new window of a specific dimension in the dhtml toolbar?
- Nov 30, 2006 - I'm trying to simply use javascript to add some properties to my javascript menu sample.
- Dec 14, 2006 - How to use a dhtml javascript menu item so that it opens a window at a certain size?
- Dec 17, 2006 - Some page visitors couldn’t see the javascript rollover menu.
- Dec 29, 2006 - How can I open sliding drop down menu on simple link mouse over?
- Jan 03, 2007 - In the horizontal drop down menu my html files still open in a new window.
|