• 11-03-2007, 20:46:36
    #1
    arkadaşlar şöyle bi pop up kodu arıyorum şimdi siteye koyduk diyelim ziyaretçi sayfayı açınca pop up kodu çalıştı ve altta yeni bi pencere açtı..

    açılan pencereyi 1 saniye sonra otomatik kapatıcak ?
    warmı böyle bişe
  • 11-04-2007, 10:13:28
    #2
    bu kod ertan'dan alıntıdır.

    Sayfa yüklenince 3 saniyede açılır 5 saniye sonra kapanır.

    <!-- 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!! JavaScript Source: Free JavaScripts, Tutorials, Example Code, Reference, Resources, And Help -->
    <!-- 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 -->
  • 13-12-2008, 08:38:03
    #3
    Üyeliği durduruldu
    Kod çalışıyor teşekkürlerde acaba site isimlerini nereden değiştircez.
  • 13-12-2008, 08:43:15
    #4
    text += "<a href='http://neunkirchen.kolayweb.com' target='_blank'><h2>Neunkirchen</h2></a>";
  • 13-12-2008, 08:43:53
    #5
    Misafir
    htmlkodlar adlı üyeden alıntı: mesajı görüntüle
    Kod çalışıyor teşekkürlerde acaba site isimlerini nereden değiştircez.
    siteye eklerken cute ftp üzerinde edit diyip değiştirebilirsiniz.
    not defterinde değiştirip kaydedip ordan kopyalayıp kodlarınıza yapıştırabilirsiniz.
  • 13-12-2008, 14:21:10
    #6
    Benimde çok işime yaradı teşekkürler.