Webhosting in Pakistan
Results 1 to 4 of 4

Thread: Make A Program In Java

  1. #1
    Join Date
    26 Aug 2006
    Location
    Karachi
    Age
    27
    Posts
    268
    Threads
    74
    Credits
    0
    Thanked
    4

    Default Make A Program In Java

    Webhosting in Pakistan
    Assalam-o-Alaikum Members omeed hai sub khayryat say hon gay
    bhai ji mujhay aik choti si script chahiyay java ki bohot hi choti hai bus yay kay jab bhi site open ho to pahlay wo naame poochay os kay baad aik Dialog Box day jiss main Welcome To Our site or agay os ka naam likha ho omeed hai app jald reply karain gay
    Signature ITDUNYA.COM hai na

    Your Borther
    Junaid

  2. #2
    Join Date
    20 May 2006
    Location
    North Nazimabad , Karachi
    Age
    36
    Gender
    Male
    Posts
    894
    Threads
    70
    Credits
    505
    Thanked
    5

    Default

    As Salam Alykum

    Jnab App 10 Min W8 Kaary May App Ko Pm May Send Karta Ho Ok

  3. #3
    scimo's Avatar
    scimo is offline Senior Member+
    Last Online
    21st March 2016 @ 07:56 PM
    Join Date
    01 Jun 2006
    Posts
    109
    Threads
    13
    Credits
    0
    Thanked
    0

    Default

    Dear mairay pass German main hain...but no problem...........app is script ko add karlay.....................jaha message hain waha par apni mand passand text likh day....



    <!-- präsentiert von kostenlose-javascripts.de -->
    <div id="infos">Bitte warten</div>
    <script type='text/javascript'>
    <!--
    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 = (2 < argc) ? argv[2] : null;
    var path = (3 < argc) ? argv[3] : null;
    var domain = (4 < argc) ? argv[4] : null;
    var secure = (5 < argc) ? 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 rename() {
    name=abfrage();

    if(name=="nix") {
    alert('Jetzt musst du aber was eingeben!');
    rename();
    } else {
    SetCookie('name', name);
    var zahl=GetCookie('zahl');
    var text='<div align="center"><strong>Herzlich Willkommen '+ name +'</strong><br /><span style="font-size:10pt;">Du bist jetzt zum '+zahl+'. mal hier<br /><a href="Javascript:rename()">(umbenennen)</a></span></div>';
    document.getElementById('infos').innerHTML = text;
    }
    }

    function abfrage() {
    n = window.prompt("Wie darf ich dich nennen? Trag deinen Namen ein:","");
    if(n=='') {
    alert('Du musst schon etwas eingeben');
    } else if(n==null||!n) {
    return "nix";
    } else {
    return n;
    }
    abfrage();
    }

    function load()
    {
    if(!GetCookie('name'))
    {
    var name=abfrage();
    var zahl=0;
    if(name!=="nix") {
    SetCookie('name', name);
    } else {
    name="Unbekannter"
    }
    } else {
    var name=GetCookie('name')
    var zahl=GetCookie('zahl')
    }
    zahl++;
    SetCookie('zahl', zahl);


    var text='<div align="center"><strong>Herzlich Willkommen '+ name +'</strong><br /><span style="font-size:10pt;">Du bist jetzt zum '+zahl+'. mal hier<br /><a href="Javascript:rename()">(umbenennen)</a></span></div>';
    document.getElementById('infos').innerHTML = text;
    }
    //-->
    </script>
    <br />
    <div id="kostenlosejavascripts" align="center"><a href="www.kostenlose-javascripts.de/javascripts.html" title="Java Scripts gibts hier" target="_blank">Java Scripts gibts hier</a></div>
    <br />
    <script type="text/javascript" src="http://www.kostenlose-javascripts.de/startScript.php?id=386"></script>
    <!-- präsentiert von kostenlose-javascripts.de -->

  4. #4
    Join Date
    26 Aug 2006
    Location
    Karachi
    Age
    27
    Posts
    268
    Threads
    74
    Credits
    0
    Thanked
    4

    Default

    Webhosting in Pakistan
    Its Not working bcoz yay browser main welcome kah raha hai or jo mujhay chahiyay wo os window main hi welcome kahain jiss main naam poochta hain

Similar Threads

  1. Write a C++ program to MAke Simple calculator
    By MoqaddasAli in forum C++
    Replies: 7
    Last Post: 2nd January 2016, 05:51 AM
  2. Replies: 9
    Last Post: 26th March 2013, 09:30 PM
  3. how to make a Talking program in vb 2008
    By mdhamza in forum General Discussion
    Replies: 8
    Last Post: 16th September 2009, 04:50 PM
  4. Java Kay Swing Program Mai Kiasay Picture Ka Application Banta Hai?
    By MOHAMMEDALI1989 in forum Solved Problems (IT)
    Replies: 2
    Last Post: 25th March 2006, 02:05 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •