Programalama > JAVA SCRIPT

<!-- THREE STEPS TO INSTALL AUTO POPUP WINDOW:

  1.  Copy the coding into the HEAD of your HTML document
  2.  Add the onLoad event handler into the BODY tag
  3.  Put the last coding into the BODY of your HTML document  -->

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

<HEAD>

<SCRIPT LANGUAGE="JavaScript">
<!-- Original:  Rick Johnson (frj11@ev1.net) -->
<!-- Web Site:  http://rickjohnson.tripod.com -->

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

<!-- Begin
function popupWin() {
text =  "<html>\n<head>\n<title>Neunkirchen</title>\n<body>\n";
text += "<center>\n<br>";
text += "<a href='http://neunkirchen.kolayweb.com' target='_blank'><h2>Neunkirchen</h2></a>";
text += "</center>\n</body>\n</html>\n";
setTimeout('windowProp(text)', 3000); 		// delay 3 seconds before opening
}
function windowProp(text) {
newWindow = window.open('','newWin','width=300,height=100');
newWindow.document.write(text);
setTimeout('closeWin(newWindow)', 5000);	// delay 5 seconds before closing
}
function closeWin(newWindow) {
newWindow.close();				// close small window and depart
}
//  End -->
</script>

</HEAD>

<!-- STEP TWO: Insert the onLoad event handler into your BODY tag  -->

<BODY onLoad="popupWin()">

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

<center>
Sayfa yüklendikten 3 saniye sonra pop-up açılır ve 5 saniye sonrada kapanır.
</center>

<p><center>
<font face="arial, helvetica" size"-2">Bedava KODLAR.<br>
<a href="http://neunkirchen.kolayweb.com">Neunkirchen - HTML-JAVA !!!</a></font>
</center><p>

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


Yorumlar                 Yorum Yaz
Bu hazır kod'a ilk yorumu siz yapın!
KATEGORİLER
ASP - 240
ASP.NET - 24
C# - 75
C++ - 174
CGI - 8
DELPHI - 247
FLASH - 49
HTML - 536
PASCAL - 246
PERL - 11
PHP - 160
WML - 9
XML - 2
Copyright © 2002 - 2024 Hazır Kod - Tüm Hakları Saklıdır.
Siteden yararlanırken gizlilik ilkelerini okumanızı tavsiye ederiz.
hazirkod.com bir İSOBİL projesidir.