Bedava Forum: Yetkinforumun Destek Forumu
Yetkinforum'un destek forumuna hoş geldiniz Smile

Eğer üye iseniz lütfen giriş yapınız, eğer henüz üye değilseniz ve forumdan tam olarak yararlanmak istiyorsanız bizim topluluğumuza katılabilirsiniz

Bu forum gibi ücretsiz forum kurmak
Bedava Forum: Yetkinforumun Destek Forumu
Yetkinforum'un destek forumuna hoş geldiniz Smile

Eğer üye iseniz lütfen giriş yapınız, eğer henüz üye değilseniz ve forumdan tam olarak yararlanmak istiyorsanız bizim topluluğumuza katılabilirsiniz

Bu forum gibi ücretsiz forum kurmak
Forumotion support forum

Redirection...
Öğretici Konular Ara...
Sorularınızın Cevaplarını daha kolay bulabilmek için bu arama yerini kullanabilirsiniz !



Görünüm olarak :



Giriş yap

Şifremi unuttum

En son konular
» [Önemli] Türk destek forumunda artık destek verilmeyecektir.
Forumlariniz icin degisik Kodlar [konu 1] - Sayfa 25 EmptySalı 12 Ekim 2021 - 23:12 tarafından ankatr

» Çok Acil Bir Yardım Çağrısı
Forumlariniz icin degisik Kodlar [konu 1] - Sayfa 25 EmptyÇarş. 20 Ara. 2017 - 19:27 tarafından maxivizyonum

» Domain hakkinda
Forumlariniz icin degisik Kodlar [konu 1] - Sayfa 25 EmptyÇarş. 20 Ara. 2017 - 17:50 tarafından maxivizyonum

» Yıllar Önce Açtığım Siteye Ulaşamıyorum Kapatmak İstiyorum.
Forumlariniz icin degisik Kodlar [konu 1] - Sayfa 25 EmptyCuma 15 Eyl. 2017 - 23:08 tarafından Percy

» Profil alani
Forumlariniz icin degisik Kodlar [konu 1] - Sayfa 25 EmptyPerş. 25 Mayıs 2017 - 1:37 tarafından snappy

» Portal istek
Forumlariniz icin degisik Kodlar [konu 1] - Sayfa 25 EmptyCuma 19 Mayıs 2017 - 8:06 tarafından Kertelek

» Kategorilerin üzerine duyuru
Forumlariniz icin degisik Kodlar [konu 1] - Sayfa 25 EmptyC.tesi 13 Mayıs 2017 - 16:29 tarafından Maxelle

» SSL Sertifika güvenli değil htpps
Forumlariniz icin degisik Kodlar [konu 1] - Sayfa 25 EmptyPerş. 11 Mayıs 2017 - 17:04 tarafından Atiim

» Anasayfa Son Mesajlar Çerceve
Forumlariniz icin degisik Kodlar [konu 1] - Sayfa 25 EmptyPaz 7 Mayıs 2017 - 1:14 tarafından Maxelle

Bedava forum kurmak
Facebook/Twitter
Forumlariniz icin degisik Kodlar [konu 1] - Sayfa 25 Twitter   Forumlariniz icin degisik Kodlar [konu 1] - Sayfa 25 Facebook_boton
Forumlariniz icin degisik Kodlar [konu 1] - Sayfa 25 85243212  Forumlariniz icin degisik Kodlar [konu 1] - Sayfa 25 Dailym10

