Excellence WebMenu Maker
htmlship1_ad.gif (6211 字节)
HtmlShip
 
Excellence Html Compress
 
OO Picture Game
Hot Software
Wav to mp3 Software
Excellence Killer
Hot Link
Uxiu Software
WebPictures Downloader

Java menu script>Menu Make>Customized Popup

Allow your visitors to have a popup page on your site appear exactly as they want! They can customize the width, height, and placement of a popup window on your site before the window is opened.
 

 

The JavaScript Source: Navigation: Customized Popup

Simply click inside the window below, use your cursor to highlight the script, and copy (type Control-c or Apple-c) the script into a new file in your text editor (such as Note Pad or Simple Text) and save (Control-s or Apple-s). The script is yours!!!


<!-- TWO STEPS TO INSTALL CUSTOMIZED POPUP:

1. Copy the coding into the HEAD of your HTML document
2. Add the last code into the BODY of your HTML document -->

<!-- STEP ONE: Paste this code into the HEAD of your HTML document -->

<HEAD>

<SCRIPT LANGUAGE="JavaScript">

<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->

<!-- Begin
function popupPage(l, t, w, h) {
var windowprops = "location=no,scrollbars=no,menubars=no,toolbars=no,resizable=yes" +
",left=" + l + ",top=" + t + ",width=" + w + ",height=" + h;

var URL = "http://www.yahoo.com";
popup = window.open(URL,"MenuPopup",windowprops);
}
// End -->
</script>
</HEAD>

<!-- STEP TWO: Copy this code into the BODY of your HTML document -->

<BODY>

<center>
<table>
<tr>

<td>
<form name=popupform>
<pre>
Customize Your Popup Window!<br>
Distance from left edge: <input type=text name=left size=2 maxlength=4> pixels
Distance from top edge: <input type=text name=top size=2 maxlength=4> pixels

Width of popup window: <input type=text name=width size=2 maxlength=4> pixels
Height of popup window: <input type=text name=height size=2 maxlength=4> pixels
</pre>
<center>
<input type=button value="Open the Popup!" onClick="popupPage(this.form.left.value, this.form.top.value, this.form.width.value, this.form.height.value)">
</center>
</form>
</td>

</tr>
</table>
</center>

<p><center>
<font face="arial, helvetica" size="-2">Free JavaScripts provided<br>
by <a href="http://javascriptsource.com">The JavaScript Source</a></font>
</center><p>

<!-- Script Size: 1.48 KB -->

 

Copyright © 2002-2003 Excellence Software, Inc.All rights reserved.