javascriptler

Pop-Up Pencere açan script

www.gavurgeci.com

 



<!-- FOUR STEPS TO INSTALL TOP WINDOW (opener.html):

1. Paste the coding into the HEAD of your "opener" HTML document
2. Copy the second coding into the BODY of your "opener" page
3. Create your pop-up page and save it as popup-page.html
4. Put the onBlur handler in the BODY of popup-page.html -->

<!-- STEP ONE: Copy this code into the HEAD of your "opener" page -->

<HEAD>

<SCRIPT LANGUAGE="JavaScript">

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

<!-- Begin
function topWindow(){
popup = window.open("popup-page.html","","height=175,width=300,scrollbars=no");
}
// End -->
</SCRIPT>

<!-- STEP TWO: Add this code the the BODY of your "opener" page -->

<BODY>

<CENTER>
<FORM>
<INPUT TYPE="BUTTON" VALUE="Pop-Up" onClick="topWindow()">
</FORM>
</CENTER>

Java Sayfası