Similar topics

    Forumlariniz icin degisik Kodlar [konu 1]

    +130
    CHieF
    bugra5454
    NiLLy Lee
    İMRAN FM
    FerDi
    Sezen Delisi
    KaN
    Anka0613
    Efastus
    ::PATRON::
    fearles577
    Chazy Chazz
    terlan
    TuaL
    Safaceza51
    AktiForum
    WeLeT
    Müc@hid
    Muro
    Emule
    BomBaCi
    i-r-f-a-n
    bin903
    Ahçı Süngerbob
    Paradso
    yoshy5555
    serk@n
    Carucci
    -=[UFUK]=-
    çiko
    cYpeRz
    lutfenyardim
    saLih*aLcay
    ozan72
    Punk Princess
    Bilgici92
    Dr.Seytandiss
    frokolar
    humanely1
    CyBeRaY
    wandeLLas
    CaspeR1994
    walasiga
    TA2FORUM
    zuzu
    ahmet-yunus
    Adslook
    RaFa-eL MenDeZ.ıIIı.
    [ *Joe Jonas* ]
    orjinalkiz
    İmaginative
    NurBahcesi
    shekran
    zeynep20
    &#1109¢&#1103
    RuBi
    muselmansuffe
    madrox
    muratwebdesıgner
    Musa
    adana01
    cHndGn
    YONCA_ÇINAR
    _KaraDumaN_
    _LoRd_
    DeJaVu
    hakkidegirmenci
    e.prenses_138
    djalper01
    yoshy55
    **ZeHiR**
    EnginWeb
    The_TokaT60
    ertac97
    DENiZEVi
    admın-cemre
    hakan52
    hackermert
    ebrarli
    Kizil Kabus
    Paradiz
    By_MiCRoP
    orhanizm2
    terminator37
    pırto
    Y.u.G.a.F
    DeRiN DaRBe
    ouz
    cemix22
    linkin43
    ouroboros
    the_finishlife
    elo
    çağrıbaba
    romaryu
    bekir_fb
    mervinho
    infazcı_kafkef_61
    Er-Ryan
    ßeyazZ_meLeq
    Gamze
    djosse
    sedaa
    BERXUDAN
    srmthfg
    Alphonso
    TeHLiXe
    Rocq^PrenseSi's
    hackerbaba
    MyNq
    ManiacTurk
    PinxGirL
    buyukcanlar
    ismetdus
    buz_mavisi
    ustad
    Rapci.Kız
    kemik95
    tam-90
    LeganD
    wanted35
    Patron
    MaSuM_GuDi
    digitex
    AdminTR
    RaP BaBa
    KrAl_1990
    sedat5453
    kalaf
    shanex
    134 posters

    25 sayfadaki 34 sayfası Önceki  1 ... 14 ... 24, 25, 26 ... 29 ... 34  Sonraki

    Aşağa gitmek

    Forumlariniz icin degisik Kodlar [konu 1] - Sayfa 25 Empty Forumlariniz icin degisik Kodlar [konu 1]

    Mesaj tarafından shanex Paz 2 Kas. 2008 - 20:13

    Konunun ilk mesajı :

    ZİYARETÇİ BİLGİ
    Kod:
    <center><script language="Javascript" src="http://www.ip2phrase.com/ip2phrase.asp?template=Ülke : <COUNTRY> <FLAG> İp Adresiniz Kayıt Edildi: <IP> Şehir : <CITY>"></script></center>
    Kod:
    <!-- Start ip2location.com Link --> <IFRAME SRC="http://www.ip2location.com/ib1/" WIDTH="404" HEIGHT="86" MARGINWIDTH="1" SCROLLING="no" FRAMEBORDER="0"></IFRAME><!-- End ip2location.com Link -->
    Kod:
    <!-- Start ip2location.com Link --><IFRAME SRC="http://www.ip2location.com/ib2/" WIDTH="204" HEIGHT="162" MARGINWIDTH="1" SCROLLING="no" FRAMEBORDER="0"></IFRAME><!-- End ip2location.com Link -->
    Kod:
    <!-- Start BrowserObject.com Link --><IFRAME SRC="http://www.browserobject.com/ib1/" WIDTH="404" HEIGHT="86" MARGINWIDTH="1" SCROLLING="no" FRAMEBORDER="0"></IFRAME><!-- End BrowserObject.com Link -->
    KAYNAK http://www.ip2location.com/
    Kod:
    <center><img src="http://www.wieistmeineip.de/ip-address" alt="Bilgileriniz sistemimize kaydedilmektedir."></center>
    Yönetim paneli>>afişasmak>> Genel Yönetim>>index_body>>buranın deyiştirine basıp kodların ensonuna yapıştırın.göndere bastıktan sonra yayınlatmak için + işaretine basın.


    En son shanexx tarafından Ptsi 12 Ocak 2009 - 11:42 tarihinde değiştirildi, toplamda 4 kere değiştirildi
    shanex
    shanex
    Yetkinemektar

    Erkek
    Mesaj Sayısı : 8455
    Yaş : 40
    Uyarı yok

    http://mu-online.turkforumpro.net/

    Sayfa başına dön Aşağa gitmek


    Forumlariniz icin degisik Kodlar [konu 1] - Sayfa 25 Empty Geri: Forumlariniz icin degisik Kodlar [konu 1]

    Mesaj tarafından Müc@hid Salı 28 Nis. 2009 - 22:07

    Menülü Takvim




    Kod:

    <!-- THREE STEPS TO INSTALL SELECT-A-MONTH:

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

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

    <HEAD>

    <SCRIPT LANGUAGE="JavaScript">

    <! >
    <! >

    <!-- Original:  Rob Patrick (rpatrick@mit.edu) -->
    <!-- Begin
    function setToday() {
    var now  = new Date();
    var day  = now.getDate();
    var month = now.getMonth();
    var year  = now.getYear();
    if (year < 2000)    // Y2K Fix, Isaac Powell
    year = year + 1900; // http://onyx.idbsu.edu/~ipowell
    this.focusDay = day;
    document.calControl.month.selectedIndex = month;
    document.calControl.year.value = year;
    displayCalendar(month, year);
    }
    function isFourDigitYear(year) {
    if (year.length != 4) {
    alert ("Sorry, the year must be four-digits in length.");
    document.calControl.year.select();
    document.calControl.year.focus();
    } else { return true; }
    }
    function selectDate() {
    var year  = document.calControl.year.value;
    if (isFourDigitYear(year)) {
    var day  = 0;
    var month = document.calControl.month.selectedIndex;
    displayCalendar(month, year);
        }
    }

    function setPreviousYear() {
    var year  = document.calControl.year.value;
    if (isFourDigitYear(year)) {
    var day  = 0;
    var month = document.calControl.month.selectedIndex;
    year--;
    document.calControl.year.value = year;
    displayCalendar(month, year);
      }
    }
    function setPreviousMonth() {
    var year  = document.calControl.year.value;
    if (isFourDigitYear(year)) {
    var day  = 0;
    var month = document.calControl.month.selectedIndex;
    if (month == 0) {
    month = 11;
    if (year > 1000) {
    year--;
    document.calControl.year.value = year;
    }
    } else { month--; }
    document.calControl.month.selectedIndex = month;
    displayCalendar(month, year);
      }
    }
    function setNextMonth() {
    var year  = document.calControl.year.value;
    if (isFourDigitYear(year)) {
    var day  = 0;
    var month = document.calControl.month.selectedIndex;
    if (month == 11) {
    month = 0;
    year++;
    document.calControl.year.value = year;
    } else { month++; }
    document.calControl.month.selectedIndex = month;
    displayCalendar(month, year);
      }
    }
    function setNextYear() {
    var year = document.calControl.year.value;
    if (isFourDigitYear(year)) {
    var day = 0;
    var month = document.calControl.month.selectedIndex;
    year++;
    document.calControl.year.value = year;
    displayCalendar(month, year);
      }
    }
    function displayCalendar(month, year) {     
    month = parseInt(month);
    year = parseInt(year);
    var i = 0;
    var days = getDaysInMonth(month+1,year);
    var firstOfMonth = new Date (year, month, 1);
    var startingPos = firstOfMonth.getDay();
    days += startingPos;
    document.calButtons.calPage.value  =  " Su Mo Tu We Th Fr Sa";
    document.calButtons.calPage.value += "\n --------------------";
    for (i = 0; i < startingPos; i++) {
    if ( i%7 == 0 ) document.calButtons.calPage.value += "\n ";
    document.calButtons.calPage.value += "  ";
    }
    for (i = startingPos; i < days; i++) {
    if ( i%7 == 0 ) document.calButtons.calPage.value += "\n ";
    if (i-startingPos+1 < 10)
    document.calButtons.calPage.value += "0";
    document.calButtons.calPage.value += i-startingPos+1;
    document.calButtons.calPage.value += " ";
    }
    for (i=days; i<42; i++)  {
    if ( i%7 == 0 ) document.calButtons.calPage.value += "\n ";
    document.calButtons.calPage.value += "  ";
    }
    document.calControl.Go.focus();
    }
    function getDaysInMonth(month,year)  {
    var days;
    if (month==1 || month==3 || month==5 || month==7 || month==8 || month==10 || month==12)  days=31;
    else if (month==4 || month==6 || month==9 || month==11) days=30;
    else if (month==2)  {
    if (isLeapYear(year)) { days=29; }
    else { days=28; }
    }
    return (days);
    }
    function isLeapYear (Year) {
    if (((Year % 4)==0) && ((Year % 100)!=0) || ((Year % 400)==0)) {
    return (true);
    } else { return (false); }
    }
    // End -->
    </SCRIPT>

    <!-- STEP TWO: Add the onLoad event handler to the BODY tag  -->

    <BODY onLoad="setToday()">

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

    <CENTER>
    <H2>Select-A-Month</H2>
    <FORM NAME="calControl" onSubmit="return false;">
    <TABLE CELLPADDING=0 CELLSPACING=0 BORDER=0>
    <TR><TD COLSPAN=7>
    <CENTER>
    <SELECT NAME="month" onChange="selectDate()">
    <OPTION>January
    <OPTION>February
    <OPTION>March
    <OPTION>April
    <OPTION>May
    <OPTION>June
    <OPTION>July

    <OPTION>August
    <OPTION>September
    <OPTION>October
    <OPTION>November
    <OPTION>December
    </SELECT>
    <INPUT NAME="year" TYPE=TEXT SIZE=4 MAXLENGTH=4>
    <INPUT TYPE="button" NAME="Go" value="Build!" onClick="selectDate()">
    </CENTER>
    </TD>
    </TR>
    </FORM>
    <FORM NAME="calButtons">
    <TR><TD align="center"><textarea FONT="Courier" NAME="calPage" WRAP=no ROWS=8 COLS=22></textarea></TD><TR><TD><CENTER>
    <INPUT TYPE=BUTTON NAME="previousYear" VALUE=" <<  "    onClick="setPreviousYear()">
    <INPUT TYPE=BUTTON NAME="previousYear" VALUE="  <  "    onClick="setPreviousMonth()">
    <INPUT TYPE=BUTTON NAME="previousYear" VALUE="Today"    onClick="setToday()">
    <INPUT TYPE=BUTTON NAME="previousYear" VALUE="  >  "    onClick="setNextMonth()">
    <INPUT TYPE=BUTTON NAME="previousYear" VALUE="  >> "    onClick="setNextYear()">
    </CENTER></TD></TR>
    </TABLE></FORM></FONT>

     

    <!-- Script Size:  5.31 KB  -->
    Müc@hid
    Müc@hid
    Aktif-Üye !
    Aktif-Üye !

    Erkek
    Mesaj Sayısı : 1510
    Uyarı yok

    http://www.googlez.net

    Sayfa başına dön Aşağa gitmek

    Forumlariniz icin degisik Kodlar [konu 1] - Sayfa 25 Empty Geri: Forumlariniz icin degisik Kodlar [konu 1]

    Mesaj tarafından Müc@hid Salı 28 Nis. 2009 - 22:08

    Tüm Aylari Gösteren Kod

    Kod:

    <!-- TWO STEPS TO INSTALL YEAR CALENDAR:

      1.  Paste the specified coding into the HEAD of your HTML document
      2.  Put the last code into the BODY of your HTML document  -->

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

    <HEAD>

    <SCRIPT LANGUAGE="JavaScript">

    <! >
    <! >

    <!-- Begin
    function day_title(day_name){
    document.write("<TD ALIGN=center WIDTH=35>"+day_name+"</TD>")
    }
    function fill_table(month,month_length) {
    day=1
    document.write("<TABLE BORDER=3 CELLSPACING=3 CELLPADDING=%3><TR>")
    document.write("<TD COLSPAN=7 ALIGN=center><B>"+month+"  "+year+"</B><TR>")
    day_title("Sun")
    day_title("Mon")
    day_title("Tue")
    day_title("Wed")
    day_title("Thu")
    day_title("Fri")
    day_title("Sat")
    document.write("</TR><TR>")
    for (var i=1;i<start_day;i++) {
    document.write("<TD>")
    }
    for (var i=start_day;i<8;i++) {
    document.write("<TD ALIGN=center>"+day+"</TD>")
    day++}
    document.write("<TR>")
    while (day <= month_length) {
    for (var i=1;i<=7 && day<=month_length;i++) {
    document.write("<TD ALIGN=center>"+day+"</TD>")
    day++
    }
    document.write("</TR><TR>")
    start_day=i
    }
    document.write("</TR></TABLE><BR>")
    }
    // End -->
    </script>

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

    <BODY>

    <SCRIPT LANGUAGE="JavaScript">
    <!-- Begin
    today = new Date();
    year = today.getYear();
    if (year < 2000)    // Y2K Fix, Isaac Powell
    year = year + 1900; // http://onyx.idbsu.edu/~ipowell
    today= new Date("January 1, "+year)
    start_day = today.getDay() + 1 
    fill_table("January",31)

    if (((year % 4)==0) && ((year % 100)!=0) || ((year % 400)==0))
    { fill_table("February", 29); }
    else { fill_table("February", 28); }

    fill_table("March",31)
    fill_table("April",30)
    fill_table("May",31)
    fill_table("June",30)
    fill_table("July",31)
    fill_table("August",31)
    fill_table("September",30)
    fill_table("October",31)
    fill_table("November",30)
    fill_table("December",31)
    </SCRIPT>
    </BODY>

     

    <!-- Script Size:  1.83 KB  -->
    Müc@hid
    Müc@hid
    Aktif-Üye !
    Aktif-Üye !

    Erkek
    Mesaj Sayısı : 1510
    Uyarı yok

    http://www.googlez.net

    Sayfa başına dön Aşağa gitmek

    Forumlariniz icin degisik Kodlar [konu 1] - Sayfa 25 Empty Geri: Forumlariniz icin degisik Kodlar [konu 1]

    Mesaj tarafından Müc@hid Salı 28 Nis. 2009 - 22:09

    Alarm Kodu:

    Kod:

    <!-- THREE STEPS TO INSTALL ALARM CLOCK:

      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:  John Caranta (caranta@netzero.net) -->

    <! >
    <! >

    <!-- Begin
    var alarmTime;
    var curTime;
    var check = new Date();
    var hourNum;
    var minNum;
    function GetTime() {
    var dt = new Date();
    document.clock.local.value = IfZero(dt.getHours()) + ":" + IfZero(dt.getMinutes());
    setTimeout("GetTime()", 1000);
    curTime = (IfZero(dt.getHours()) + ":" + IfZero(dt.getMinutes()));
    }
    function IfZero(num) {
    return ((num <= 9) ? ("0" + num) : num);
    }
    function alarmSet() {
    hourNum = document.clock.hourOpt[document.clock.hourOpt.selectedIndex].value;
    minNum = document.clock.minOpt[document.clock.minOpt.selectedIndex].value;
    alarmTime = hourNum + ":" + minNum;
    }
    function alarmOn() {
    if (alarmTime == curTime) {
    document.all.sound.src = document.clock.alarmSound.value;
    }
    else {
    setTimeout("alarmOn()", 1000)
      }
    }
    function alarmOff() {
    document.all.sound.src = "";
    alarmTime="";
    }
    function snooze() {
    document.all.sound.src = "";
    var snoozeL = parseInt(document.clock.snoozeOpt[document.clock.snoozeOpt.selectedIndex].value);
    var snooze = new Date();
    alarmTime = IfZero(snooze.getHours()) + ":" + IfZero(snooze.getMinutes() + snoozeL);
    alarmOn();
    }
    //  End -->
    </script>
    <bgSound src="" id="sound">
    </HEAD>

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

    <BODY onLoad="GetTime()">

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

    <table width=100% border=1>
    <tr>
    <td align=middle>
    <form name="clock">
    <input size="8" name="local">
    <input type=radio name=alarmOnOff onClick="alarmOn()">On
    <input type=radio name=alarmOnOff onClick="alarmOff()" checked>Off
    <td align=middle>
    Set Alarm:
    <br>
    <select name=hourOpt onChange="alarmSet()" size=1>
    <option value="00">00<option value="01">01<option value="02">02<option value="03">03
    <option value="04">04<option value="05">05<option value="06">06<option value="07">07
    <option value="08">08<option value="09">09<option value="10">10<option value="11">11
    <option selected value="12">12
    <option value="13">13<option value="14">14<option value="15">15<option value="16">16
    <option value="17">17<option value="18">18<option value="19">19<option value="20">20
    <option value="21">21<option value="22">22<option value="23">23
    </option>
    </select>
    <select name=minOpt onChange="alarmSet()" size=1>
    <option selected value="00">00<option value="01">01<option value="02">02<option value="03">03
    <option value="04">04<option value="05">05<option value="06">06<option value="07">07
    <option value="08">08<option value="09">09<option value="10">10<option value="11">11
    <option value="12">12<option value="13">13<option value="14">14<option value="15">15
    <option value="16">16<option value="17">17<option value="18">18<option value="19">19
    <option value="20">20<option value="21">21<option value="22">22<option value="23">23
    <option value="24">24<option value="25">25<option value="26">26<option value="27">27
    <option value="28">28<option value="29">29<option value="30">30<option value="31">31
    <option value="32">32<option value="33">33<option value="34">34<option value="35">35
    <option value="36">36<option value="37">37<option value="38">38<option value="39">39
    <option value="40">40<option value="41">41<option value="42">42<option value="43">43
    <option value="44">44<option value="45">45<option value="46">46<option value="47">47
    <option value="48">48<option value="49">49<option value="50">50<option value="51">51
    <option value="52">52<option value="53">53<option value="54">54<option value="55">55
    <option value="56">56<option value="57">57<option value="58">58<option value="59">59
    </option>
    </select>
    <tr>
    <td align=middle>
    Select Alarm Sound:
    <br>
    <input type=file size=4 name=alarmSound>
    <td align=middle>
    Snooze For:
    <br>
    <select NAME=snoozeOpt size=1 onChange="snooze()">
    <option value="1">1<option value="2">2<option value="3">3<option value="4">4
    <option value="5">5<option value="6">6<option value="7">7<option value="8">8
    <option value="9" selected>9
    </option>
    </select>
    </form>
    </td>
    </tr>
    </table>

     

    <!-- Script Size:  5.28 KB -->
    Müc@hid
    Müc@hid
    Aktif-Üye !
    Aktif-Üye !

    Erkek
    Mesaj Sayısı : 1510
    Uyarı yok

    http://www.googlez.net

    Sayfa başına dön Aşağa gitmek

    Forumlariniz icin degisik Kodlar [konu 1] - Sayfa 25 Empty Geri: Forumlariniz icin degisik Kodlar [konu 1]

    Mesaj tarafından Müc@hid Salı 28 Nis. 2009 - 22:10

    Button Time:

    Kod:

    <!-- ONE STEP TO INSTALL BUTTON TIME:

      1.  Put the coding into the BODY of your HTML document  -->

    <!-- STEP ONE: Add this code into the BODY of your HTML document  -->

    <BODY>

    <SCRIPT LANGUAGE="JavaScript">

    <!-- Original: Michael Tartaglia <stonedstan@hotmail.com> -->
    <!-- Web Site:  http://www.geocities.com/SiliconValley/Horizon/5235 -->

    <! >
    <! >

    <!-- Begin
    day = new Date();
    miVisit = day.getTime();
    function clock() {
    dayTwo = new Date();
    hrNow = dayTwo.getHours();
    mnNow = dayTwo.getMinutes();   
    scNow = dayTwo.getSeconds();
    miNow = dayTwo.getTime();
    if (hrNow == 0) {
    hour = 12;
    ap = " AM";
    } else if(hrNow <= 11) {
    ap = " AM";
    hour = hrNow;
    } else if(hrNow == 12) {
    ap = " PM";
    hour = 12;
    } else if (hrNow >= 13) {
    hour = (hrNow - 12);
    ap = " PM";
    }
    if (hrNow >= 13) {
    hour = hrNow - 12;
    }
    if (mnNow <= 9) {
    min = "0" + mnNow;
    }
    else (min = mnNow)
    if (scNow <= 9) {
    secs = "0" + scNow;
    } else {
    secs = scNow;
    }
    time = hour + ":" + min + ":" + secs + ap;
    document.form.button.value = time;
    self.status = time;
    setTimeout('clock()', 1000);
    }
    function timeInfo() {
    milliSince = miNow;
    milliNow = miNow - miVisit;
    secsVisit = Math.round(milliNow / 1000);
    minsVisit = Math.round((milliNow / 1000) / 60);
    alert("There have been " + milliSince + " milliseconds since midnight, January 1, 1970.  "
    + "You have spent " + milliNow + " of those milliseconds on this page.  "
    + ".... About " + minsVisit + " minutes, and "
    + secsVisit + " seconds.");
    }
    document.write("<form name=\"form\">"
    + "<input type=button value=\"Click for info!\""
    + " name=button onClick=\"timeInfo()\"></form>");
    onError = null;
    clock();
    // End -->
    </SCRIPT>

     

    <!-- Script Size:  1.72 KB  -->
    Müc@hid
    Müc@hid
    Aktif-Üye !
    Aktif-Üye !

    Erkek
    Mesaj Sayısı : 1510
    Uyarı yok

    http://www.googlez.net

    Sayfa başına dön Aşağa gitmek

    Forumlariniz icin degisik Kodlar [konu 1] - Sayfa 25 Empty Geri: Forumlariniz icin degisik Kodlar [konu 1]

    Mesaj tarafından KaN Salı 28 Nis. 2009 - 22:10

    kırmızısı oldu saol rep verdim
    KaN
    KaN
    Aktif-Üye !
    Aktif-Üye !

    Erkek
    Mesaj Sayısı : 4311
    Yaş : 613
    Uyarı yok

    http://www.ruzgar.eniyiforum.org

    Sayfa başına dön Aşağa gitmek

    Forumlariniz icin degisik Kodlar [konu 1] - Sayfa 25 Empty Geri: Forumlariniz icin degisik Kodlar [konu 1]

    Mesaj tarafından Müc@hid Salı 28 Nis. 2009 - 22:10

    am - pm secimli saat:

    Kod:

    <!-- THREE STEPS TO INSTALL CLOCK TYPE:

      1.  Paste the first code in the HEAD of your HTML document
      2.  Copy the onLoad event handler into the BODY tag
      3.  Add the last code in the BODY of your HTML document  -->

    <!-- STEP ONE: Paste the first code in the HEAD of your HTML document  -->

    <HEAD>

    <SCRIPT LANGUAGE="JavaScript">




    <!-- Begin
    function showMilitaryTime() {
    if (document.form.showMilitary[0].checked) {
    return true;
    }
    return false;
    }
    function showTheHours(theHour) {
    if (showMilitaryTime() || (theHour > 0 && theHour < 13)) {
    if (theHour == "0") theHour = 12;
    return (theHour);
    }
    if (theHour == 0) {
    return (12);
    }
    return (theHour-12);
    }
    function showZeroFilled(inValue) {
    if (inValue > 9) {
    return "" + inValue;
    }
    return "0" + inValue;
    }
    function showAmPm() {
    if (showMilitaryTime()) {
    return ("");
    }
    if (now.getHours() < 12) {
    return (" am");
    }
    return (" pm");
    }
    function showTheTime() {
    now = new Date
    document.form.showTime.value = showTheHours(now.getHours()) + ":" + showZeroFilled(now.getMinutes()) + ":" + showZeroFilled(now.getSeconds()) + showAmPm()
    setTimeout("showTheTime()",1000)
    }
    // End -->
    </script>

    <BODY onLoad="showTheTime()">

    <!-- STEP THREE: Add the last code in the BODY of your HTML document  -->

    <BODY>

    <center><form name=form>
    <input type=text name=showTime size=11><p>
    <input type=radio name=showMilitary checked>Military Time<br>
    <input type=radio name=showMilitary>12 Hour Time<br>
    </form></center>

     

    </table>
    </form>
    </FONT>
    </CENTER>


    </center>
    </body></html>
    Müc@hid
    Müc@hid
    Aktif-Üye !
    Aktif-Üye !

    Erkek
    Mesaj Sayısı : 1510
    Uyarı yok

    http://www.googlez.net

    Sayfa başına dön Aşağa gitmek

    Forumlariniz icin degisik Kodlar [konu 1] - Sayfa 25 Empty Geri: Forumlariniz icin degisik Kodlar [konu 1]

    Mesaj tarafından Müc@hid Salı 28 Nis. 2009 - 22:11

    Geri - Ileri Sayim Kodlari

    Kod:

    <!-- TWO STEPS TO INSTALL COUNT UP & DOWN:

      1.  Paste the specified coding into the HEAD of your HTML document
      2.  Put the last code into the BODY of your HTML document  -->

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

    <SCRIPT LANGUAGE="JavaScript">

    <! >
    <! >

    <!-- Begin
    var up,down;var min1,sec1;var cmin1,csec1,cmin2,csec2;
    function Minutes(data) {
    for(var i=0;i<data.length;i++)
    if(data.substring(i,i+1)==":")
    break; 
    return(data.substring(0,i));
    }
    function Seconds(data) {       
    for(var i=0;i<data.length;i++)
    if(data.substring(i,i+1)==":")
    break; 
    return(data.substring(i+1,data.length));
    }
    function Display(min,sec) {   
    var disp;     
    if(min<=9) disp=" 0"; 
    else disp=" "; 
    disp+=min+":"; 
    if(sec<=9) disp+="0"+sec;     
    else disp+=sec;
    return(disp);
    }
    function Up() {
    cmin1=0;       
    csec1=0;       
    min1=0+Minutes(document.sw.beg1.value);
    sec1=0+Seconds(document.sw.beg1.value);
    UpRepeat();
    }
    function UpRepeat() { 
    csec1++;       
    if(csec1==60) {
    csec1=0; cmin1++;
    }
    document.sw.disp1.value=Display(cmin1,csec1); 
    if((cmin1==min1)&&(csec1==sec1))
    alert("Stopwatch Stopped");   
    else up=setTimeout("UpRepeat()",1000);
    }
    function Down() {     
    cmin2=1*Minutes(document.sw.beg2.value);       
    csec2=0+Seconds(document.sw.beg2.value);       
    DownRepeat();
    }
    function DownRepeat() {
    csec2--;       
    if(csec2==-1) {
    csec2=59; cmin2--;
    }     
    document.sw.disp2.value=Display(cmin2,csec2); 
    if((cmin2==0)&&(csec2==0))
    alert("Countdown Stopped");   
    else down=setTimeout("DownRepeat()",1000);
    }
    // End -->
    </SCRIPT>

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

    <BODY>

    <CENTER>
    <FORM name="sw">
    <TABLE border="0" width="100%">
    <tr align="center">
    <td><table border="3" width="100%"><tr>
    <th colspan="2">Stopwatch</th></tr>
    <tr align="center">
    <td>Stop at<br>
    <input type="text" name="beg1" size="7" value="0:10"></td>
    <td><input type="button" value="Start" onclick="Up()"></td>
    </tr>
    <tr align="center"><td colspan="2">
    <input type="text" name="disp1" size="7"></td></tr></table></td>
    <td>
    <input type="button" value="Start Both" onclick="Up();Down()">
    </td>
    <td>
    <table border="3" width="100%">
    <tr align="center">
    <td>Start at<br><input type="text" name="beg2" size="7" value="0:10"></td>                  <td><input type="button" value="Start" onclick="Down()"></td>
    </tr>
    <tr align="center"><td colspan="2">
    <input type="text" name="disp2" size="7"></td></tr></table></td></tr>
    </TABLE>
    </FORM>
    </CENTER>

     

    <!-- Script Size:  2.72 KB  -->
    Müc@hid
    Müc@hid
    Aktif-Üye !
    Aktif-Üye !

    Erkek
    Mesaj Sayısı : 1510
    Uyarı yok

    http://www.googlez.net

    Sayfa başına dön Aşağa gitmek

    Forumlariniz icin degisik Kodlar [konu 1] - Sayfa 25 Empty Geri: Forumlariniz icin degisik Kodlar [konu 1]

    Mesaj tarafından Müc@hid Salı 28 Nis. 2009 - 22:11

    Yazi Takvim

    Kod:

    <!-- ONE STEP TO INSTALL CURRENT DATE:

      1.  Put the code into the BODY of your HTML document  -->

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

    <SCRIPT LANGUAGE="JavaScript1.2">

    <! >
    <! >

    <!-- Begin
    var months=new Array(13);
    months[1]="January";
    months[2]="February";
    months[3]="March";
    months[4]="April";
    months[5]="May";
    months[6]="June";
    months[7]="July";
    months[8]="August";
    months[9]="September";
    months[10]="October";
    months[11]="November";
    months[12]="December";
    var time=new Date();
    var lmonth=months[time.getMonth() + 1];
    var date=time.getDate();
    var year=time.getYear();
    if (year < 2000)    // Y2K Fix, Isaac Powell
    year = year + 1900; // http://onyx.idbsu.edu/~ipowell
    document.write("<center>" + lmonth + " ");
    document.write(date + ", " + year + "</center>");
    // End -->
    </SCRIPT>
    </CENTER>

     

    <!-- Script Size:  1.00 KB  -->
    Müc@hid
    Müc@hid
    Aktif-Üye !
    Aktif-Üye !

    Erkek
    Mesaj Sayısı : 1510
    Uyarı yok

    http://www.googlez.net

    Sayfa başına dön Aşağa gitmek

    Forumlariniz icin degisik Kodlar [konu 1] - Sayfa 25 Empty Geri: Forumlariniz icin degisik Kodlar [konu 1]

    Mesaj tarafından Müc@hid Salı 28 Nis. 2009 - 22:12

    Textarea Saat
    Kod:

    <!-- THREE STEPS TO INSTALL CURRENT TIME:

      1.  Paste the specified coding into the HEAD of your HTML document
      2.  Add the onLoad event handler to the BODY tag
      2.  Put the last code into the BODY of your HTML document  -->

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

    <SCRIPT LANGUAGE="JavaScript">

    <! >
    <! >

    <!-- Begin
    var timerID = null;
    var timerRunning = false;
    function stopclock (){
    if(timerRunning)
    clearTimeout(timerID);
    timerRunning = false;
    }
    function showtime () {
    var now = new Date();
    var hours = now.getHours();
    var minutes = now.getMinutes();
    var seconds = now.getSeconds()
    var timeValue = "" + ((hours >12) ? hours -12 :hours)
    if (timeValue == "0") timeValue = 12;
    timeValue += ((minutes < 10) ? ":0" : ":") + minutes
    timeValue += ((seconds < 10) ? ":0" : ":") + seconds
    timeValue += (hours >= 12) ? " P.M." : " A.M."
    document.clock.face.value = timeValue;
    timerID = setTimeout("showtime()",1000);
    timerRunning = true;
    }
    function startclock() {
    stopclock();
    showtime();
    }
    // End -->
    </SCRIPT>

    <!-- STEP TWO: Add this onLoad event handler to the BODY tag  -->

    <BODY onLoad="startclock()">

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

    <CENTER>
    <FORM name="clock">
    <input type="text" name="face" size=13 value="">
    </FORM>
    </CENTER>

     

    <!-- Script Size:  1.45 KB  -->
    Müc@hid
    Müc@hid
    Aktif-Üye !
    Aktif-Üye !

    Erkek
    Mesaj Sayısı : 1510
    Uyarı yok

    http://www.googlez.net

    Sayfa başına dön Aşağa gitmek

    Forumlariniz icin degisik Kodlar [konu 1] - Sayfa 25 Empty Geri: Forumlariniz icin degisik Kodlar [konu 1]

    Mesaj tarafından Müc@hid Salı 28 Nis. 2009 - 22:13

    Bilgi Formu

    Kod:

    <!-- TWO STEPS TO INSTALL ADDRESS BOOK:

      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">
    <!-- Original:  Joe Norman (joe@wdrealty.com) -->
    <!-- Web Site:  http://www.jacksonville.net/~joman/ArraysNCookies.html -->

    <! >
    <! >

    <!-- Begin
    var arrRecords = new Array();
    var arrCookie = new Array();
    var recCount = 0;
    var strRecord="";
    expireDate = new Date;
    expireDate.setDate(expireDate.getDate()+365);
    function cookieVal(cookieName) {
    thisCookie = document·cookie.split("; ")
    for (i = 0; i < thisCookie.length; i++) {
    if (cookieName == thisCookie[i].split("=")[0]) {
    return thisCookie[i].split("=")[1];
      }
    }
    return 0;
    }
    function loadCookie() {
    if(document·cookie != "") {
    arrRecords = cookieVal("Records").split(",");
    currentRecord();
      }
    }
    function setRec() {
    strRecord = "";
    for(i = 0; i < document.frm1.elements.length; i++) {
    strRecord = strRecord + document.frm1.elements[i].value + ":";
    }
    arrRecords[recCount] = strRecord;
    document.frm2.add.value = "  NEW  ";
    document·cookie = "Records="+arrRecords+";expires=" + expireDate.toGMTString();
    }
    function newRec() {
    switch (document.frm2.add.value) {
    case "  NEW  " :
      varTemp = recCount;
      for(i = 0; i < document.frm1.elements.length; i++) {
      document.frm1.elements[i].value = ""
      }
      recCount = arrRecords.length;
      document.frm2.add.value = "CANCEL";
      break;
    case "CANCEL" :
      recCount = varTemp;
      document.frm2.add.value = "  NEW  ";
      currentRecord();
      break;
      }
    }
    function countRecords() {
    document.frm2.actual.value = "Record " + (recCount+1)+";  "+arrRecords.length+" saved records";
    }
    function delRec() {
    arrRecords.splice(recCount,1);
    navigate("previous");
    setRec();
    }
    function currentRecord() {
    if (arrRecords.length != "") {
    strRecord = arrRecords[recCount];
    currRecord = strRecord.split(":");
    for(i = 0; i < document.frm1.elements.length; i++) {
    document.frm1.elements[i].value = currRecord[i];
          }
      }
    }
    function navigate(control) {
    switch (control) {
    case "first" :
      recCount = 0;
      currentRecord();
      document.frm2.add.value = "  NEW  ";
      break;
    case "last" :
      recCount = arrRecords.length - 1;
      currentRecord();
      document.frm2.add.value = "  NEW  ";
      break;
    case "next" :
      if (recCount < arrRecords.length - 1) {
      recCount = recCount + 1;
      currentRecord();
      document.frm2.add.value = "  NEW  ";
      }
      break;
    case "previous" :
      if (recCount > 0) {
      recCount = recCount - 1;
      currentRecord();
      }
      document.frm2.add.value = "  NEW  ";
      break;
      default:
      }
    }

    // Splice method Protype Function
    // Peter Belesis, Internet.com
    // http://www.dhtmlab.com/
     
    if (!Array.prototype.splice) {
    function array_splice(ind,cnt) {
    if (arguments.length == 0) return ind;
    if (typeof ind != "number") ind = 0;
    if (ind < 0) ind = Math.max(0,this.length + ind);
    if (ind > this.length) {
    if (arguments.length > 2) ind = this.length;
    else return [];
    }
    if (arguments.length < 2) cnt = this.length-ind;
    cnt = (typeof cnt == "number") ? Math.max(0,cnt) : 0;
    removeArray = this.slice(ind,ind+cnt);
    endArray = this.slice(ind+cnt);
    this.length = ind;
    for (var i = 2; i < arguments.length; i++) {
    this[this.length] = arguments[i];
    }
    for(var i = 0; i < endArray.length; i++) {
    this[this.length] = endArray[i];
    }
    return removeArray;
    }
    Array.prototype.splice = array_splice;
    }
    recCount = 0;
    loadCookie();
    countRecords();
    //  End -->
    </script>
    </HEAD>

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

    <BODY>

    <center>
    <form name="frm1">
    <table align="center" resize="none" border="0">
    <tr>
    <td align="right">Name:</td>
    <td colspan="5"><input type="box" name="name" size="49"></td>
    </tr>
    <tr>
    <td align="right">Address:</td><td colspan="5"><input type="box" name="address" size="49"></td></tr>
    <td align="right">Address 2:</td><td colspan="5" align="left"><input type="box" name="address2" size="49"></td></tr>
    <tr>
    <td align="right">City:</td>
    <td><input type="box" name="city" size="15"></td>
    <td>State:</td><td><input type="box" name="state" size="15"></td>
    <td>Zip:</td><td><input type="box" size="6" name="zip"></td>
    </tr>
    <td align="right">Phone:</td>
    <td align="left"><input type="box" name="phone" size="15"></td>
    <td align="right">Fax:</td><td align="left"><input type="box" name="fax" size="15"></td>
    </tr>
    <tr>
    <td align="right">Web Page:<td colspan="5" align="left"><input type="box" name="address" size="49"></td></tr>
    <td align="right">E-Mail:<td colspan="5" align="left"><input type="box" name="email" size="49"></td></tr>
    <tr><td align="right" valign="top">Comments:</td>
    <td colspan="5" align="left"><input type="box" name="comment1" size="49"><br>
    <input type="box" name="comment2" size="49"><br>
    <input type="box" name="comment3" size="49"><br>
    <input type="box" name="comment4" size="49"><br>
    <input type="box" name="comment5" size="49">
    </td></tr></table>
    </form>
    <form name="frm2">
    <table align="center" border="1" resize="none"><tr><td align="center">
    <input type="button" name="first" value="|<<  " onClick="navigate('first');countRecords()">
    <input type="button" name="previous" value="  <  " onClick="navigate('previous');countRecords()">
    <input type="button" name="next" value="  >  " onClick="navigate('next');countRecords()">
    <input type="button" name="last" value="  >>|" onClick="navigate('last');countRecords()">
    <input type="box" name="actual" size=30></td></tr>
    <tr><td align="center"><input type="button" name="add" value="  NEW  " onClick="newRec();countRecords()">
    <input type="button" name="set" value="SAVE RECORD" onClick="setRec();countRecords()">
    <input type="button" name="del" value="Delete" onClick="delRec();countRecords()"></td></tr></table>
    </form>
    </center>

     

    <!-- Script Size:  6.01 KB -->
    Müc@hid
    Müc@hid
    Aktif-Üye !
    Aktif-Üye !

    Erkek
    Mesaj Sayısı : 1510
    Uyarı yok

    http://www.googlez.net

    Sayfa başına dön Aşağa gitmek

    Forumlariniz icin degisik Kodlar [konu 1] - Sayfa 25 Empty Geri: Forumlariniz icin degisik Kodlar [konu 1]

    Mesaj tarafından Müc@hid Salı 28 Nis. 2009 - 22:14

    ID Tracker

    Kod:

    <!-- THREE STEPS TO INSTALL ID TRACKER:

      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:  Ronnie T. Moore -->
    <!-- Web Site:  JavaScript Source Code 3000 -->

    <! >
    <! >

    <!-- Begin
    function readID() {
    var expDays = 365; // number of days the cookie should last
    var expDate = new Date();
    expDate.setTime(expDate.getTime() +  (24 * 60 * 60 * 1000 * expDays));
    var id = GetCookie('id');
    if (id == null || id == "no id") {
    if (location.search.length > 1) id = location.search.substring(1, location.search.length);
    else id = "no id";
    if (id != GetCookie('id')) SetCookie('id', id, expDate);
    }

    // You can change the FORM location below
    // where the referral ID is stored on your page
    // You then access this element to get the ID
    document.idform.id.value = id;

    }
    function getCookieVal (offset) { 
    var endstr = document·cookie.indexOf (";", offset); 
    if (endstr == -1)   
    endstr = document·cookie.length; 
    return unescape(document·cookie.substring(offset, endstr));
    }
    function GetCookie (name) { 
    var arg = name + "="; 
    var alen = arg.length; 
    var clen = document·cookie.length; 
    var i = 0; 
    while (i < clen) {   
    var j = i + alen;   
    if (document·cookie.substring(i, j) == arg)     
    return getCookieVal (j);   
    i = document·cookie.indexOf(" ", i) + 1;   
    if (i == 0) break; 

    return null;
    }
    function SetCookie (name, value) { 
    var argv = SetCookie.arguments; 
    var argc = SetCookie.arguments.length; 
    var expires = (argc > 2) ? argv[2] : null; 
    var path = (argc > 3) ? argv[3] : null; 
    var domain = (argc > 4) ? argv[4] : null; 
    var secure = (argc > 5) ? argv[5] : false; 
    document·cookie = name + "=" + escape (value) +
    ((expires == null) ? "" : ("; expires=" + expires.toGMTString())) +
    ((path == null) ? "" : ("; path=" + path)) + 
    ((domain == null) ? "" : ("; domain=" + domain)) +   
    ((secure == true) ? "; secure" : "");
    }
    //  End -->
    </script>
    </HEAD>

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

    <BODY OnLoad="readID()">

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

    <form name=idform>
    <input type=hidden name=id>
    </form>

     

    <!-- Script Size:  2.53 KB -->
    Müc@hid
    Müc@hid
    Aktif-Üye !
    Aktif-Üye !

    Erkek
    Mesaj Sayısı : 1510
    Uyarı yok

    http://www.googlez.net

    Sayfa başına dön Aşağa gitmek

    Forumlariniz icin degisik Kodlar [konu 1] - Sayfa 25 Empty Geri: Forumlariniz icin degisik Kodlar [konu 1]

    Mesaj tarafından Müc@hid Salı 28 Nis. 2009 - 22:15

    Ziyaretcinin Siteyi Kac kere ziyare ettigi yazsin

    Kod:

    <!-- TWO STEPS TO INSTALL COOKIE - VISITS:

      1.  Paste the designated coding into the HEAD of your HTML document
      2.  Put the last script into the BODY of your HTML document  -->

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

    <SCRIPT LANGUAGE="JavaScript">

    <! >
    <! >

    <!-- Begin
    function GetCookie (name) { 
    var arg = name + "="; 
    var alen = arg.length; 
    var clen = document·cookie.length; 
    var i = 0; 
    while (i < clen) {
    var j = i + alen;   
    if (document·cookie.substring(i, j) == arg)     
    return getCookieVal (j);   
    i = document·cookie.indexOf(" ", i) + 1;   
    if (i == 0) break; 

    return null;
    }
    function SetCookie (name, value) { 
    var argv = SetCookie.arguments; 
    var argc = SetCookie.arguments.length; 
    var expires = (argc > 2) ? argv[2] : null; 
    var path = (argc > 3) ? argv[3] : null; 
    var domain = (argc > 4) ? argv[4] : null; 
    var secure = (argc > 5) ? argv[5] : false; 
    document·cookie = name + "=" + escape (value) +
    ((expires == null) ? "" : ("; expires=" + expires.toGMTString())) +
    ((path == null) ? "" : ("; path=" + path)) + 
    ((domain == null) ? "" : ("; domain=" + domain)) +   
    ((secure == true) ? "; secure" : "");
    }
    function DeleteCookie (name) { 
    var exp = new Date(); 
    exp.setTime (exp.getTime() - 1); 
    var cval = GetCookie (name); 
    document·cookie = name + "=" + cval + "; expires=" + exp.toGMTString();
    }
    var expDays = 30;
    var exp = new Date();
    exp.setTime(exp.getTime() + (expDays*24*60*60*1000));
    function amt(){
    var count = GetCookie('count')
    if(count == null) {
    SetCookie('count','1')
    return 1
    }
    else {
    var newcount = parseInt(count) + 1;
    DeleteCookie('count')
    SetCookie('count',newcount,exp)
    return count
      }
    }
    function getCookieVal(offset) {
    var endstr = document·cookie.indexOf (";", offset);
    if (endstr == -1)
    endstr = document·cookie.length;
    return unescape(document·cookie.substring(offset, endstr));
    }
    // End -->
    </SCRIPT>

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

    <BODY>

    <SCRIPT LANGUAGE="JavaScript">
    <!-- Begin
    document.write("You've been here <b>" + amt() + "</b> times.")
    // End -->
    </SCRIPT>

     

    <!-- Script Size:  2.31 KB  -->
    Müc@hid
    Müc@hid
    Aktif-Üye !
    Aktif-Üye !

    Erkek
    Mesaj Sayısı : 1510
    Uyarı yok

    http://www.googlez.net

    Sayfa başına dön Aşağa gitmek

    Forumlariniz icin degisik Kodlar [konu 1] - Sayfa 25 Empty Geri: Forumlariniz icin degisik Kodlar [konu 1]

    Mesaj tarafından Emule Salı 28 Nis. 2009 - 22:16

    Müc@hid demiş ki:Ziyaretcinin Siteyi Kac kere ziyare ettigi yazsin

    Kod:

    <!-- TWO STEPS TO INSTALL COOKIE - VISITS:

      1.  Paste the designated coding into the HEAD of your HTML document
      2.  Put the last script into the BODY of your HTML document  -->

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

    <SCRIPT LANGUAGE="JavaScript">

    Obaaa çk saol çok işime yarar bu::::

    <! >
    <! >

    <!-- Begin
    function GetCookie (name) { 
    var arg = name + "="; 
    var alen = arg.length; 
    var clen = document·cookie.length; 
    var i = 0; 
    while (i < clen) {
    var j = i + alen;   
    if (document·cookie.substring(i, j) == arg)     
    return getCookieVal (j);   
    i = document·cookie.indexOf(" ", i) + 1;   
    if (i == 0) break; 

    return null;
    }
    function SetCookie (name, value) { 
    var argv = SetCookie.arguments; 
    var argc = SetCookie.arguments.length; 
    var expires = (argc > 2) ? argv[2] : null; 
    var path = (argc > 3) ? argv[3] : null; 
    var domain = (argc > 4) ? argv[4] : null; 
    var secure = (argc > 5) ? argv[5] : false; 
    document·cookie = name + "=" + escape (value) +
    ((expires == null) ? "" : ("; expires=" + expires.toGMTString())) +
    ((path == null) ? "" : ("; path=" + path)) + 
    ((domain == null) ? "" : ("; domain=" + domain)) +   
    ((secure == true) ? "; secure" : "");
    }
    function DeleteCookie (name) { 
    var exp = new Date(); 
    exp.setTime (exp.getTime() - 1); 
    var cval = GetCookie (name); 
    document·cookie = name + "=" + cval + "; expires=" + exp.toGMTString();
    }
    var expDays = 30;
    var exp = new Date();
    exp.setTime(exp.getTime() + (expDays*24*60*60*1000));
    function amt(){
    var count = GetCookie('count')
    if(count == null) {
    SetCookie('count','1')
    return 1
    }
    else {
    var newcount = parseInt(count) + 1;
    DeleteCookie('count')
    SetCookie('count',newcount,exp)
    return count
      }
    }
    function getCookieVal(offset) {
    var endstr = document·cookie.indexOf (";", offset);
    if (endstr == -1)
    endstr = document·cookie.length;
    return unescape(document·cookie.substring(offset, endstr));
    }
    // End -->
    </SCRIPT>

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

    <BODY>

    <SCRIPT LANGUAGE="JavaScript">
    <!-- Begin
    document.write("You've been here <b>" + amt() + "</b> times.")
    // End -->
    </SCRIPT>

     

    <!-- Script Size:  2.31 KB  -->
    Wink
    Emule
    Emule
    Aktif-Üye !
    Aktif-Üye !

    Erkek
    Mesaj Sayısı : 2597
    Yaş : 26
    1 Uyarı

    http://atorrent.yetkin-forum.com

    Sayfa başına dön Aşağa gitmek

    Forumlariniz icin degisik Kodlar [konu 1] - Sayfa 25 Empty Geri: Forumlariniz icin degisik Kodlar [konu 1]

    Mesaj tarafından Müc@hid Salı 28 Nis. 2009 - 22:17

    Ari Oyun Kodu

    Kod:

    <!-- THREE STEPS TO INSTALL ANTS:

      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>

    <style type="text/css">
    .ant {
      height: 16px;
      position: absolute;
      visibility: hidden;
      width: 16px;
    }
    </style>
    <SCRIPT LANGUAGE="JavaScript">
    <!-- Original:  Mike Hall (MHall75819@aol.com) -->
    <!-- Web Site:  http://members.aol.com/MHall75819 -->

    <! >
    <! >

    <!-- Begin
    var dir = "http://www.your-web-site-address-here.com/where-you-put-the-ant-images/";

    // get the ant images in a single zip file from
    // ../img/ants/ants.zip

    // Extract the images then upload them to your server and
    // change the 'dir' variable to their location (end with a '/')

    var images = new Array(
    dir+"antdl.gif",
    dir+"antdn.gif",
    dir+"antdr.gif",
    dir+"antlt.gif",
    dir+"antrt.gif",
    dir+"antul.gif",
    dir+"antup.gif",
    dir+"antur.gif"
    );

    var isMinNS4 = (document.layers) ? 1 : 0;
    var isMinIE4 = (document.all)    ? 1 : 0;

    var _LBimgList;
    var _LBimgCount;
    var _LBbase = "LBbase";
    var _LBlow  = "LBlow";
    var _LBhigh = "LBhigh";
    var _LBwidth;
    var _LBheight;
    var _LBbaseLayer;
    var _LBlowLayer;
    var _LBhighLayer;
    function createLoadBar(width, height, bdSize, bdColor, bgColor, fgColor, fontFace, fontSize, text) {
    var txtLow, txtHigh, tblStart, tblEnd;
    var str;
    txtLow  = '<font color="' + fgColor + '" face="' + fontFace + '" size=' + fontSize + '>' + text + '</font>';
    txtHigh = '<font color="' + bgColor  + '" face="' + fontFace + '" size=' + fontSize + '>' + text + '</font>';
    tblStart = '<table border=0 cellpadding=0 cellspacing=0 height=100% width=100%><tr valign="center"><td align="center">';
    tblEnd = '</td></tr></table>';
    if (isMinNS4)
    str = '<layer name="' + _LBbase + '" bgcolor="' + bdColor + '" width=' + width + ' height=' + height + ' visibility="hide">\n'
    + '  <layer name="' + _LBlow  + '" bgcolor="' + bgColor + '" left=' + bdSize + ' top=' + bdSize + ' width=' + (width - 2 * bdSize) + ' height=' + (height - 2 * bdSize) + '>' + tblStart + txtLow + tblEnd + '</layer>\n'
    + '  <layer name="' + _LBhigh + '" bgcolor="' + fgColor + '" left=' + bdSize + ' top=' + bdSize + ' width=' + (width - 2 * bdSize) + ' height=' + (height - 2 * bdSize) + '>' + tblStart + txtHigh + tblEnd + '</layer>\n'
    + '</layer>';
    if (isMinIE4)
    str = '<div id="' + _LBbase + '" style="position:absolute; background-color:' + bdColor + '; width:' + width + 'px; height:' + height + 'px; visibility:hidden;">\n'
    + '  <div id="' + _LBlow  + '" style="position:absolute; background-color=' + bgColor + '; left:' + bdSize + 'px; top:' + bdSize + 'px; width:' + (width - 2 * bdSize) + 'px; height:' + (height - 2 * bdSize) + 'px;">' + tblStart + txtLow + tblEnd + '</div>\n'
    + '  <div id="' + _LBhigh  + '" style="position:absolute; background-color=' + fgColor + '; left:' + bdSize + 'px; top:' + bdSize + 'px; width:' + (width - 2 * bdSize) + 'px; height:' + (height - 2 * bdSize) + 'px;">' + tblStart + txtHigh + tblEnd + '</div>\n'
    + '</div>';
    document.writeln(str);
    _LBwidth = width - 2 * bdSize;
    _LBheight = height - 2 * bdSize;
    }
    function startLoadBar(srcList, x, y) {
    var i, w, h;
    if (isMinNS4) {
    _LBbaseLayer = document.layers[_LBbase];
    _LBlowLayer  = _LBbaseLayer.document.layers[_LBlow];
    _LBhighLayer = _LBbaseLayer.document.layers[_LBhigh];
    }
    if (isMinIE4) {
    _LBbaseLayer = eval('document.all.' + _LBbase);
    _LBlowLayer  = eval('document.all.' + _LBlow);
    _LBhighLayer = eval('document.all.' + _LBhigh);
    }
    if (isMinNS4) {
    w = window.innerWidth;
    h = window.innerHeight;
    }
    if (isMinIE4) {
    w = document.body.clientWidth;
    h = document.body.clientHeight;
    }
    if (x == null)
    x = Math.round((w  - _LBwidth)  / 2);
    if (y == null)
    y = Math.round((h - _LBheight) / 2);
    moveLayerTo(_LBbaseLayer, x, y);
    clipLayer(_LBhighLayer, 0, 0, 0, _LBheight);
    showLayer(_LBbaseLayer);
    _LBimgCount = 0;
    _LBimgList = new Array();
    for (i = 0; i < srcList.length; i++) {
    _LBimgList[i] = new Image();
    _LBimgList[i].onabort = _LBupdate;
    _LBimgList[i].onerror = _LBupdate;
    _LBimgList[i].onload  = _LBupdate;
    }
    for (i = 0; i < srcList.length; i++)
    _LBimgList[i].src = srcList[i];
    }
    function endLoadBar() { // empty (can be changed) function called when finished
    }
    function _LBupdate() {
    var pct;
    _LBimgCount++;
    pct = _LBimgCount / _LBimgList.length;
    clipLayer(_LBhighLayer, 0, 0, Math.round(pct * _LBwidth), _LBheight);
    if (_LBimgCount == _LBimgList.length) {
    setTimeout('hideLayer(_LBbaseLayer)', 500);
    endLoadBar();
    }
    }
    function moveLayerTo(layer, x, y) {
    if (isMinNS4)
    layer.moveTo(x, y);
    if (isMinIE4) {
    layer.style.left = x;
    layer.style.top  = y;
    }
    }
    function hideLayer(layer) {
    if (isMinNS4)
    layer.visibility = "hide";
    if (isMinIE4)
    layer.style.visibility = "hidden";
    }
    function getWindowWidth() {
    if (isMinNS4)
    return(window.innerWidth);
    if (isMinIE4)
    return(document.body.offsetWidth);
    return(-1);
    }
    function getWindowHeight() {
    if (isMinNS4)
    return(window.innerHeight);
    if (isMinIE4)
    return(document.body.offsetHeight);
    return(-1);
    }
    function getPageScrollX() {
    if (isMinNS4)
    return(window.pageXOffset);
    if (isMinIE4)
    return(document.body.scrollLeft);
    return(-1);
    }
    function getPageScrollY() {
    if (isMinNS4)
    return(window.pageYOffset);
    if (isMinIE4)
    return(document.body.scrollTop);
    return(-1);
    }
    function getHeight(layer) {
    if (isMinNS4) {
    if (layer.document.height)
    return(layer.document.height);
    else
    return(layer.clip.bottom - layer.clip.top);
    }
    if (isMinIE4) {
    if (false && layer.style.pixelHeight)
    return(layer.style.pixelHeight);
    else
    return(layer.clientHeight);
    }
    return(-1);
    }
    function getWidth(layer) {
    if (isMinNS4) {
    if (layer.document.width)
    return(layer.document.width);
    else
    return(layer.clip.right - layer.clip.left);
    }
    if (isMinIE4) {
    if (layer.style.pixelWidth)
    return(layer.style.pixelWidth);
    else
    return(layer.clientWidth);
    }
    return(-1);
    }
    function getLeft(layer) {
    if (isMinNS4)
    return(layer.left);
    if (isMinIE4)
    return(layer.style.pixelLeft);
    return(-1);
    }
    function getTop(layer) {
    if (isMinNS4)
    return(layer.top);
    if (isMinIE4)
    return(layer.style.pixelTop);
    return(-1);
    }
    function getRight(layer) {
    if (isMinNS4)
    return(layer.left + getWidth(layer));
    if (isMinIE4)
    return(layer.style.pixelLeft + getWidth(layer));
    return(-1);
    }
    function getBottom(layer) {
    if (isMinNS4)
    return(layer.top + getHeight(layer));
    else if (isMinIE4)
    return(layer.style.pixelTop + getHeight(layer));
    return(-1);
    }
    function moveLayerBy(layer, dx, dy) {
    if (isMinNS4)
    layer.moveBy(dx, dy);
    if (isMinIE4) {
    layer.style.pixelLeft += dx;
    layer.style.pixelTop+= dy;
    }
    }
    function showLayer(layer) {
    if (isMinNS4)
    layer.visibility = "show";
    if (isMinIE4)
    layer.style.visibility = "visible";
    }
    function clipLayer(layer, clipleft, cliptop, clipright, clipbottom) {
    if (isMinNS4) {
    layer.clip.left = clipleft;
    layer.clip.top= cliptop;
    layer.clip.right= clipright;
    layer.clip.bottom = clipbottom;
    }
    if (isMinIE4)
    layer.style.clip = 'rect(' + cliptop + ' ' +clipright + ' ' + clipbottom + ' ' + clipleft +')';
    }
    var mouseX = 0;
    var mouseY = 0;
    if (isMinNS4)
    document.captureEvents(Event.MOUSEMOVE);
    document.onmousemove = getMousePosition;
    function init() {
    startLoadBar(images);
    }
    function getMousePosition(e) {
    if (isMinNS4) {
    mouseX = e.pageX;
    mouseY = e.pageY;
    }
    if (isMinIE4) {
    mouseX = event.clientX + document.body.scrollLeft;
    mouseY = event.clientY + document.body.scrollTop;
    }
    return true;
    }
    var ants = new Array(8);
    function endLoadBar() {
    var i;
    for (i = 0; i < ants.length; i++) {
    if (isMinNS4) {
    ants[i] = document.layers["ant" + (i + 1)];
    ants[i].image = ants[i].document.images["antimg" + (i + 1)];
    }
    if (isMinIE4) {
    ants[i] = eval('document.all.ant' + (i + 1));
    ants[i].image = document.images["antimg" + (i + 1)];
    }
    initAnt(i);
    showLayer(ants[i]);
    }
    updateAnts();
    }
    function initAnt(n) {
    var s, x, y;
    x = Math.floor(Math.random() * getWindowWidth());
    y = Math.floor(Math.random() * getWindowHeight());
    s = Math.floor(Math.random() * 4);
    if (s == 0)
    x = -getWidth(ants[n]);
    if (s == 1)
    x = getWindowWidth();
    if (s == 2)
    y = -getHeight(ants[n]);
    if (s == 3)
    y = getWindowHeight();
    x += getPageScrollX();
    y += getPageScrollY();
    moveLayerTo(ants[n], x, y);
    }
    function updateAnts() {
    var i, dx, dy, theta, d;
    d = 3;
    for (i = 0; i < ants.length; i++) {
    dx = mouseX - getLeft(ants[i]);
    dy = mouseY - getTop(ants[i]);
    theta = Math.round(Math.atan2(-dy, dx) * 180 / Math.PI);
    if (theta < 0)
    theta += 360;
    if (Math.abs(dx) < d && Math.abs(dy) < d)
    initAnt(i);
    else if (theta > 22.5 && theta <= 67.5) {
    moveLayerBy(ants[i], d, -d);
    ants[i].image.src = dir+"antur.gif";
    }
    else if (theta > 67.5 && theta <= 112.5) {
    moveLayerBy(ants[i], 0, -d);
    ants[i].image.src = dir+"antup.gif";
    }
    else if (theta > 112.5 && theta <= 157.5) {
    moveLayerBy(ants[i], -d, -d);
    ants[i].image.src = dir+"antul.gif";
    }
    else if (theta > 157.5 && theta <= 202.5) {
    moveLayerBy(ants[i], -d, 0);
    ants[i].image.src = dir+"antlt.gif";
    }
    else if (theta > 202.5 && theta <= 247.5) {
    moveLayerBy(ants[i], -d, d);
    ants[i].image.src = dir+"antdl.gif";
    }
    else if (theta > 247.5 && theta <= 292.5) {
    moveLayerBy(ants[i], 0, d);
    ants[i].image.src = dir+"antdn.gif";
    }
    else if (theta > 292.5 && theta <= 337.5) {
    moveLayerBy(ants[i], d, d);
    ants[i].image.src = dir+"antdr.gif";
    }
    else {
    moveLayerBy(ants[i], d, 0);
    ants[i].image.src = dir+"antrt.gif";
    }
    }
    setTimeout('updateAnts()', 50);
    return;
    }
    //  End -->
    </script>
    </HEAD>

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

    <BODY OnLoad="init()">

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

    <script language="JavaScript">
    createLoadBar(240, 20, 1, "#000000", "#cccccc", "#999999", "MS Sans serif,Arial,Helvetica", 1, "<b>Loading ants, please wait...</b>");
    </script>

    <div id="ant1" class="ant"><img name="antimg1" src="transparent.gif" width=13 height=13></div>
    <div id="ant2" class="ant"><img name="antimg2" src="transparent.gif" width=13 height=13></div>
    <div id="ant3" class="ant"><img name="antimg3" src="transparent.gif" width=13 height=13></div>
    <div id="ant4" class="ant"><img name="antimg4" src="transparent.gif" width=13 height=13></div>
    <div id="ant5" class="ant"><img name="antimg5" src="transparent.gif" width=13 height=13></div>
    <div id="ant6" class="ant"><img name="antimg6" src="transparent.gif" width=13 height=13></div>
    <div id="ant7" class="ant"><img name="antimg7" src="transparent.gif" width=13 height=13></div>
    <div id="ant8" class="ant"><img name="antimg8" src="transparent.gif" width=13 height=13></div>

     

    <!-- Script Size:  10.57 KB -->
    Müc@hid
    Müc@hid
    Aktif-Üye !
    Aktif-Üye !

    Erkek
    Mesaj Sayısı : 1510
    Uyarı yok

    http://www.googlez.net

    Sayfa başına dön Aşağa gitmek

    Forumlariniz icin degisik Kodlar [konu 1] - Sayfa 25 Empty Geri: Forumlariniz icin degisik Kodlar [konu 1]

    Mesaj tarafından Müc@hid Salı 28 Nis. 2009 - 22:19

    Arka Plan Yanip Sönsün:

    Kod:

    <!-- THREE STEPS TO INSTALL BACKGROUND FADER:

      1.  Put the specified code into the HEAD of your HTML document
      2.  Add the onLoad event handler to the BODY tag
      3.  Paste the last code into the BODY of your HTML document  -->

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

    <HEAD>

    <SCRIPT LANGUAGE="JavaScript">

    <! >
    <! >

    <!-- Hide from old browsers
    var Color= new Array(9);
    Color[1] = "ff";
    Color[2] = "ee";
    Color[3] = "dd";
    Color[4] = "cc";
    Color[5] = "bb";
    Color[6] = "aa";
    Color[7] = "99";
    Color[8] = "88";
    Color[9] = "77";
    Color[10] = "66";
    Color[11] = "55";
    Color[12] = "44";
    Color[13] = "33";
    Color[14] = "22";
    Color[15] = "11";
    Color[16] = "00";
    /* Do not display text on a fading background. Instead, let it
    fade in and out once or twice, then load a new page.        */
    function fadeIn(where) {
    if (where >= 1) {
    document.bgColor="#" + Color[where] +"0000"; 
    where -= 1;
    setTimeout("fadeIn("+where+")", 15);
    } else {
    setTimeout('fadeOut(1)', 15);
      }
    }
    function fadeOut(where) {
    if (where <=16) {
    document.bgColor="#" + Color[where] +"0000";
    where += 1;
    setTimeout("fadeOut("+where+")", 15)
    } else {
    setTimeout("fadeIn(16)", 15);
    // window.location.href="http://www.netscape.com/";
      }
    }
    // Unhide -->
    </SCRIPT>

    <!-- STEP TWO: Add the onLoad event handler to the BODY tag  -->

    <BODY onLoad="fadeIn(16)">

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

    <BODY>

    <CENTER>
    <SCRIPT LANGUAGE="Javascript">
    <FORM>
    <INPUT TYPE="button" VALUE="  BACK  " onClick="history.go(-1)">
    <INPUT TYPE="button" VALUE="FORWARD" onCLick="history.go(1)">
    </FORM>
    </SCRIPT>
    </CENTER>

     

    <!-- Script Size:  1.81 KB  -->
    Müc@hid
    Müc@hid
    Aktif-Üye !
    Aktif-Üye !

    Erkek
    Mesaj Sayısı : 1510
    Uyarı yok

    http://www.googlez.net

    Sayfa başına dön Aşağa gitmek

    Forumlariniz icin degisik Kodlar [konu 1] - Sayfa 25 Empty Geri: Forumlariniz icin degisik Kodlar [konu 1]

    Mesaj tarafından Müc@hid Salı 28 Nis. 2009 - 22:19

    Battleship Oyunu

    Kod:

    <!-- THREE STEPS TO INSTALL BATTLESHIP:

      1.  Copy the coding into the HEAD of your HTML document
      2.  Add the last code into the BODY of your HTML document
      3.  Save the battleship images into your web site directory  -->

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

    <HEAD>

    <style type="text/css">
    .intro { font-size:10pt; font-style:italic }
    .heading { font-size:14pt; font-weight:bold; font-family:sans-serif }
    .title { font-size:18pt; font-weight:bold; background-color:navy; color:white; text-align:center; font-family:sans-serif }
    </style>
    </HEAD>

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

    <BODY>

    <SCRIPT LANGUAGE="JavaScript">
    <!-- Original:  Jason Hotchkiss (jasonhotchkiss@home.com) -->
    <!-- Web Site:  http://www.members.home.com/jasonhotchkiss -->

    <! >
    <! >

    <!-- Begin
    /* Information used to draw the ships
    */
    var ship =  [[[1,5], [1,2,5], [1,2,3,5], [1,2,3,4,5]], [[6,10], [6,7,10], [6,7,8,10], [6,7,8,9,10]]];

    /* Information used to draw sunk ships
    */
    var dead = [[[201,203], [201,202,203], [201,202,202,203], [201,202,202,202,203]], [[204,206], [204,205,206], [204,205,205,206], [204,205,205,205,206]]];

    /* Information used to describe ships
    */
    var shiptypes = [["Minesweeper",2,4],["Frigate",3,4],[ "Cruiser",4,2],[ "Battleship",5,1]];

    var gridx = 16, gridy = 16;
    var player = [], computer = [], playersships = [], computersships = [];
    var playerlives = 0, computerlives = 0, playflag=true, statusmsg="";

    /* Function to preload all the images, to prevent delays during play
    */
    var preloaded = [];
    function imagePreload() {
    var i,ids = [1,2,3,4,5,6,7,8,9,10,100,101,102,103,201,202,203,204,205,206];
    window.status = "Preloading images...please wait";
    for (i=0;i<ids.length;++i) {
    var img = new Image, name = "batt"+ids[i]+".gif";
    img.src = name;
    preloaded[i] = img;
    }
    window.status = "";
    }

    /* Function to place the ships in the grid
    */
    function setupPlayer(ispc) {
    var y,x;
    grid = [];
    for (y=0;y<gridx;++y) {
    grid[y] = [];
    for (x=0;x<gridx;++x)
    grid[y][x] = [100,-1,0];
    }

    var shipno = 0;
    var s;
    for (s=shiptypes.length-1;s>=0;--s) {
    var i;
    for (i=0;i<shiptypes[s][2];++i) {
    var d = Math.floor(Math.random()*2);
    var len = shiptypes[s][1], lx=gridx, ly=gridy, dx=0, dy=0;
    if ( d==0) {
    lx = gridx-len;
    dx=1;
    }
    else {
    ly = gridy-len;
    dy=1;
    }
    var x,y,ok;
    do {
    y = Math.floor(Math.random()*ly);
    x = Math.floor(Math.random()*lx);
    var j,cx=x,cy=y;
    ok = true;
    for (j=0;j<len;++j) {
    if (grid[cy][cx][0] < 100) {
    ok=false;
    break;
    }
    cx+=dx;
    cy+=dy;
      }
    } while(!ok);
    var j,cx=x,cy=y;
    for (j=0;j<len;++j) {
    grid[cy][cx][0] = ship[d][s][j];
    grid[cy][cx][1] = shipno;
    grid[cy][cx][2] = dead[d][s][j];
    cx+=dx;
    cy+=dy;
    }
    if (ispc) {
    computersships[shipno] = [s,shiptypes[s][1]];
    computerlives++;
    }
    else {
    playersships[shipno] = [s,shiptypes[s][1]];
    playerlives++;
    }
    shipno++;
      }
    }
    return grid;
    }

    /* Function to change an image shown on a grid
    */
    function setImage(y,x,id,ispc) {
    if ( ispc ) {
    computer[y][x][0] = id;
    document.images["pc"+y+"_"+x].src = "batt"+id+".gif";
    }
    else {
    player[y][x][0] = id;
    document.images["ply"+y+"_"+x].src = "batt"+id+".gif";
      }
    }

    /* Function to insert HTML source for a grid
    */
    function showGrid(ispc) {
    var y,x;
    for (y=0;y<gridy;++y) {
    for (x=0;x<gridx;++x) {
    if ( ispc )
    document.write ('<a href="javascript:gridClick('+y+','+x+');"><img name="pc'+y+'_'+x+'" src="batt100.gif" width=16 height=16></a>');
    else
    document.write ('<a href="javascript:void(0);"><img name="ply'+y+'_'+x+'" src="batt'+player[y][x][0]+'.gif" width=16 height=16></a>');
    }
    document.write('<br>');
      }
    }

    /* Handler for clicking on the grid
    */
    function gridClick(y,x) {
    if ( playflag ) {
    if (computer[y][x][0] < 100) {
    setImage(y,x,103,true);
    var shipno = computer[y][x][1];
    if ( --computersships[shipno][1] == 0 ) {
    sinkShip(computer,shipno,true);
    alert("You sank my "+shiptypes[computersships[shipno][0]][0]+"!");
    updateStatus();
    if ( --computerlives == 0 ) {
    alert("You win! Press the Refresh button on\n"+
    "your browser to play another game.");
    playflag = false;
    }
      }
    if ( playflag ) computerMove();
    }
    else if (computer[y][x][0] == 100) {
    setImage(y,x,102,true);
    computerMove();
          }
      }
    }

    /* Function to make the computers move. Note that the computer does not cheat, oh no!
    */
    function computerMove() {
    var x,y,pass;
    var sx,sy;
    var selected = false;

    /* Make two passes during 'shoot to kill' mode
    */
    for (pass=0;pass<2;++pass) {
    for (y=0;y<gridy && !selected;++y) {
    for (x=0;x<gridx && !selected;++x) {
    /* Explosion shown at this position
    */
    if (player[y][x][0]==103) {
    sx=x; sy=y;
    var nup=(y>0 && player[y-1][x][0]<=100);
    var ndn=(y<gridy-1 && player[y+1][x][0]<=100);
    var nlt=(x>0 && player[y][x-1][0]<=100);
    var nrt=(x<gridx-1 && player[y][x+1][0]<=100);
    if ( pass == 0 ) {
    /* On first pass look for two explosions
      in a row - next shot will be inline
    */
    var yup=(y>0 && player[y-1][x][0]==103);
    var ydn=(y<gridy-1 && player[y+1][x][0]==103);
    var ylt=(x>0 && player[y][x-1][0]==103);
    var yrt=(x<gridx-1 && player[y][x+1][0]==103);
    if ( nlt && yrt) { sx = x-1; selected=true; }
    else if ( nrt && ylt) { sx = x+1; selected=true; }
    else if ( nup && ydn) { sy = y-1; selected=true; }
    else if ( ndn && yup) { sy = y+1; selected=true; }
    }
    else {
    /* Second pass look for single explosion -
      fire shots all around it
    */
    if ( nlt ) { sx=x-1; selected=true; }
    else if ( nrt ) { sx=x+1; selected=true; }
    else if ( nup ) { sy=y-1; selected=true; }
    else if ( ndn ) { sy=y+1; selected=true; }
                }
            }
          }
      }
    }
    if ( !selected ) {
    /* Nothing found in 'shoot to kill' mode, so we're just taking
      potshots. Random shots are in a chequerboard pattern for
      maximum efficiency, and never twice in the same place
    */
    do{
    sy = Math.floor(Math.random() * gridy);
    sx = Math.floor(Math.random() * gridx/2)*2+sy%2;
    } while( player[sy][sx][0]>100 );
    }
    if (player[sy][sx][0] < 100) {
    /* Hit something
    */
    setImage(sy,sx,103,false);
    var shipno = player[sy][sx][1];
    if ( --playersships[shipno][1] == 0 ) {
    sinkShip(player,shipno,false);
    alert("I sank your "+shiptypes[playersships[shipno][0]][0]+"!");
    if ( --playerlives == 0 ) {
    knowYourEnemy();
    alert("I win! Press the Refresh button on\n"+
    "your browser to play another game.");
    playflag = false;
          }
      }
    }
    else {
    /* Missed
    */
    setImage(sy,sx,102,false);
      }
    }

    /* When whole ship is hit, show it using changed graphics
    */
    function sinkShip(grid,shipno,ispc) {
    var y,x;
    for (y=0;y<gridx;++y) {
    for (x=0;x<gridx;++x) {
    if ( grid[y][x][1] == shipno )
    if (ispc) setImage(y,x,computer[y][x][2],true);
    else setImage(y,x,player[y][x][2],false);
          }
      }
    }

    /* Show location of all the computers ships - when player has lost
    */
    function knowYourEnemy() {
    var y,x;
    for (y=0;y<gridx;++y) {
    for (x=0;x<gridx;++x) {
    if ( computer[y][x][0] == 103 )
    setImage(y,x,computer[y][x][2],true);
    else if ( computer[y][x][0] < 100 )
    setImage(y,x,computer[y][x][0],true);
          }
      }
    }

    /* Show how many ships computer has left
    */
    function updateStatus() {
    var f=false,i,s = "Computer has ";
    for (i=0;i<computersships.length;++i) {
    if (computersships[i][1] > 0) {
    if (f) s=s+", "; else f=true;
    s = s + shiptypes[computersships[i][0]][0];
      }
    }
    if (!f) s = s + "nothing left, thanks to you!";
    statusmsg = s;
    window.status = statusmsg;
    }
    function setStatus() {
    window.status = statusmsg;
    }
    /* Start the game!
    */
    imagePreload();
    player = setupPlayer(false);
    computer = setupPlayer(true);
    document.write("<center><table><tr><td align=center><p class='heading'>COMPUTER'S FLEET</p></td>"+
    "<td align=center><p class='heading'>PLAYER'S FLEET</p></td></tr><tr><td>");
    showGrid(true);
    document.write("</td><td>");
    showGrid(false);
    document.write("</td></tr></table></center>");
    updateStatus();
    setInterval("setStatus();", 500);
    //  End -->
    </script>

    <p class="intro">"...We have located the enemy fleet under the command of Admiral Kompüter,
    but do not yet have visual contact. We suggest the best course of action is to fire
    at random into their vicinity and listen for the impact of the shells...</p>
    <p class="intro">...Our intelligence sources indicate the composition of the enemy fleet is the same
    as our own, and has likewise been forced to resort to the same tactics as ourselves. In accordance with
    the rules of war, fire will be exchanged one shell at a time and vessels lost will be announced
    immediately...</p>
    <p class="intro">...As per your orders you have been placed directly in command of the fleet's guns. Select the target
    location by clicking in the left-hand grid above. The right hand grid shows the status of our own fleet.
    Information as to the remaining strength of the enemy will be relayed directly to your status bar...</p>
    <p class="intro">...We believe this battle will not be over until one or other fleet is sunk in it's entirety. Our gunners
    await your commands. We're counting on you, Sir..."</p>

    <!-- STEP THREE: Save the battleship images into your web site directory

    You can get the zip file by going to

    ../img/battleship/battleship.zip

    then unzip the images and upload to your site.  -->

     

    <!-- Script Size:  9.06 KB -->
    Müc@hid
    Müc@hid
    Aktif-Üye !
    Aktif-Üye !

    Erkek
    Mesaj Sayısı : 1510
    Uyarı yok

    http://www.googlez.net

    Sayfa başına dön Aşağa gitmek

    Forumlariniz icin degisik Kodlar [konu 1] - Sayfa 25 Empty Geri: Forumlariniz icin degisik Kodlar [konu 1]

    Mesaj tarafından Müc@hid Salı 28 Nis. 2009 - 22:20

    Box Puzzle Oyunu

    Kod:

    <!-- THREE STEPS TO INSTALL BOX PUZZLE:

      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:  John Chacko (johns221b@yahoo.com) -->
    <!-- Web Site:  http://holmes221b.50megs.com -->

    <! >
    <! >

    <!-- Begin
    var blank_pos = 16, count = 0, pos = new Array(), nam = new Array();
    pos[1] = 7;
    pos[2] = 10;
    pos[3] = 14;
    pos[4] = 9;
    pos[5] = 12;
    pos[6] = 2;
    pos[7] = 13;
    pos[8] = 1;
    pos[9] = 8;
    pos[10] = 5;
    pos[11] = 4;
    pos[12] = 6;
    pos[13] = 3;
    pos[14] = 11;
    pos[15] = 15;
    function start() {
    nam[1] = L1.style;
    nam[2] = L2.style;
    nam[3] = L3.style;
    nam[4] = L4.style;
    nam[5] = L5.style;
    nam[6] = L6.style;
    nam[7] = L7.style;
    nam[8] = L8.style;
    nam[9] = L9.style;
    nam[10] = L10.style;
    nam[11] = L11.style;
    nam[12] = L12.style;
    nam[13] = L13.style;
    nam[14] = L14.style;
    nam[15] = L15.style;
    document.onkeydown = keyDown;
    }
    function keyDown() {
    var ieKey = event.keyCode;
    if (ieKey == 38) {
    if (blank_pos < 13) {
    count=blank_pos + 4;
    X = fun(count);
    Z = (parseInt(nam[X].top));
    nam[X].top = Z - 52;
    Q = pos[X];
    pos[X] = blank_pos;
    blank_pos = Q;
      }
    }
    else if (ieKey == 40) {
    if (blank_pos > 4) {
    count = blank_pos - 4;
    X = fun(count);
    Z = (parseInt(nam[X].top));
    nam[X].top = Z + 52;
    Q = pos[X];
    pos[X] = blank_pos;
    blank_pos = Q;
      }
    }
    else if (ieKey == 37) {
    r = blank_pos % 4
    if (r == 0) {
    }
    else {
    count = blank_pos + 1;
    X = fun(count);
    Z = (parseInt(nam[X].left));
    nam[X].left = Z - 52;
    Q = pos[X];
    pos[X] = blank_pos;
    blank_pos = Q;
      }
    }
    else if (ieKey == 39) {
    ch = blank_pos + 3;
    r = ch % 4;
    if (r == 0) {
    }
    else {
    count = blank_pos - 1;
    X = fun(count);
    Z = (parseInt(nam[X].left));
    nam[X].left = Z + 52;
    Q = pos[X];
    pos[X] = blank_pos;
    blank_pos = Q;
      }
    }
    else {
    alert("PLEASE USE PROPER KEYS");
    }
    A = false;
    b = 0;
    for (i = 1; i < 16; i++) {
    b++;
    if (pos[i] == b) {
    A = true;
    }
    else {
    A = false;
    break;
      }
    }
    if (A)alert("CONGRATULATIONS");
    }
    function fun(count) {
    for (var i = 1; i < 16; i++) {
    if (pos[i] == count) {
    var X = i;
      }
    }
    return X;
    }
    //  End -->
    </script>

    </HEAD>

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

    <BODY onLoad="start()">

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

    <div ID="L8" STYLE="position:absolute; left:202px; top:302px; width:50px; height:50px; background-color:green;">
    <br><b><center>8</center>
    </div>
    <div ID="L6" STYLE="position:absolute; left:254px;top:302px; width:50px; height:50px; background-color:green;">
    <br><b><center>6</center>
    </div>
    <div ID="L13" STYLE="position:absolute; left:306px;top:302px; width:50px; height:50px; background-color:green;">
    <br><b><center>13</center>
    </div>
    <div ID="L11" STYLE="position:absolute; left:358px;top:302px; width:50px; height:50px; background-color:green;">
    <br><b><center>11</center>
    </div>
    <div ID="L10" STYLE="position:absolute; left:202px; top:354px; width:50px; height:50px; background-color:green;">
    <br><b><center>10</center>
    </div>
    <div ID="L12" STYLE="position:absolute; left:254px;top:354px; width:50px; height:50px; background-color:green;">
    <br><b><center>12</center>
    </div>
    <div ID="L1" STYLE="position:absolute; left:306px;top:354px; width:50px; height:50px; background-color:green;">
    <br><b><center>1</center>
    </div>
    <div ID="L9" STYLE="position:absolute; left:358px;top:354px; width:50px; height:50px; background-color:green;">
    <br><b><center>9</center>
    </div>
    <div ID="L4" STYLE="position:absolute; left:202px; top:406px; width:50px; height:50px; background-color:green;">
    <br><b><center>4</center>
    </div>
    <div ID="L2" STYLE="position:absolute; left:254px;top:406px; width:50px; height:50px; background-color:green;">
    <br><b><center>2</center>
    </div>
    <div ID="L14" STYLE="position:absolute; left:306px;top:406px; width:50px; height:50px; background-color:green;">
    <br><b><center>14</center>
    </div>
    <div ID="L5" STYLE="position:absolute; left:358px;top:406px; width:50px; height:50px; background-color:green;">
    <br><b><center>5</center>
    </div>
    <div ID="L7" STYLE="position:absolute; left:202px; top:458px; width:50px; height:50px; background-color:green;">
    <br><b><center>7</center>
    </div>
    <div ID="L3" STYLE="position:absolute; left:254px;top:458px; width:50px; height:50px; background-color:green;">
    <br><b><center>3</center>
    </div>
    <div ID="L15" STYLE="position:absolute; left:306px;top:458px; width:50px; height:50px; background-color:green;">
    <br><b><center>15</center>
    </div>

     

    <!-- Script Size:  5.44 KB -->
    Müc@hid
    Müc@hid
    Aktif-Üye !
    Aktif-Üye !

    Erkek
    Mesaj Sayısı : 1510
    Uyarı yok

    http://www.googlez.net

    Sayfa başına dön Aşağa gitmek

    Forumlariniz icin degisik Kodlar [konu 1] - Sayfa 25 Empty Geri: Forumlariniz icin degisik Kodlar [konu 1]

    Mesaj tarafından Müc@hid Salı 28 Nis. 2009 - 22:22

    Break Out Oyunu

    Kod:

    <!-- FIVE STEPS TO INSTALL BREAK OUT:

      1.  Put the first code in the break out opener page
      2.  Create a new document, save it as break-out.html
      3.  Copy the coding into the HEAD of break-out.html
      4.  Add the next section into the BODY tag of break-out.html
      5.  Put the last coding into the BODY of break-out.html  -->

    <!-- STEP ONE: Put the first code into the break out opener page  -->

    <center>
    <form name="open-break-out">
    <input type=button value="Play Break Out" onClick="window.open('break-out.html','break-out','top=100,left=100,width=575,height=400');">
    </form>
    </center>

    <!-- STEP TWO: Create a new document, save it as break-out.html  -->

    <!-- STEP THREE: Paste this code into the HEAD of break-out.html  -->

    <HEAD>

    <SCRIPT LANGUAGE="JavaScript">
    <!-- Original:  Nick Young (ywing9787@aol.com) -->
    <!-- Web Site:  http://www.angelfire.com/biz6/ywing9787 -->

    <! >
    <! >

    <!-- Begin
    var timerID = null;
    var INT = 10;
    var loadFLG = 0;
    var gameFLG = 0;
    var missFLG = 0;
    var tim = 0;
    var blcol = new Array(5); // block color
    var blsta = new Array(40); // block status
    var blNO = new Array(40); // block No
    var blclr = 0; // clear block
    var ballX = 0; // ball data
    var ballY = 0;
    var ballN = 5;
    var ballDX = 0;
    var ballDY = 0;
    var tmpRL = 193;
    var X = 0;
    blcol[0] = "#FFFF00";
    blcol[1] = "#FFCF00";
    blcol[2] = "#FF7F00";
    blcol[3] = "#FF3F00";
    blcol[4] = "#FF0000";
    blcol[5] = "#000000";

    function mainF() {
    clearTimeout(timerID);
    tim = tim + 1;
    with (Math){ tmptim = floor(tim / 10)};
    document.forms[0].TM.value = tmptim;
    ballX = ballX + ballDX;
    ballY = ballY + ballDY;
    outCHK();
    blkCHK();
    ball.style.posTop = ballY;
    ball.style.posLeft = ballX;
    racket.style.posLeft = tmpRL;
    if (gameFLG == 01){
    timerID = setTimeout("mainF()", INT);
      }
    }
    function initG() {
    if (blclr >= 40) {
    blclr = 0;
    tim = 0;
    ballN = 3;
    with (Math) {
    tmptim = floor(tim / 10);
    }
    document.forms[0].TM.value = tmptim;
    clrmes.style.posTop = -1000;
    clrmes.style.posLeft = -1000;
    ovrmes.style.posTop = -1000;
    ovrmes.style.posLeft = -1000;
    for (ib = 0; ib < 5; ib++){ for (ia = 0; ia < 8; ia++) {
    chc(ib * 8 + ia +1, ib);
    blsta[ib * 8 + ia] = ib;
          }
      }
    }
    document.forms[0].BL.value = ballN;
    starter.style.posTop = -1000;
    starter.style.posLeft = -1000;
    gameFLG = 1;
    loadFLG = 1;
    ballX = 209;
    ballY = 270;
    ballDX =- 8;
    ballDY =- 8;
    tmpRL = 193;
    missFLG = 0;
    timerID = setTimeout("mainF()", INT);
    }
    function SUP() {
    UP.outerHTML = "<DIV ID='DN' STYLE='position:absolute'><A HREF='javascript:SDN()'>SPEED DOWN</A></DIV>";
    DN.style.posTop = 170;
    DN.style.posLeft = 432;
    INT = 10;
    }
    function SDN() {
    DN.outerHTML = "<DIV ID='UP' STYLE='position:absolute'><A HREF='javascript:SUP()'>SPEED UP</A></DIV>";
    UP.style.posTop = 170;
    UP.style.posLeft = 432;
    INT = 100;
    }
    function MouseMv() {
    if (loadFLG == 1) {
    tmpRL = X - 20;
    if (tmpRL < 16) { tmpRL = 16; }
    if (tmpRL > 370) { tmpRL = 370; }
      }
    }
    function outCHK() {
    if (ballX < 16){ ballX = 32 - ballX; ballDX = -ballDX; }
    if (ballX > 401){ ballX = 802 - ballX; ballDX = -ballDX; }
    if (ballY < 16){ ballY = 32 - ballY; ballDY = -ballDY; }
    if (ballY >= 272) {
    if (missFLG == 0) {
    tmpX = (ballDX / ballDY) * (272 - ballY) + ballX;
    if (tmpX >= tmpRL - 12) {
    if (tmpX <= tmpRL + 42) {
    ballY = 272; ballDY = -ballDY;
    ballX = tmpX;
    ballRD = tmpX - tmpRL;
    with (Math){ ballDX = 8 * abs(ballDX) / ballDX; }
    if (ballRD < -4){ ballDX = -15; }
    if (ballRD > 36){ ballDX = 15; }
    if (ballRD >= 14){ if (ballRD <= 16) { ballDX = -2; } }
    if (ballRD >= 17){ if (ballRD <= 20) { ballDX = 2; } }
    if (ballRD >= 0){ if (ballRD <= 4) { ballDX = -4; } }
    if (ballRD >= 28){ if (ballRD <= 32) { ballDX = 4; } }
    if (ballRD >= -4){ if (ballRD <= -1) { ballDX = -11; } }
    if (ballRD >= 33){ if (ballRD <= 36) { ballDX = 11; } }
      }
    }
    if (ballDY > 0){ missFLG = 1; }
    } else {
    if (ballY > 290){ missFLG = 0; ballN = ballN - 1; gameEnd(); }
          }
      }
    }
    function blkCHK() {
    tmpY = ballY + 4;
    tmpX = ballX + 4;
    if (tmpY >= 48) {
    if (tmpY <= 147) {
    if (tmpX >= 29) {
    if (tmpX <= 396) {
    with (Math) {
    ia = floor((tmpX - 29) / 46);
    ib = floor((tmpY - 48) / 20);
    ic = ib * 8 + ia;
    }
    if (blsta[ic] <= 4) {
    tmpbc = blsta[ic] + 1;
    blsta[ic] = tmpbc;
    chc(ic + 1, tmpbc);
    if (tmpbc == 5){ blclr = blclr + 1; }
    if (blclr >= 40){ gameEnd(); }
    if (ballDX > 0) {
    iy=(ballDY / ballDX) * (29 + 46 * ia - tmpX) + tmpY;
    if (iy > 48 + 20 * ib + 18) {
    tmpY1 = 48 + 20 * ib + 18;
    tmpX1 = (ballDX / ballDY) * (48 + 20 * ib + 18 - tmpY) + tmpX;
    ballX = tmpX1 - 4;
    ballY = tmpY1 - 4;
    ballDY = -ballDY;
    } else {
    if (iy < 44 + 20 * ib) {
    tmpY1 = 48 + 20 * ib;
    tmpX1 = (ballDX / ballDY) * (48 + 20 * ib - tmpY) + tmpX;
    ballX = tmpX1 - 4;
    ballY = tmpY1 - 4;
    ballDY = -ballDY;
    } else {
    tmpX1 = 29 + 46 * ia;
    tmpY1 = (ballDY / ballDX) * (29 + 46 * ia - tmpX) + tmpY;
    ballX = tmpX1 - 4;
    ballY = tmpY1 - 4;
    ballDX = -ballDX;
          }
      }
    } else {
    iy = (ballDY / ballDX) * (29+46 * ia + 44 - tmpX) + tmpY;
    if (iy > 48 + 20 * ib + 18) {
    tmpY1 = 48 + 20 * ib + 18;
    tmpX1 = (ballDX / ballDY) * (48 + 20 * ib + 18 - tmpY) + tmpX;
    ballX = tmpX1 - 4;
    ballY = tmpY1 - 4;
    ballDY = -ballDY;
    } else {
    if (iy < 44 + 20 * ib) {
    tmpY1 = 48 + 20 * ib;
    tmpX1 = (ballDX / ballDY) * (48 + 20 * ib - tmpY) + tmpX;
    ballX = tmpX1 - 4;
    ballY = tmpY1 - 4;
    ballDY = -ballDY;
    } else {
    tmpX1 = 29+46 * ia + 44;
    tmpY1 = (ballDY / ballDX) * (29 + 46 * ia + 44 - tmpX) + tmpY;
    ballX = tmpX1 - 4;
    ballY = tmpY1 - 4;
    ballDX = -ballDX;
          }
      }
    }
          }
      }
    }
          }
      }
    }
    function gameEnd() {
    document.forms[0].BL.value = ballN;
    gameFLG = 0;
    loadFLG = 0;
    starter.style.posTop  =  200;
    starter.style.posLeft  =  180;
    if (blclr >= 40) {
    clrmes.style.posTop = 150;
    clrmes.style.posLeft = 160;
    }
    if (ballN <= 0) {
    ovrmes.style.posTop = 150;
    ovrmes.style.posLeft = 160;
    blclr = 40;
      }
    }
    function onLD() {
    bgIE.style.posTop = 16;
    bgIE.style.posLeft = 16;
    ball.style.posTop = 270;
    ball.style.posLeft = 209;
    racket.style.posTop = 280;
    racket.style.posLeft = 193;
    info.style.posTop = 16;
    info.style.posLeft = 432;
    starter.style.posTop = -1000;
    starter.style.posLeft = -1000;
    clrmes.style.posTop = -1000;
    clrmes.style.posLeft = -1000;
    ovrmes.style.posTop = -1000;
    ovrmes.style.posLeft = -1000;
    DN.style.posTop = 170;
    DN.style.posLeft = 432;
    for (ib = 0; ib < 5; ib++) {
    for (ia = 0; ia < 8; ia++) {
    blsta[ib * 8 + ia] = ib;
      }
    }
    starter.style.posTop = 200;
    starter.style.posLeft = 180;
    }
    function chc(bno,bcl) {
    tmpbno = "b" + (bno-1);
    eval(tmpbno).bgColor = blcol[bcl];
    }
    //  End -->
    </script>
    </HEAD>

    <!-- STEP FOUR: Insert the event handlers into the BODY tag of break-out.html  -->

    <body onLoad="onLD();" onMouseMove='X=event.x;MouseMv();'>

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

    <span id=info style='position:absolute'>
    <pre>
    <font style="font-size:24px" color="#000044"><i><b>BREAK OUT</b></i></font>
    <form>
    Ball: <input type=text name=BL size=5 value=5>
    Time: <input type=text name=TM size=5 value=0>
    </form>
    </pre>
    </span>

    <SCRIPT LANGUAGE="JavaScript">
    <!--  block image write
    with (document) {
    write("<table id='bgIE' width='394' height='300' bgcolor='#000000' style='position:absolute'><td></td></table>");

    write("<table id='b0' width='42' height='16' bgcolor='#FFFF00' style='position:absolute; top:48; left:29'><td></td></table>");
    write("<table id='b1' width='42' height='16' bgcolor='#FFFF00' style='position:absolute; top:48; left:75'><td></td></table>");
    write("<table id='b2' width='42' height='16' bgcolor='#FFFF00' style='position:absolute; top:48; left:121'><td></td></table>");
    write("<table id='b3' width='42' height='16' bgcolor='#FFFF00' style='position:absolute; top:48; left:167'><td></td></table>");
    write("<table id='b4' width='42' height='16' bgcolor='#FFFF00' style='position:absolute; top:48; left:213'><td></td></table>");
    write("<table id='b5' width='42' height='16' bgcolor='#FFFF00' style='position:absolute; top:48; left:259'><td></td></table>");
    write("<table id='b6' width='42' height='16' bgcolor='#FFFF00' style='position:absolute; top:48; left:305'><td></td></table>");
    write("<table id='b7' width='42' height='16' bgcolor='#FFFF00' style='position:absolute; top:48; left:351'><td></td></table>");

    write("<table id='b8' width='42' height='16' bgcolor='#FFCF00' style='position:absolute; top:68; left:29'><td></td></table>");
    write("<table id='b9' width='42' height='16' bgcolor='#FFCF00' style='position:absolute; top:68; left:75'><td></td></table>");
    write("<table id='b10' width='42' height='16' bgcolor='#FFCF00' style='position:absolute; top:68; left:121'><td></td></table>");
    write("<table id='b11' width='42' height='16' bgcolor='#FFCF00' style='position:absolute; top:68; left:167'><td></td></table>");
    write("<table id='b12' width='42' height='16' bgcolor='#FFCF00' style='position:absolute; top:68; left:213'><td></td></table>");
    write("<table id='b13' width='42' height='16' bgcolor='#FFCF00' style='position:absolute; top:68; left:259'><td></td></table>");
    write("<table id='b14' width='42' height='16' bgcolor='#FFCF00' style='position:absolute; top:68; left:305'><td></td></table>");
    write("<table id='b15' width='42' height='16' bgcolor='#FFCF00' style='position:absolute; top:68; left:351'><td></td></table>");

    write("<table id='b16' width='42' height='16' bgcolor='#FF7F00' style='position:absolute; top:88; left:29'><td></td></table>");
    write("<table id='b17' width='42' height='16' bgcolor='#FF7F00' style='position:absolute; top:88; left:75'><td></td></table>");
    write("<table id='b18' width='42' height='16' bgcolor='#FF7F00' style='position:absolute; top:88; left:121'><td></td></table>");
    write("<table id='b19' width='42' height='16' bgcolor='#FF7F00' style='position:absolute; top:88; left:167'><td></td></table>");
    write("<table id='b20' width='42' height='16' bgcolor='#FF7F00' style='position:absolute; top:88; left:213'><td></td></table>");
    write("<table id='b21' width='42' height='16' bgcolor='#FF7F00' style='position:absolute; top:88; left:259'><td></td></table>");
    write("<table id='b22' width='42' height='16' bgcolor='#FF7F00' style='position:absolute; top:88; left:305'><td></td></table>");
    write("<table id='b23' width='42' height='16' bgcolor='#FF7F00' style='position:absolute; top:88; left:351'><td></td></table>");

    write("<table id='b24' width='42' height='16' bgcolor='#FF3F00' style='position:absolute; top:108; left:29'><td></td></table>");
    write("<table id='b25' width='42' height='16' bgcolor='#FF3F00' style='position:absolute; top:108; left:75'><td></td></table>");
    write("<table id='b26' width='42' height='16' bgcolor='#FF3F00' style='position:absolute; top:108; left:121'><td></td></table>");
    write("<table id='b27' width='42' height='16' bgcolor='#FF3F00' style='position:absolute; top:108; left:167'><td></td></table>");
    write("<table id='b28' width='42' height='16' bgcolor='#FF3F00' style='position:absolute; top:108; left:213'><td></td></table>");
    write("<table id='b29' width='42' height='16' bgcolor='#FF3F00' style='position:absolute; top:108; left:259'><td></td></table>");
    write("<table id='b30' width='42' height='16' bgcolor='#FF3F00' style='position:absolute; top:108; left:305'><td></td></table>");
    write("<table id='b31' width='42' height='16' bgcolor='#FF3F00' style='position:absolute; top:108; left:351'><td></td></table>");

    write("<table id='b32' width='42' height='16' bgcolor='#FF0000' style='position:absolute; top:128; left:29'><td></td></table>");
    write("<table id='b33' width='42' height='16' bgcolor='#FF0000' style='position:absolute; top:128; left:75'><td></td></table>");
    write("<table id='b34' width='42' height='16' bgcolor='#FF0000' style='position:absolute; top:128; left:121'><td></td></table>");
    write("<table id='b35' width='42' height='16' bgcolor='#FF0000' style='position:absolute; top:128; left:167'><td></td></table>");
    write("<table id='b36' width='42' height='16' bgcolor='#FF0000' style='position:absolute; top:128; left:213'><td></td></table>");
    write("<table id='b37' width='42' height='16' bgcolor='#FF0000' style='position:absolute; top:128; left:259'><td></td></table>");
    write("<table id='b38' width='42' height='16' bgcolor='#FF0000' style='position:absolute; top:128; left:305'><td></td></table>");
    write("<table id='b39' width='42' height='16' bgcolor='#FF0000' style='position:absolute; top:128; left:351'><td></td></table>");

    write("<div id='ball' style='position:absolute'>");
    write("<table width='4' height='8' bgcolor='#B0B0B0' style='position:absolute; left:0; top:0'><td></td></table>");
    write("<table width='8' height='4' bgcolor='#B0B0B0' style='position:absolute; left:-1; top:2'><td></td></table>");
    write("<table width='4' height='4' bgcolor='#FFFFFF' style='position:absolute; left:0; top:1'><td></td></table>");
    write("</div>");
    write("<table id='racket' width='40' height='4' bgcolor='#B0B0FF' style='position:absolute'><td></td></table>");
    write("<div id='starter' style='position:absolute'><form><input type='button' value='START' ONCLICK='initG();blur()'></form></div>");
    write("<div id='clrmes'  style='position:absolute'><font style='font-size:24px' color='#44CC44'>ALL CLEAR!</font></div>");
    write("<div id='ovrmes' style='position:absolute'><font style='font-size:24px' color='#CC4444'>GAME OVER!</font></div>");
    write("<div id='DN' style='position:absolute'><a href='javascript:SDN()'>SPEED DOWN</a></div>");
    }
    // End -->
    </script>

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

    <!-- Script Size:  12.64 KB -->
    Müc@hid
    Müc@hid
    Aktif-Üye !
    Aktif-Üye !

    Erkek
    Mesaj Sayısı : 1510
    Uyarı yok

    http://www.googlez.net

    Sayfa başına dön Aşağa gitmek

    Forumlariniz icin degisik Kodlar [konu 1] - Sayfa 25 Empty Geri: Forumlariniz icin degisik Kodlar [konu 1]

    Mesaj tarafından Müc@hid Salı 28 Nis. 2009 - 22:24

    Checkboxes Oyunu

    Kod:

    <!-- TWO STEPS TO INSTALL CHECKBOXES:

      1.  Paste the coding into the HEAD of your HTML document
      2.  Put the last coding into the BODY of your HTML document  -->

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

    <HEAD>

    <SCRIPT LANGUAGE="JavaScript">
    <!-- Original:  Tomer Shiran

    <! >
    <! >

    <!-- Begin
    var total = 0
    var play = false
    function display(element) {
    var now = new Date()
    if (!play) {
    play = true
    startTime = now.getTime()}
    if (now.getTime() - startTime > 20000) {
    element.checked = !element.checked
    return
    }
     if (element.checked)
    total++
    else
    total--
    element.form.num.value = total
    }
    function restart(form) {
    total = 0
    play = false
    for (var i = 1; i <= 100; ++i) {
     form.elements[i].checked = false
      }
    }
    // End -->
    </SCRIPT>

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

    <BODY>

    <CENTER>Test your skill.  How many boxes can
    you check in 20 seconds?</CENTER>
    <SCRIPT LANGUAGE="JavaScript">
    <!-- Begin
    document.write("<FORM><CENTER>")
    document.write('<INPUT TYPE="text" VALUE="0" ');
    document.write('NAME="num" SIZE=10 onFocus="this.blur()"><BR>')
    document.write("<HR SIZE=1 WIDTH=40%>")
    for (var i = 0; i < 10; ++i) {
    for (var j = 0; j < 10; ++j) {
    document.write('<INPUT TYPE="checkbox" ');
    document.write('onClick="display(this)">')}
    document.write("<BR>")}
    document.write("<HR SIZE=1 WIDTH=40%>")
    document.write('<INPUT TYPE="button" VALUE="restart" ');
    document.write('onClick="restart(this.form)">')
    document.write("</CENTER></FORM>")
    // End -->
    </SCRIPT>

     

    <!-- Script Size:  1.63 KB  -->
    Müc@hid
    Müc@hid
    Aktif-Üye !
    Aktif-Üye !

    Erkek
    Mesaj Sayısı : 1510
    Uyarı yok

    http://www.googlez.net

    Sayfa başına dön Aşağa gitmek

    Forumlariniz icin degisik Kodlar [konu 1] - Sayfa 25 Empty Geri: Forumlariniz icin degisik Kodlar [konu 1]

    Mesaj tarafından Müc@hid Salı 28 Nis. 2009 - 22:24

    Memory Oyunu

    Kod:

    <!-- THREE STEPS TO INSTALL CONCENTRATION:

      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:  Brian Gosselin (bgaudiodr@aol.com) -->
    <!-- Web Site:  http://www.bgaudiodr.iwarp.com -->

    <! >
    <! >

    <!-- Begin
    var pics = new Array();
    for (i = 0; i <= 18; i++) {
    pics[i] = new Image();
    pics[i].src = 'image' + i + '.gif';
    }
    var map=new Array(1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13, 14, 14, 15, 15, 16, 16, 17, 17, 18, 18);
    var user = new Array();
    var temparray = new Array();
    var clickarray = new Array(0, 0);
    var ticker, sec, min, ctr, id, oktoclick, finished;
    function init() {
    clearTimeout(id);
    for (i = 0; i <= 35 ;i++) {
    user[i] = 0;
    }
    ticker = 0;
    min = 0;
    sec = 0;
    ctr = 0;
    oktoclick = true;
    finished = 0;
    document.f.b.value = "";
    scramble();
    runclk();
    for (i = 0; i <= 35; i++) {
    document.f[('img'+i)].src = "image0.gif";
      }
    }
    function runclk() {
    min = Math.floor(ticker/60);
    sec = (ticker-(min*60))+'';
    if(sec.length == 1) {sec = "0"+sec};
    ticker++;
    document.f.b.value = min+":"+sec;
    id = setTimeout('runclk()', 1000);
    }
    function scramble() {
    for (z = 0; z < 5; z++) {
    for (x = 0; x <= 35; x++) {
    temparray[0] = Math.floor(Math.random()*36);
    temparray[1] = map[temparray[0]];
    temparray[2] = map[x];
    map[x] = temparray[1];
    map[temparray[0]] = temparray[2];
          }
      }
    }
    function showimage(but) {
    if (oktoclick) {
    oktoclick = false;
    document.f[('img'+but)].src = 'image'+map[but]+'.gif';
    if (ctr == 0) {
    ctr++;
    clickarray[0] = but;
    oktoclick = true;
    } else {
    clickarray[1] = but;
    ctr = 0;
    setTimeout('returntoold()', 600);
          }
      }
    }
    function returntoold() {
    if ((clickarray[0] == clickarray[1]) && (!user[clickarray[0]])) {
    document.f[('img'+clickarray[0])].src = "image0.gif";
    oktoclick = true;
    } else {
    if (map[clickarray[0]] != map[clickarray[1]]) {
    if (user[clickarray[0]] == 0) {
    document.f[('img'+clickarray[0])].src = "image0.gif";
    }
    if (user[clickarray[1]] == 0) {
    document.f[('img'+clickarray[1])].src = "image0.gif";
      }
    }
    if (map[clickarray[0]] == map[clickarray[1]]) {
    if (user[clickarray[0]] == 0&&user[clickarray[1]] == 0) { finished++; }
    user[clickarray[0]] = 1;
    user[clickarray[1]] = 1;
    }
    if (finished >= 18) {
    alert('You did it in '+document.f.b.value+' !');
    init();
    } else {
    oktoclick = true;
          }
      }
    }
    //  End -->
    </script>
    </HEAD>

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

    <BODY OnLoad="init()">

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

    <center>
    <h2>Concentration</h2>
    <form name="f">
    <table cellpadding="0" cellspacing="0" border="0">
    <script language="javascript">
    <!-- Begin
    for (r = 0; r <= 5; r++) {
    document.write('<tr>');
    for (c = 0; c <= 5; c++) {
    document.write('<td align="center">');
    document.write('<a href="javascript:showimage('+((6*r)+c)+')" onClick="document.f.b.focus()">');
    document.write('<img src="image0.gif" name="img'+((6*r)+c)+'" border="0">');
    document.write('</a></td>');
    }
    document.write('</tr>');
    }
    // End -->
    </script>
    </table>
    <br><br>
    <input type="button" value="        " name="b" onClick="init()">
    </form>
    </center>

     

    <!-- Script Size:  3.63 KB -->
    Müc@hid
    Müc@hid
    Aktif-Üye !
    Aktif-Üye !

    Erkek
    Mesaj Sayısı : 1510
    Uyarı yok

    http://www.googlez.net

    Sayfa başına dön Aşağa gitmek

    Forumlariniz icin degisik Kodlar [konu 1] - Sayfa 25 Empty Geri: Forumlariniz icin degisik Kodlar [konu 1]

    Mesaj tarafından Müc@hid Salı 28 Nis. 2009 - 22:25

    Crab Race Oyunu

    Kod:

    <!-- ONE STEP TO INSTALL CRAB RACE OPENER:

      1.  Add the code into the BODY of your HTML document  -->

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

    <center>
    <form name="open-race">
    <input type=button value="Play Crab Race" onClick="window.open('crab-race-example.html','race','top=100,left=100,width=340,height=300');">
    </form>
    </center>

     

    <!-- Script Size:  0.59 KB -->
    Müc@hid
    Müc@hid
    Aktif-Üye !
    Aktif-Üye !

    Erkek
    Mesaj Sayısı : 1510
    Uyarı yok

    http://www.googlez.net

    Sayfa başına dön Aşağa gitmek

    Forumlariniz icin degisik Kodlar [konu 1] - Sayfa 25 Empty Geri: Forumlariniz icin degisik Kodlar [konu 1]

    Mesaj tarafından Emule Salı 28 Nis. 2009 - 22:25

    O bu yarış oyunu güzel saol:::+ verdim
    Emule
    Emule
    Aktif-Üye !
    Aktif-Üye !

    Erkek
    Mesaj Sayısı : 2597
    Yaş : 26
    1 Uyarı

    http://atorrent.yetkin-forum.com

    Sayfa başına dön Aşağa gitmek

    Forumlariniz icin degisik Kodlar [konu 1] - Sayfa 25 Empty Geri: Forumlariniz icin degisik Kodlar [konu 1]

    Mesaj tarafından Müc@hid Salı 28 Nis. 2009 - 22:32

    Falcon Fighter




    Kod:

    <!-- ONE STEP TO INSTALL FALCON FIGHTER OPENER:

      1.  Add the code into the BODY of your HTML document  -->

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

    <center>
    <form name="open-race">
    <input type=button value="Play Falcon Fighter" onClick="window.open('falcon-fighter-example.html','race','top=100,left=100,width=575,height=400');">
    </form>
    </center>

     

    <!-- Script Size:  0.30 KB -->
    Müc@hid
    Müc@hid
    Aktif-Üye !
    Aktif-Üye !

    Erkek
    Mesaj Sayısı : 1510
    Uyarı yok

    http://www.googlez.net

    Sayfa başına dön Aşağa gitmek

    Forumlariniz icin degisik Kodlar [konu 1] - Sayfa 25 Empty Geri: Forumlariniz icin degisik Kodlar [konu 1]

    Mesaj tarafından Müc@hid Salı 28 Nis. 2009 - 22:33

    **ScArFii** demiş ki:O bu yarış oyunu güzel saol:::+ verdim

    Birsey degil Mr. green
    Müc@hid
    Müc@hid
    Aktif-Üye !
    Aktif-Üye !

    Erkek
    Mesaj Sayısı : 1510
    Uyarı yok

    http://www.googlez.net

    Sayfa başına dön Aşağa gitmek

    Forumlariniz icin degisik Kodlar [konu 1] - Sayfa 25 Empty Geri: Forumlariniz icin degisik Kodlar [konu 1]

    Mesaj tarafından Müc@hid Salı 28 Nis. 2009 - 22:34

    Find The Spy

    Kod:

    <!-- TWO STEPS TO INSTALL FIND THE SPY:

      1.  Paste the coding into the HEAD of your HTML document
      2.  Put the last coding into the BODY of your HTML document  -->

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

    <HEAD>

    <SCRIPT LANGUAGE="JavaScript">
    <!-- Original:  Aaron Mavrinac  ghent-slicer@geocities.com -->

    <! >
    <! >

    <!-- Begin
    xloc = new Array(10);
    yloc = new Array(10);
    xloc[0] = "xa"
    xloc[1] = "xb"
    xloc[2] = "xc"
    xloc[3] = "xd"
    xloc[4] = "xe"
    xloc[5] = "xf"
    xloc[6] = "xg"
    xloc[7] = "xh"
    xloc[8] = "xi"
    xloc[9] = "xj"
    yloc[0] = "ya"
    yloc[1] = "yb"
    yloc[2] = "yc"
    yloc[3] = "yd"
    yloc[4] = "ye"
    yloc[5] = "yf"
    yloc[6] = "yg"
    yloc[7] = "yh"
    yloc[8] = "yi"
    yloc[9] = "yj"
    today=new Date();
    jran=today.getTime();
    var number=10;
    var random_numx=0;
    ia=9301;
    ic=49297;
    im=233280;
    jran = (jran*ia+ic) % im;
    random_numx=Math.ceil( (jran/(im*1.0)) *number);
    today=new Date();
    jran=today.getTime();
    var number=10;
    var random_numy=0;
    ia=9301;
    ic=49297;
    im=233280;
    jran = (jran*ia+ic) % im;
    random_numy=Math.ceil( (jran/(im*1.0)) *number);
    spyloc = xloc[random_numx-1] + yloc[random_numy-1]
    function search(loc) {
    if (loc==spyloc) {
    alert("\n\nCongrats!  Bravo!  Good job!");
    alert("\n\nYou found the spy in " + guesses + " guesses!");
    }
    else {
    alert("Nothing here.")
      }
    }
    // End -->
    </script>

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

    <BODY>

    <CENTER>
    <FORM method="POST" name="searchb">
    <input type=checkbox onClick="javascript:search('xaya');">
    <input type=checkbox onClick="javascript:search('xbya');">
    <input type=checkbox onClick="javascript:search('xcya');">
    <input type=checkbox onClick="javascript:search('xdya');">
    <input type=checkbox onClick="javascript:search('xeya');">
    <input type=checkbox onClick="javascript:search('xfya');">
    <input type=checkbox onClick="javascript:search('xgya');">
    <input type=checkbox onClick="javascript:search('xhya');">
    <input type=checkbox onClick="javascript:search('xiya');">
    <input type=checkbox onClick="javascript:search('xjya');"><br>
    <input type=checkbox onClick="javascript:search('xayb');">
    <input type=checkbox onClick="javascript:search('xbyb');">
    <input type=checkbox onClick="javascript:search('xcyb');">
    <input type=checkbox onClick="javascript:search('xdyb');">
    <input type=checkbox onClick="javascript:search('xeyb');">
    <input type=checkbox onClick="javascript:search('xfyb');">
    <input type=checkbox onClick="javascript:search('xgyb');">
    <input type=checkbox onClick="javascript:search('xhyb');">
    <input type=checkbox onClick="javascript:search('xiyb');">
    <input type=checkbox onClick="javascript:search('xjyb');"><br>
    <input type=checkbox onClick="javascript:search('xayc');">
    <input type=checkbox onClick="javascript:search('xbyc');">
    <input type=checkbox onClick="javascript:search('xcyc');">
    <input type=checkbox onClick="javascript:search('xdyc');">
    <input type=checkbox onClick="javascript:search('xeyc');">
    <input type=checkbox onClick="javascript:search('xfyc');">
    <input type=checkbox onClick="javascript:search('xgyc');">
    <input type=checkbox onClick="javascript:search('xhyc');">
    <input type=checkbox onClick="javascript:search('xiyc');">
    <input type=checkbox onClick="javascript:search('xjyc');"><br>
    <input type=checkbox onClick="javascript:search('xayd');">
    <input type=checkbox onClick="javascript:search('xbyd');">
    <input type=checkbox onClick="javascript:search('xcyd');">
    <input type=checkbox onClick="javascript:search('xdyd');">
    <input type=checkbox onClick="javascript:search('xeyd');">
    <input type=checkbox onClick="javascript:search('xfyd');">
    <input type=checkbox onClick="javascript:search('xgyd');">
    <input type=checkbox onClick="javascript:search('xhyd');">
    <input type=checkbox onClick="javascript:search('xiyd');">
    <input type=checkbox onClick="javascript:search('xjyd');"><br>
    <input type=checkbox onClick="javascript:search('xaye');">
    <input type=checkbox onClick="javascript:search('xbye');">
    <input type=checkbox onClick="javascript:search('xcye');">
    <input type=checkbox onClick="javascript:search('xdye');">
    <input type=checkbox onClick="javascript:search('xeye');">
    <input type=checkbox onClick="javascript:search('xfye');">
    <input type=checkbox onClick="javascript:search('xgye');">
    <input type=checkbox onClick="javascript:search('xhye');">
    <input type=checkbox onClick="javascript:search('xiye');">
    <input type=checkbox onClick="javascript:search('xjye');"><br>
    <input type=checkbox onClick="javascript:search('xayf');">
    <input type=checkbox onClick="javascript:search('xbyf');">
    <input type=checkbox onClick="javascript:search('xcyf');">
    <input type=checkbox onClick="javascript:search('xdyf');">
    <input type=checkbox onClick="javascript:search('xeyf');">
    <input type=checkbox onClick="javascript:search('xfyf');">
    <input type=checkbox onClick="javascript:search('xgyf');">
    <input type=checkbox onClick="javascript:search('xhyf');">
    <input type=checkbox onClick="javascript:search('xiyf');">
    <input type=checkbox onClick="javascript:search('xjyf');"><br>
    <input type=checkbox onClick="javascript:search('xayg');">
    <input type=checkbox onClick="javascript:search('xbyg');">
    <input type=checkbox onClick="javascript:search('xcyg');">
    <input type=checkbox onClick="javascript:search('xdyg');">
    <input type=checkbox onClick="javascript:search('xeyg');">
    <input type=checkbox onClick="javascript:search('xfyg');">
    <input type=checkbox onClick="javascript:search('xgyg');">
    <input type=checkbox onClick="javascript:search('xhyg');">
    <input type=checkbox onClick="javascript:search('xiyg');">
    <input type=checkbox onClick="javascript:search('xjyg');"><br>
    <input type=checkbox onClick="javascript:search('xayh');">
    <input type=checkbox onClick="javascript:search('xbyh');">
    <input type=checkbox onClick="javascript:search('xcyh');">
    <input type=checkbox onClick="javascript:search('xdyh');">
    <input type=checkbox onClick="javascript:search('xeyh');">
    <input type=checkbox onClick="javascript:search('xfyh');">
    <input type=checkbox onClick="javascript:search('xgyh');">
    <input type=checkbox onClick="javascript:search('xhyh');">
    <input type=checkbox onClick="javascript:search('xiyh');">
    <input type=checkbox onClick="javascript:search('xjyh');"><br>
    <input type=checkbox onClick="javascript:search('xayi');">
    <input type=checkbox onClick="javascript:search('xbyi');">
    <input type=checkbox onClick="javascript:search('xcyi');">
    <input type=checkbox onClick="javascript:search('xdyi');">
    <input type=checkbox onClick="javascript:search('xeyi');">
    <input type=checkbox onClick="javascript:search('xfyi');">
    <input type=checkbox onClick="javascript:search('xgyi');">
    <input type=checkbox onClick="javascript:search('xhyi');">
    <input type=checkbox onClick="javascript:search('xiyi');">
    <input type=checkbox onClick="javascript:search('xjyi');"><br>
    <input type=checkbox onClick="javascript:search('xayj');">
    <input type=checkbox onClick="javascript:search('xbyj');">
    <input type=checkbox onClick="javascript:search('xcyj');">
    <input type=checkbox onClick="javascript:search('xdyj');">
    <input type=checkbox onClick="javascript:search('xeyj');">
    <input type=checkbox onClick="javascript:search('xfyj');">
    <input type=checkbox onClick="javascript:search('xgyj');">
    <input type=checkbox onClick="javascript:search('xhyj');">
    <input type=checkbox onClick="javascript:search('xiyj');">
    <input type=checkbox onClick="javascript:search('xjyj');"><br>
    </FORM>
    </CENTER>

     

    <!-- Script Size:  5.81 KB  -->
    Müc@hid
    Müc@hid
    Aktif-Üye !
    Aktif-Üye !

    Erkek
    Mesaj Sayısı : 1510
    Uyarı yok

    http://www.googlez.net

    Sayfa başına dön Aşağa gitmek

    Forumlariniz icin degisik Kodlar [konu 1] - Sayfa 25 Empty Geri: Forumlariniz icin degisik Kodlar [konu 1]

    Mesaj tarafından Müc@hid Salı 28 Nis. 2009 - 22:37

    Hangman!

    Kod:

    <!-- ONE STEP TO INSTALL HANGMAN:

      1.  Copy the code into the the BODY of your HTML document  -->

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

    <BODY>

    <center>
    <table border=8 bgcolor=white width=60% cellspacing=0>
    <tr><td>
    <center>
    <h2>Hangman!</h2><br>
    <b><h3><font color=red>Topic:</font> 
    Presidents of The United States</h3></b>
    <hr><br>

    <SCRIPT LANGUAGE="JavaScript">

    <!-- Original:  Rick Glusick -->

    <! >
    <! >

    <!-- Begin
    function getCookie (name) {
    var dcookie = document·cookie;
    var cname = name + "=";
    var clen = dcookie.length;
    var cbegin = 0;
    while (cbegin < clen) {
    var vbegin = cbegin + cname.length;
    if (dcookie.substring(cbegin, vbegin) == cname) {
    var vend = dcookie.indexOf (";", vbegin);
    if (vend == -1) vend = clen;
    return unescape(dcookie.substring(vbegin, vend));
    }
    cbegin = dcookie.indexOf(" ", cbegin) + 1;
    if (cbegin == 0) break;
    }
    return null;
    }
    function setCookie (name, value, expires) {
    if (!expires) expires = new Date();
    document·cookie = name + "=" + escape (value) + "; expires=" + expires.toGMTString() +  "; path=/";
    }
    function delCookie (name) {
    var expireNow = new Date();
    document·cookie = name + "=" + "; expires=Thu, 01-Jan-70 00:00:01 GMT" +  "; path=/";
    }
    var Alphabet = new initAlphaArray()
    var NumOfWords = 42;
    var SaveData = "";
    var ImageNum = "";
    var LettersSelected = "";
    var RandomWord = "";
    var DisplayWord = "";
    var position = 0;
    var word = new WordList();
    var expdate = new Date();
    var RandomNumber = (expdate.getSeconds())%NumOfWords;
    function initAlphaArray() {
    this.length = 26
    this[0] = "A"
    this[1] = "B"
    this[2] = "C"
    this[3] = "D"
    this[4] = "E"
    this[5] = "F"
    this[6] = "G"
    this[7] = "H"
    this[8] = "I"
    this[9] = "J"
    this[10] = "K"
    this[11] = "L"
    this[12] = "M"
    this[13] = "N"
    this[14] = "O"
    this[15] = "P"
    this[16] = "Q"
    this[17] = "R"
    this[18] = "S"
    this[19] = "T"
    this[20] = "U"
    this[21] = "V"
    this[22] = "W"
    this[23] = "X"
    this[24] = "Y"
    this[25] = "Z"
    }
    function WordList() {
    this.length = NumOfWords;
    this[0] = "GEORGE WASHINGTON";
    this[1] = "JOHN ADAMS";
    this[2] = "THOMAS JEFFERSON";
    this[3] = "JAMES MADISON";
    this[4] = "JAMES MONROE";
    this[5] = "JOHN QUINCY ADAMS";
    this[6] = "ANDREW JACKSON";
    this[7] = "MARTIN VAN BUREN";
    this[8] = "WILLIAM HENRY HARRISON";
    this[9] = "JOHN TYLER";
    this[10] = "JAMES POLK";
    this[11] = "ZACHARY TAYLOR";
    this[12] = "MILLARD FILLMORE";
    this[13] = "FRANKLIN PIERCE";
    this[14] = "JAMES BUCHANAN";
    this[15] = "ABRAHAM LINCOLN";
    this[16] = "ANDREW JOHNSON";
    this[17] = "ULYSSES GRANT";
    this[18] = "RUTHERFORD HAYES";
    this[19] = "JAMES GARFIELD";
    this[20] = "CHESTER ARTHUR";
    this[21] = "GROVER CLEVELAND";
    this[22] = "BENJAMIN HARRISON";
    this[23] = "GROVER CLEVELAND";
    this[24] = "WILLIAM MCKINLEY";
    this[25] = "THEODORE ROOSEVELT";
    this[26] = "WILLIAM HOWARD TAFT";
    this[27] = "WOODROW WILSON";
    this[28] = "WARREN HARDING";
    this[29] = "CALVIN COOLIDGE";
    this[30] = "HERBERT HOOVER";
    this[31] = "FRANKLIN ROOSEVELT";
    this[32] = "HARRY TRUMAN";
    this[33] = "DWIGHT EISENHOWER";
    this[34] = "JOHN KENNEDY";
    this[35] = "LYNDON JOHNSON";
    this[36] = "RICHARD NIXON";
    this[37] = "GERALD FORD";
    this[38] = "JIMMY CARTER";
    this[39] = "RONALD REAGAN";
    this[40] = "GEORGE BUSH";
    this[41] = "BILL CLINTON";
    }
    function availableLetters(i) {
    if (LettersSelected.charAt(i)==Alphabet[i])
    document.write('<TD ALIGN=CENTER VALIGN=CENTER WIDTH=20 HEIGHT=12>' +
    '<B><A HREF="javascript:LoadNextPage('+i+',\''+Alphabet[i]+
    '\')">'+Alphabet[i]+'</A></B></TD>');
    else
    document.write('<TD ALIGN=CENTER VALIGN=CENTER WIDTH=20 HEIGHT=12> </TD>');
    }
    function LoadNextPage(selected,letter) {
    var j=0;
    var HoldLettersSelected = LettersSelected;
    LettersSelected = "";
    if (selected == 0) {
    for (j=1; j<=25; j++) {
    LettersSelected += HoldLettersSelected.charAt(j);
    }
    LettersSelected = "^" + LettersSelected;
    }
    else if (selected == 25) {
    for (j=0; j<=24; j++) {
    LettersSelected += HoldLettersSelected.charAt(j);
    }
    LettersSelected += "^";
    }
    else {
    for (j=0; j<selected; j++)
    {
    LettersSelected += HoldLettersSelected.charAt(j);
    }
    LettersSelected += "^";
    for (j=selected+1; j<=25; j++) {
    LettersSelected += HoldLettersSelected.charAt(j);
      }
    }


    SaveData = ImageNum + LettersSelected + RandomWord + "*";
    setCookie("_HangMan", SaveData, expdate);
    history.go(0);
    }

    // Sets a cookie that will expire in 10 days

    expdate.setTime (expdate.getTime() + (1000*60*60*24*10));
    if(getCookie("_HangMan") == null)
    {
    ImageNum = "A";
    LettersSelected = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
    RandomWord = word[RandomNumber];
    SaveData = ImageNum + LettersSelected + RandomWord + "*";
    setCookie("_HangMan", SaveData, expdate);
    }
    else {
    SaveData = getCookie("_HangMan");
    ImageNum = SaveData.charAt(0);
    for (position=1; position<=26; position++) {
    LettersSelected += SaveData.charAt(position);
    }
    for (position=27; position<SaveData.indexOf("*"); position++) {
    RandomWord += SaveData.charAt(position);
      }
    }
    DisplayWord = "";
    for (i=0; i<RandomWord.length; i++) {
    if (RandomWord.charAt(i) == ' ') {
    DisplayWord += " ";
    }
    else {
    MatchFound = false;
    for (j=0; j<=25; j++) {
    if ((LettersSelected.charAt(j) == "^") && (RandomWord.charAt(i) == Alphabet[j])) {
    DisplayWord += RandomWord.charAt(i);
    MatchFound = true;
      }
    }
    if (!MatchFound) DisplayWord += "-";
      }
    }
    if (ImageNum == "J") {
    document.write('<font color=red size=4>You Lost!<br>Answer:  "' + RandomWord + '"</font>');
    }
    else if (RandomWord == DisplayWord) {
    document.write('<font color=red size=8>You Win!</font>');
    }
    else {
    document.write('<table>');
    document.write('<tr>');
    for (i=0; i<13; i++) availableLetters(i);
    document.write('</tr>');
    document.write('<tr>');
    for (i=13; i<26; i++) availableLetters(i);
    document.write('</tr>');
    document.write('</table>');
    }
    document.write('<br>');
    document.write('<br>');
    document.write('<font size=9><tt>');
    document.write(DisplayWord);
    document.write('</tt></font>');
    document.write('<form>');
    document.write('<input type="button" VALUE="New Game"'+
    'onClick="delCookie(\'_HangMan\');history.go(0);">');
    document.write('</form>');
    document.write('</center>');
    // End -->
    </SCRIPT>
    </td></tr>
    </table>
    </center>

     

    <!-- Script Size:  6.31 KB  -->
    Müc@hid
    Müc@hid
    Aktif-Üye !
    Aktif-Üye !

    Erkek
    Mesaj Sayısı : 1510
    Uyarı yok

    http://www.googlez.net

    Sayfa başına dön Aşağa gitmek

    Forumlariniz icin degisik Kodlar [konu 1] - Sayfa 25 Empty Geri: Forumlariniz icin degisik Kodlar [konu 1]

    Mesaj tarafından Müc@hid Salı 28 Nis. 2009 - 22:38

    Lights Out

    Kod:

    <!-- TWO STEPS TO INSTALL LIGHTS OUT:

      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">
    <!-- Original:  Andrew Gacek (andrew@dgi.net) -->

    <! >
    <! >

    <!-- Begin
    function fillall() {
    for (var i = 0; i < 24; i++) {
    document.lightsform.elements[i].checked=1;
      }
    }
    function clearall() {
    for (var i = 0; i < 24; i++) {
    document.lightsform.elements[i].checked=0;
      }
    }
    function level1() {
    clearall();
    document.lightsform.elements[10].checked=1;
    document.lightsform.elements[12].checked=1;
    document.lightsform.elements[14].checked=1;
    }
    function level2() {
    clearall();
    document.lightsform.elements[12].checked=1;
    document.lightsform.elements[16].checked=1;
    document.lightsform.elements[17].checked=1;
    document.lightsform.elements[18].checked=1;
    document.lightsform.elements[20].checked=1;
    document.lightsform.elements[21].checked=1;
    document.lightsform.elements[22].checked=1;
    document.lightsform.elements[23].checked=1;
    document.lightsform.elements[24].checked=1;
    }
    function level3() {
    fillall();
    document.lightsform.elements[4].checked=0;
    document.lightsform.elements[6].checked=0;
    document.lightsform.elements[7].checked=0;
    document.lightsform.elements[8].checked=0;
    document.lightsform.elements[11].checked=0;
    document.lightsform.elements[12].checked=0;
    document.lightsform.elements[13].checked=0;
    document.lightsform.elements[16].checked=0;
    document.lightsform.elements[17].checked=0;
    document.lightsform.elements[18].checked=0;
    document.lightsform.elements[24].checked=0;
    }
    function level4() {
    clearall();
    document.lightsform.elements[2].checked=1;
    document.lightsform.elements[6].checked=1;
    document.lightsform.elements[8].checked=1;
    document.lightsform.elements[10].checked=1;
    document.lightsform.elements[12].checked=1;
    document.lightsform.elements[14].checked=1;
    document.lightsform.elements[16].checked=1;
    document.lightsform.elements[18].checked=1;
    document.lightsform.elements[22].checked=1;
     }
    function level5() {
    clearall();
    document.lightsform.elements[11].checked=1;
    document.lightsform.elements[16].checked=1;
    document.lightsform.elements[21].checked=1;
    }
    function checkall() {
    var win=1;
    for (var i = 0; i < 24; i++) {
    if (document.lightsform.elements[i].checked==1) {
    win=0;
      }
    }
    if (win==1){
    alert("\nYou Won!!\n")
      }
    }
    function check(v){
    q=5;
    w=1;
    row=parseInt(v/q)+w;
    if (isNaN(row)) {
    row=1;
    }
    intv = parseInt(v);
    a=eval(intv+q);
    b=eval(intv-q);
    c=eval(intv+w);
    d=eval(intv-w);
    if (a<0 || a>24){
    a=25;
    }
    if (b<0 || b>24){
    b=25;
    }
    if (c<0 || c>24){
    c=25;
    }
    if (d<0 || d>24){
    d=25;
    }
    kc = (parseInt(c/q)+w)
    kd = (parseInt(d/q)+w)
    kv = row;
    if (kc != kv){
    c=25;
    }
    if (kd != kv){
    d=25;
    }
    if (v==5) d=25; // correction for strange bug
     
    if (document.lightsform.elements[a].checked == 1) {
    document.lightsform.elements[a].checked=0;
    }
    else {
    document.lightsform.elements[a].checked=1;
    }
    if (document.lightsform.elements[b].checked == 1) {
    document.lightsform.elements[b].checked=0;
    }
    else {
    document.lightsform.elements[b].checked=1;
    }
    if (document.lightsform.elements[c].checked == 1) {
    document.lightsform.elements[c].checked=0;
    }
    else {
    document.lightsform.elements[c].checked=1;
    }
    if (document.lightsform.elements[d].checked == 1) {
    document.lightsform.elements[d].checked=0;
    }
    else {
    document.lightsform.elements[d].checked=1;
    }
    checkall();
    }
    //  End -->
    </script>
    </HEAD>

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

    <BODY>

    <center>
    <form name=lightsform>
    <table colspec="l20 l20 l20 l20 l20" border=7>
    <tr>
    <td><input type=checkbox value=0 onClick="check(value)"></td>
    <td><input type=checkbox value=1 onClick="check(value)"></td>
    <td><input type=checkbox value=2 onClick="check(value)"></td>
    <td><input type=checkbox value=3 onClick="check(value)"></td>
    <td><input type=checkbox value=4 onClick="check(value)"></td>
    </tr>
    <tr>
    <td><input type=checkbox value=5 onClick="check(value)"></td>
    <td><input type=checkbox value=6 onClick="check(value)"></td>
    <td><input type=checkbox value=7 onClick="check(value)"></td>
    <td><input type=checkbox value=8 onClick="check(value)"></td>
    <td><input type=checkbox value=9 onClick="check(value)"></td>
    </tr>
    <tr>
    <td><input type=checkbox value=10 onClick="check(value)"></td>
    <td><input type=checkbox value=11 onClick="check(value)"></td>
    <td><input type=checkbox value=12 onClick="check(value)"></td>
    <td><input type=checkbox value=13 onClick="check(value)"></td>
    <td><input type=checkbox value=14 onClick="check(value)"></td>
    </tr>
    <tr>
    <td><input type=checkbox value=15 onClick="check(value)"></td>
    <td><input type=checkbox value=16 onClick="check(value)"></td>
    <td><input type=checkbox value=17 onClick="check(value)"></td>
    <td><input type=checkbox value=18 onClick="check(value)"></td>
    <td><input type=checkbox value=19 onClick="check(value)"></td>
    </tr>
    <tr>
    <td><input type=checkbox value=20 onClick="check(value)"></td>
    <td><input type=checkbox value=21 onClick="check(value)"></td>
    <td><input type=checkbox value=22 onClick="check(value)"></td>
    <td><input type=checkbox value=23 onClick="check(value)"></td>
    <td><input type=checkbox value=24 onClick="check(value)"></td>
    </tr>
    </table>
    <br>
    <table border=1>
    <tr>
    <td><a href="javascript:level1()">level 1</a></td>
    <td><a href="javascript:level2()">level 2</a></td>
    </tr>
    <tr>
    <td><a href="javascript:level3()">level 3</a></td>
    <td><a href="javascript:level4()">level 4</a></td>
    </tr>
    <tr>
    <td><a href="javascript:level5()">level 5</a></td>
    <td><input type="reset" value="clear"></td>
    </tr>
    </table>

     

    <!-- Script Size:  5.86 KB -->
    Müc@hid
    Müc@hid
    Aktif-Üye !
    Aktif-Üye !

    Erkek
    Mesaj Sayısı : 1510
    Uyarı yok

    http://www.googlez.net

    Sayfa başına dön Aşağa gitmek

    Forumlariniz icin degisik Kodlar [konu 1] - Sayfa 25 Empty Geri: Forumlariniz icin degisik Kodlar [konu 1]

    Mesaj tarafından Müc@hid Salı 28 Nis. 2009 - 22:39

    Love Test


    Kod:
    <!-- TWO STEPS TO INSTALL LOVE TEST:

      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">

    <! >
    <! >

    <!-- Begin
    function calc() {

    first = document.loveform.name1.value.toUpperCase();
    firstlength = document.loveform.name1.value.length;
    second = document.loveform.name2.value.toUpperCase();
    secondlength = document.loveform.name2.value.length;
    var LoveCount=0;

    for (Count=0; Count < firstlength; Count++) {
    letter1=first.substring(Count,Count+1);
    if (letter1=='L') LoveCount+=2;
    if (letter1=='O') LoveCount+=2;
    if (letter1=='V') LoveCount+=2;
    if (letter1=='E') LoveCount+=2;
    if (letter1=='Y') LoveCount+=3;
    if (letter1=='O') LoveCount+=1;
    if (letter1=='U') LoveCount+=3;
    }

    for (Count=0; Count < secondlength; Count++) {
    letter2=second.substring(Count,Count+1);
    if (letter2=='L') LoveCount+=2;
    if (letter2=='O') LoveCount+=2;
    if (letter2=='V') LoveCount+=2;
    if (letter2=='E') LoveCount+=2;
    if (letter2=='Y') LoveCount+=3;
    if (letter2=='O') LoveCount+=1;
    if (letter2=='U') LoveCount+=3;
    }

    amount=0;
    if (LoveCount> 0) amount=  5-((firstlength+secondlength)/2)
    if (LoveCount> 2) amount= 10-((firstlength+secondlength)/2)
    if (LoveCount> 4) amount= 20-((firstlength+secondlength)/2)
    if (LoveCount> 6) amount= 30-((firstlength+secondlength)/2)
    if (LoveCount> 8) amount= 40-((firstlength+secondlength)/2)
    if (LoveCount>10) amount= 50-((firstlength+secondlength)/2)
    if (LoveCount>12) amount= 60-((firstlength+secondlength)/2)
    if (LoveCount>14) amount= 70-((firstlength+secondlength)/2)
    if (LoveCount>16) amount= 80-((firstlength+secondlength)/2)
    if (LoveCount>18) amount= 90-((firstlength+secondlength)/2)
    if (LoveCount>20) amount=100-((firstlength+secondlength)/2)
    if (LoveCount>22) amount=110-((firstlength+secondlength)/2)

    if (firstlength==0 || secondlength==0) amount= "Err";
    if (amount < 0) amount= 0;
    if (amount >99) amount=99;

    document.loveform.output.value=amount+"%";
    }
    //  End -->
    </script>

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

    <BODY>

    <form name=loveform>
    <input value="Bill Clinton" name="name1" type="text" size="20"> +
    <input value="Monica Lewinsky" name="name2" type="text" size="20"> =
    <input value="" name="output" type="text" size="6">
    <br>
    <br>
    <input value="Calculate!" name="calculate" type="button" value="calculate" onclick="calc()">
    </form>

     

    <!-- Script Size:  2.65 KB -->
    Müc@hid
    Müc@hid
    Aktif-Üye !
    Aktif-Üye !

    Erkek
    Mesaj Sayısı : 1510
    Uyarı yok

    http://www.googlez.net

    Sayfa başına dön Aşağa gitmek

    Forumlariniz icin degisik Kodlar [konu 1] - Sayfa 25 Empty Geri: Forumlariniz icin degisik Kodlar [konu 1]

    Mesaj tarafından Müc@hid Salı 28 Nis. 2009 - 22:41

    Browser Bilgileri

    Kod:

    <!-- THREE STEPS TO INSTALL BROWSER DETAILS:

      1.  Paste the final coding into the HEAD of your HTML document
      2.  Add the onLoad event handler to the BODY of your HTML document
      3.  Copy the last code into the BODY of your HTML document  -->

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

    <HEAD>

    <SCRIPT>

    <! >
    <! >

    <!-- Begin
    function whatBrowser() {
    document.Browser.Name.value=navigator.appName;
    document.Browser.Version.value=navigator.appVersion;
    document.Browser.Code.value=navigator.appCodeName;
    document.Browser.Agent.value=navigator.userAgent;
    }
    // End -->
    </SCRIPT>

    <!-- STEP TWO:  Add the onLoad event handler to the BODY of your HTML document  -->

    <BODY onLoad="whatBrowser()">

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

    <CENTER>
    <TABLE BORDER>
    <FORM NAME="Browser">
    <TR>
    <TD> Browser Name: </TD>
    <TD> <INPUT TYPE="txt" NAME="Name" Size="45"></TD>
    </TR>
    <TR>
    <TD> Browser Version: </TD>
    <TD> <INPUT TYPE="txt" NAME="Version" Size="45"></TD>
    </TR>
    <TR>
    <TD> Browser Code Name: </TD>
    <TD> <INPUT TYPE="txt" NAME="Code" Size="45"></TD>
    </TR>
    <TR>
    <TD> User-Agent: </TD>
    <TD> <INPUT TYPE="txt" NAME="Agent" Size="45"></TD>
    </TR>
    </FORM>
    </TABLE>
    </CENTER>

     

    <!-- Script Size:  1.40 KB  -->
    Müc@hid
    Müc@hid
    Aktif-Üye !
    Aktif-Üye !

    Erkek
    Mesaj Sayısı : 1510
    Uyarı yok

    http://www.googlez.net

    Sayfa başına dön Aşağa gitmek

    Forumlariniz icin degisik Kodlar [konu 1] - Sayfa 25 Empty Geri: Forumlariniz icin degisik Kodlar [konu 1]

    Mesaj tarafından Müc@hid Salı 28 Nis. 2009 - 22:43

    Mouseun üzerine doğru yağan harfler.

    Kod:
    Kod:
    <script language="JavaScript">

    <!-- Useless Message Script by kurt.grigg( at )virgin.net

     

    /****** Things you can change *****/

    msg="SAMSUNSPOR";

    msgSize=4;//1-7

    FoNt='Arial';

    CoLoR='777777';

    speed=2;

     

    /****** Things you shouldn't change *****/

    ns=(document.layers)?1:0;

    msg=msg.split(''),amount=msg.length,Y=0,X=0,ypos=0,xpos=0,ybase=new Array(),xbase=new Array();

    angle = new Array(),divTop= new Array(),divLeft=new Array();

    DocHeight=(document.layers)?window.innerHeight:window.document.body.offsetHeight;

    DocWidth=(document.layers)?window.innerWidth:window.document.body.offsetWidth;

     

    //initial layer placement!

    for (i=0; i < amount; i++){

    divTop[i]=Math.round(Math.random()*DocHeight);

    divLeft[i]=Math.round(Math.random()*DocWidth);

    }

    if (ns){

    for (i = 0; i < amount; i++)

    {document.write('<layer name=nsd'+i+' top=0 left=0 width='+msgSize+' height='+msgSize+'><font face='+FoNt+' size='+msgSize+' color='+CoLoR+'>'+msg[i]+'</font></layer>');}

    window.captureEvents(Event.MOUSEMOVE);

    function nsMouse(evnt){

    ypos = evnt.pageY-20;

    xpos = evnt.pageX-10;

    }

    window.onMouseMove = nsMouse;

    }

    else{

    document.write('<div id="hldr" style="position:absolute;top:0px;left:0px">')

    document.write('<div style="position:relative">')

    for (i=0; i < amount; i++)

    {document.write('<div id=ied style="position:absolute;top:0px;left:0px;width:'+msgSize+';height:'+msgSize+'"><font face='+FoNt+' size='+msgSize+' color='+CoLoR+'>'+msg[i]+'</font></div>')}

    document.write('</div></div>')

    function ieMouse(){

    ypos = event.y-20;

    xpos = event.x-10;

    }

    document.onmousemove = ieMouse;

    }

     

     

     

     

    function GoToMouse(){

    var DocHeight=(document.layers)?window.innerHeight:window.document.body.offsetHeight;

    var DocWidth=(document.layers)?window.innerWidth:window.document.body.offsetWidth;

    var iscrll=(document.all)?document.body.scrollTop:0;

    var nscrll=(document.layers)?window.pageYOffset:0;

    if (!ns)hldr.style.top=iscrll;

    for (i=0; i < amount; i++){

    Y = ypos - divTop[i];

    X = xpos - divLeft[i];

    angle[i] = Math.round(Math.atan2(Y,X) * 180/Math.PI);

    if (angle[i] < 0) angle[i] += 360;

    ybase[i]=Math.round(Math.random()*DocHeight);

    xbase[i]=Math.round(Math.random()*DocWidth);

    rep=Math.round(Math.random() * 3);

    extra=Math.round(Math.random() * 200)

    if (rep == 3)xbase[i] =-extra;

    if (rep == 2)xbase[i] =DocWidth+extra;

    if (rep == 1)ybase[i] =-extra;

    if (rep == 0)ybase[i] =DocHeight;

    y = Math.round(speed*Math.sin(angle[i]*Math.PI/180));

    x = Math.round(speed*Math.cos(angle[i]*Math.PI/180));

    divTop[i]+=y;

    divLeft[i]+=x;                                                                 

    if ((divLeft[i] > xpos-speed) && (divLeft[i] < xpos+speed/1.5) && (divTop[i] >= ypos-speed/1.5) && (divTop[i] <= ypos+speed/1.5))

    {divTop[i]=ybase[i]+nscrll;divLeft[i]=xbase[i]}

    var layer=(document.layers)?document.layers['nsd'+i]:ied[i].style;

    layer.top=divTop[i];layer.left=divLeft[i];

    }

    S=setTimeout('GoToMouse()',10);

    }

    window.onload=GoToMouse;

    //-->

    </script>
    Müc@hid
    Müc@hid
    Aktif-Üye !
    Aktif-Üye !

    Erkek
    Mesaj Sayısı : 1510
    Uyarı yok

    http://www.googlez.net

    Sayfa başına dön Aşağa gitmek

    25 sayfadaki 34 sayfası Önceki  1 ... 14 ... 24, 25, 26 ... 29 ... 34  Sonraki

    Sayfa başına dön

    - Similar topics

     
    Bu forumun müsaadesi var:
    Bu forumdaki mesajlara cevap veremezsiniz