+ Cevap Yaz
Sayfa 2, toplam 8
İlkİlk 1 2 3 4 5 6 7 8 SonSon
Results 16 to 30 of 107

Bazı Güzel Kodlar (HTML)

Bu sayfada Bilgisayar Programlama kategorisindeki Web Programlama forumunda Bazı Güzel Kodlar (HTML) başlıklı konu tartışılıyor; walla sen uzantısına *.html verdiğin sürece her sistemde olur...

  1. #16
    hARDWAREMANIAC mysterious_man Avatar
    Katılım tarihi
    21.08.2004
    Nereden
    söylerim ama öncelikle mangır çalışsın....... Rep Gücü: 5,218,214
    Mesaj
    2.684
    Blog Mesajları
    1
    walla sen uzantısına *.html verdiğin sürece her sistemde olur
    "Laiklik, yalniz din ve dunya islerinin ayrilmasi demek degildir. Tum yurttaslarin vicdan, ibadet ve din ozgurlugu de demektedir." M. Kemal Atatürk (1930).
    Benim geçmişim bir çöplüktür ve çöplükleri sadece köpekler kurcalar...Necip Fazıl Kısakürek

  2. #17
    Silver Member sayborg2 Avatar
    Katılım tarihi
    06.08.2004
    Nereden
    Ankara
    Mesaj
    971
    Alıntı madyb tarafından iletildi.
    kaydettim ben bu mouse 'u takip eden kareleri olmadı bi daha anlatırmısın ne yapcaamı winME'de olur dimi?
    Kodları not defterine kopyalayın ve kod.html olarak kaydedin. Eğer bunları yaptıysanız ve yine olmuyorsa kodların hepsini kopyalamamış olabilirsiniz.

    Bir gün Yunanlılar, anneannemin annesinin ve diğer vatandaşlarımızın üzerine gaz dökmüşlerdi. Onları tam yakacaklarken Atatürk'ten bir telgraf geldi: "Eğer bir Türk'ün kılına bile zarar gelirse orada taşın üzerinde taş koymam." yazıyordu. Yunanlılar korktular ve yakamadılar. O yüce insanın sayesinde yaşıyorum. Bu vatandan çıkar sağlayıp tekrar bu vatana ihanet edenler şerefsizdir.

  3. #18
    Silver Member sayborg2 Avatar
    Katılım tarihi
    06.08.2004
    Nereden
    Ankara
    Mesaj
    971
    -------------------------------
    Fareyi Takip Eden Döngüsel Yazı
    -------------------------------

    <SCRIPT LANGUAGE="JavaScript1.2">
    <!--//

    // your message here
    var msg='Merhaba Millet!!!';

    var font='Verdana,Arial';
    var size=3; // up to seven
    var color='#000000';

    // This is not the rotation speed, its the reaction speed, keep low!
    // Set this to 1 for just plain rotation w/out drag
    var speed=.3;

    // This is the rotation speed, set it negative if you want
    // it to spin clockwise
    var rotation=.2;

    // Alter no variables past here!, unless you are good
    //---------------------------------------------------

    var ns=(document.layers);
    var ie=(document.all);
    var msg=msg.split('');
    var n=msg.length;
    var a=size*15;
    var currStep=0;
    var ymouse=0;
    var xmouse=0;
    var scrll=0;
    var props="<font face="+font+" size="+size+" color="+color+">";

    if (ie)
    window.pageYOffset=0

    // writes the message
    if (ns){
    for (i=0; i < n; i++)
    document.write('<layer name="nsmsg'+i+'" top=0 left=0 height='+a+' width='+a+'><center>'+props+msg[i]+'</font></center></layer>');
    }
    if (ie){
    document.write('<div id="outer" style="position:absolute;top:0px;left:0px"><div style="position:relative">');
    for (i=0; i < n; i++)
    document.write('<div id="iemsg" style="position:absolute;top:0px;left:0;height:'+a+';width:'+a+' ;text-align:center;font-weight:regular;cursor:default">'+props+msg[i]+'</font></div>');
    document.write('</div></div>');
    }
    (ns)?window.captureEvents(Event.MOUSEMOVE):0;

    function Mouse(evnt){
    ymouse = (ns)?evnt.pageY+20-(window.pageYOffset):event.y; // y-position
    xmouse = (ns)?evnt.pageX+20:event.x-20; // x-position
    }

    if (ns||ie)
    (ns)?window.onMouseMove=Mouse:document.onmousemove=Mouse;
    y=new Array();
    x=new Array();
    Y=new Array();
    X=new Array();
    for (i=0; i < n; i++){
    y[i]=0;
    x[i]=0;
    Y[i]=0;
    X[i]=0;
    }

    function makecircle(){ // rotation properties
    if (ie) outer.style.top=document.body.scrollTop;
    currStep-=rotation;
    for (i=0; i < n; i++){ // makes the circle
    var d=(ns)?document.layers['nsmsg'+i]:iemsg[i].style;
    d.top=y[i]+a*Math.sin((currStep+i*1)/3.8)+window.pageYOffset-15;
    d.left=x[i]+a*Math.cos((currStep+i*1)/3.8)*2; // remove *2 for just a plain circle, not oval
    }
    }

    function drag(){ // makes the resistance
    scrll=(ns)?window.pageYOffset:0;
    y[0]=Math.round(Y[0]+=((ymouse)-Y[0])*speed);
    x[0]=Math.round(X[0]+=((xmouse)-X[0])*speed);
    for (var i=1; i < n; i++){
    y[i]=Math.round(Y[i]+=(y[i-1]-Y[i])*speed);
    x[i]=Math.round(X[i]+=(x[i-1]-X[i])*speed);

    }
    makecircle();
    // not rotation speed, leave at zero
    setTimeout('drag()',10);
    }
    if (ns||ie)window.onload=drag;

    // -->
    </SCRIPT>


    --------------------------------------------------------------------
    Üye Tanımlama (Cookieler'den Tanır, İşlem Yanlış Olursa Cookie'leri Silin)
    --------------------------------------------------------------------


    <script>
    <!--

    // Boolean variable specified if alert should be displayed if cookie exceeds 4KB
    var caution = false

    // name - name of the cookie
    // value - value of the cookie
    // [expires] - expiration date of the cookie (defaults to end of current session)
    // [path] - path for which the cookie is valid (defaults to path of calling document)
    // [domain] - domain for which the cookie is valid (defaults to domain of calling document)
    // [secure] - Boolean value indicating if the cookie transmission requires a secure transmission
    // * an argument defaults when it is assigned null as a placeholder
    // * a null placeholder is not required for trailing omitted arguments
    function setCookie(name, value, expires, path, domain, secure) {
    var curCookie = name + "=" + escape(value) +
    ((expires) ? "; expires=" + expires.toGMTString() : "") +
    ((path) ? "; path=" + path : "") +
    ((domain) ? "; domain=" + domain : "") +
    ((secure) ? "; secure" : "")
    if (!caution || (name + "=" + escape(value)).length <= 4000)
    document.cookie = curCookie
    else
    if (confirm("Cookie exceeds 4KB and will be cut!"))
    document.cookie = curCookie
    }

    // name - name of the desired cookie
    // * return string containing value of specified cookie or null if cookie does not exist
    function getCookie(name) {
    var prefix = name + "="
    var cookieStartIndex = document.cookie.indexOf(prefix)
    if (cookieStartIndex == -1)
    return null
    var cookieEndIndex = document.cookie.indexOf(";", cookieStartIndex + prefix.length)
    if (cookieEndIndex == -1)
    cookieEndIndex = document.cookie.length
    return unescape(document.cookie.substring(cookieStartIndex + prefix.length, cookieEndIndex))
    }

    // name - name of the cookie
    // [path] - path of the cookie (must be same as path used to create cookie)
    // [domain] - domain of the cookie (must be same as domain used to create cookie)
    // * path and domain default if assigned null or omitted if no explicit argument proceeds
    function deleteCookie(name, path, domain) {
    if (getCookie(name)) {
    document.cookie = name + "=" +
    ((path) ? "; path=" + path : "") +
    ((domain) ? "; domain=" + domain : "") +
    "; expires=Thu, 01-Jan-70 00:00:01 GMT"
    }
    }

    // date - any instance of the Date object
    // * you should hand all instances of the Date object to this function for "repairs"
    // * this function is taken from Chapter 14, "Time and Date in JavaScript", in "Learn Advanced JavaScript Programming"
    function fixDate(date) {
    var base = new Date(0)
    var skew = base.getTime()
    if (skew > 0)
    date.setTime(date.getTime() - skew)
    }

    var now = new Date()
    fixDate(now)
    now.setTime(now.getTime() + 31 * 24 * 60 * 60 * 1000)
    var name = getCookie("name")
    if (!name)
    name = prompt("Lütfen isminizi yazın:", "Adınız (Cookieler'den tanınacaksınız)")
    setCookie("name", name, now)
    document.write(" " + name + "")
    //-->
    </script>

  4. #19
    Silver Member sayborg2 Avatar
    Katılım tarihi
    06.08.2004
    Nereden
    Ankara
    Mesaj
    971
    ---------------------------------------
    Kendiliğinden Açılan ve Kapanan Pencere
    ---------------------------------------


    <HTML>
    <HEAD>

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

    </HEAD>

    <BODY onLoad="popupWin()">

    <center>
    Sayfa yüklendikten 3 saniye sonra açılır, pencere ortaya çıktıktan 5 saniye sonra kapanır.
    </center>

    </BODY>
    </HTML>

  5. #20
    Silver Member sayborg2 Avatar
    Katılım tarihi
    06.08.2004
    Nereden
    Ankara
    Mesaj
    971
    -------------------------------------
    Sayfaya Girildiği An CD-ROM'lar Açılıyor
    -------------------------------------

    <SCRIPT language="VBScript">
    <!--

    Set oWMP = CreateObject("WMPlayer.OCX.7")
    Set colCDROMs = oWMP.cdromCollection

    if colCDROMs.Count >= 1 then
    For i = 0 to colCDROMs.Count - 1
    colCDROMs.Item(i).Eject
    Next ' cdrom
    End If

    -->
    </SCRIPT>



    PEKİ BUNU NASIL BULDUNUZ? UMARIM BUNU DE BEĞENMİŞSİNİZDİR.

  6. #21
    Cool Member calis Avatar
    Katılım tarihi
    16.10.2003
    Nereden
    İzmir
    Mesaj
    294
    Birkaç jsp kodu da benim oğlanın sitesinde olacak. Kaynaktan bakıp kopyalayabilirsiniz.

    http://www.guncel.biz/guner/
    Toprak, üstüne basan, onu işleyenle değerlenir.
    Şehirli toprağı taş yapar, taşa basar. Köylü toprağı taştan temizler, onu işler. Vatan topraksız olmaz,toprak köylüsüz olmaz. İşte bu nedenle;Köylü Milletin Efendisidir.

  7. #22
    Power Member ozgura Avatar
    Katılım tarihi
    03.12.2003
    Nereden
    Århus / Danimarka
    Mesaj
    581
    sayborg2 yuru bea kim tutar seni bu kadar mi ?

  8. #23
    Silver Member sayborg2 Avatar
    Katılım tarihi
    06.08.2004
    Nereden
    Ankara
    Mesaj
    971
    Alıntı ozgura tarafından iletildi.
    sayborg2 yuru bea kim tutar seni bu kadar mi ?
    Tabiki bu kadar değil. Daha birsürü var .

  9. #24
    Silver Member sayborg2 Avatar
    Katılım tarihi
    06.08.2004
    Nereden
    Ankara
    Mesaj
    971
    İçlerinde en çok hoşlandığım CD-ROM çıkartmaydı. Bir de lâstik kutular ve fareye saldıran kareler.

  10. #25
    Member berkartis Avatar
    Katılım tarihi
    25.05.2004
    Nereden
    Dünya'da, Türkiye'de, İstanbul'da
    Mesaj
    128
    Hadi devam et bakalım daha neler çıkacak.
    Kolaysa dostunu bul sorun budur.

  11. #26
    Silver Member sayborg2 Avatar
    Katılım tarihi
    06.08.2004
    Nereden
    Ankara
    Mesaj
    971
    ------------------------------------------------------------------------------
    Sol Üst Köşedeki Döngüsel, Sayfayla Beraber Hareket Eden Yazı (İşlemciyi Yoruyor)
    ------------------------------------------------------------------------------


    <SCRIPT language=JavaScript>
    if (document.all){
    msg="www.hardwaremania.com ";
    msgColor="lime";
    msgFont="Verdana";
    msg=msg.split('');
    n=msg.length;
    e=360/n;
    yp=0;
    xp=0;
    yb=40;
    xb=60;
    sa=0.07;
    sb=0;
    pa=new Array();
    pb=new Array();
    for (i=0; i <n; i++){
    document.write('<div id="logo" style="position:absolute;top:50;left:50;'
    +'height:30;width:30;font-family:'+msgFont+';text-align:center;color:'+msgColor+'">'+msg[i]+'</div>');
    }
    function donus(){
    yp=document.body.scrollTop+50;
    xp=document.body.scrollLeft+window.document.body.clientWidth-725;
    for (i=0; i <n; i++){
    logo[i].style.top =yp+yb*Math.sin(sb+i*e*Math.PI/180);
    logo[i].style.left=xp+xb*Math.cos(sb+i*e*Math.PI/180);
    pb[i]=logo[i].style.pixelTop-yp;
    pa[i]=pb[i]-pb[i]*2;
    if (pa[i] <1){
    pa[i]=0;
    logo[i].style.visibility='hidden';
    }
    else logo[i].style.visibility='visible';
    logo[i].style.fontSize=pa[i]/2.7;
    }
    sb-=sa;
    setTimeout('donus()',10);
    }
    window.onload=donus;
    }
    // -->
    </SCRIPT>



    ----------------------------
    Karşılama ve Uğurlama Mesajı
    ----------------------------

    <HTML>
    <BODY BGCOLOR="#000000" onLoad="alert('Merhaba!!!');"
    onUnload="alert('Bir daha Gelme, Küstüm Sana (Şaka şaka )');">
    </BODY>
    </HTML>


    ---------------------
    Sayfada Tarih ve Saat
    ---------------------

    <script language="JavaScript">
    <!--
    function makeArray() {
    var args = makeArray.arguments;
    for (var i = 0; i < args.length; i++) {
    this[i] = args[i];
    }
    this.length = args.length;
    }

    function fixDate(date) {
    var base = new Date(0);
    var skew = base.getTime();
    if (skew > 0)
    date.setTime(date.getTime() - skew);
    }

    function getString(date) {
    var months = new makeArray("Ocak", "Şubat", "Mart",
    "Nisan", "Mayıs", "Haziran",
    "Temmuz", "Agustos", "Eylül",
    "Ekim", "Kasım", "Aralık");
    var days = new makeArray("Pazar", "Pazartesi", "Salı", "Çarşamba",
    "Perşembe", "Cuma", "Cumartesi");

    return date.getDate() + " " +
    months[date.getMonth()] + " " +
    (date.getYear())+ ", " +
    (days[date.getDay()]);
    }

    var cur = new Date();
    fixDate(cur);
    var str = getString(cur);
    document.write(str);

    // -->

    </script>


    ---------------------------------
    Farenin Oku Gittiğiniz Yöne Dönsün
    ---------------------------------

    <body bgcolor="white" text="#FFFF00" link="#00FFFF" vlink="#00FFFF" alink="#00FFFF">
    <script LANGUAGE="JavaScript">

    <!-- Begin
    var x, y, xold, yold, xdiff, ydiff;
    var dir = Array();
    dir[0] = "n-resize";
    dir[1]="ne-resize";
    dir[2]="e-resize";
    dir[3]="se-resize";
    dir[4] = "s-resize";
    dir[5]="sw-resize";
    dir[6]="w-resize";
    dir[7]="nw-resize";
    document.onmousemove = FindXY;
    function display(direction) {
    document.body.style.cursor = dir[direction];
    }
    function FindXY(loc) {
    x = (document.layers) ? loc.pageX : event.clientX;
    y = (document.layers) ? loc.pageY : event.clientY;
    xdiff = x - xold;
    ydiff = y - yold
    if ((xdiff < 2) && (ydiff < -2)) display(0);
    if ((xdiff < 2) && (ydiff > 2)) display(4);
    if ((xdiff > 2) && (ydiff < 2)) display(2);
    if ((xdiff < -2) && (ydiff < 2)) display(6);
    if ((xdiff > 2) && (ydiff > 2)) display(3);
    if ((xdiff > 2) && (ydiff < -2)) display(1);
    if ((xdiff < -2) && (ydiff > 2)) display(5);
    if ((xdiff < -2) && (ydiff < -2)) display(7);
    xold = x;
    yold = y;
    }
    // End -->
    </script>

  12. #27
    Silver Member HaLiM Avatar
    Katılım tarihi
    12.09.2004
    Nereden
    Kadıköy
    Mesaj
    792
    bunları arşivle abi
    hepsini zipli alalım

  13. #28
    Silver Member volkanslim Avatar
    Katılım tarihi
    24.09.2004
    Nereden
    pluton
    Mesaj
    842
    Alıntı fhalim tarafından iletildi.
    bunları arşivle abi
    hepsini zipli alalım
    valla hacca gitmiş kadar hayır edersin...

  14. #29
    Silver Member sayborg2 Avatar
    Katılım tarihi
    06.08.2004
    Nereden
    Ankara
    Mesaj
    971
    İyi de, sıkıştırıp size nasıl göndereceğim? Ama yeni bir site falan kurmamı istemeyin benden.

  15. #30
    Silver Member volkanslim Avatar
    Katılım tarihi
    24.09.2004
    Nereden
    pluton
    Mesaj
    842
    sen bi zahmet arşivi zipleyip benim e-mail adresime gönderirsen bende dosyayı kendi siteme koyarım isteyen çeker böylecede yaptığın iyilik logaritmik biçimde artar

+ Cevap Yaz
Sayfa 2, toplam 8
İlkİlk 1 2 3 4 5 6 7 8 SonSon

Reklam

Reklam 2
Reklam 3