Recent Questions Column Tree Js ExamplesQ:
I've spent the last 30 minutes or so looking for samples on how to create a simple pop up window. I downloaded the trial, put in the html, saved the js file, etc etc. But there is no sample so I can't see exactly how to do the html.
Like, in the tuner it says to enter the ID of the link. What is this? where do I put the onClick code? where can I find the onClick code? There is a lot of info missing here.
Please send a simple template so I can see how a popup is done. Not a menu, just a popup. A: > But there is no sample so I can't see exactly how to do the html.
You should create the pop up window in Deluxe Tuner and export it in the HTML page "File/Export/To HTML".
See more info about installation here:
> where can I find the onClick code?
See 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>
So, 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.
If you want to show the popup when your page loads you should leave these fields empty:
You can also turn off transitional effects
I'm using your DHTML menu product.
I've read the parameters but am unable to make the drop down menu links stop spawning a new window on click.
I love the product and want to use it on my web but I've got to make it stop having babies! Have you some advice for me or a FAQ page you can send? A: You should use the following parameter
var itemTarget = "_self";
Please, see also individual items targets, for example:
["|Features","testlink.html", "default.files/icon2.gif", "default.files/icon2o.gif", , "_blank", , , , ],
Change "_blank" to "" or to "_self".
var menuItems = [
window.print();", icon1, icon2],
But if you want to hide the menu when your customers push "File/Print"you should write so:
You must create two functions, for example:
You should add this functions into your code.
And then you must write so:
window.onbeforeprint = myprint;
window.onafterprint = myprint2;