Jump to content
php.lv forumi

Vebers

Reģistrētie lietotāji
  • Posts

    1,020
  • Joined

  • Last visited

Posts posted by Vebers

  1. njaa.. google ir mans draugs :)

    atradu šādu skriptu :

    <!-- TWO STEPS TO INSTALL CHECK ALL:
    
     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">
    <!-- Modified By:  Steve Robison, Jr. ([email protected]) -->
    
    <!-- This script and many more are available free online at -->
    <!-- The JavaScript Source!! http://javascript.internet.com -->
    
    <!-- Begin
    var checkflag = "false";
    function check(field) {
    if (checkflag == "false") {
    for (i = 0; i < field.length; i++) {
    field[i].checked = true;}
    checkflag = "true";
    return "Uncheck All"; }
    else {
    for (i = 0; i < field.length; i++) {
    field[i].checked = false; }
    checkflag = "false";
    return "Check All"; }
    }
    //  End -->
    </script>
    </HEAD>
    
    <!-- STEP TWO: Copy this code into the BODY of your HTML document  -->
    
    <BODY>
    
    <center>
    <form name=myform action="" method=post>
    <table>
    <tr><td>
    <b>Your Favorite Scripts & Languages</b><br>
    <input type=checkbox name=list value="1">Java<br>
    <input type=checkbox name=list value="2">JavaScript<br>
    <input type=checkbox name=list value="3">ASP<br>
    <input type=checkbox name=list value="4">HTML<br>
    <input type=checkbox name=list value="5">SQL<br>
    <br>                                                    
    <input type=button value="Check All" onClick="this.value=check(this.form.list)"> 
    </td></tr>
    </table>
    </form>
    </center>
    
    <p><center>
    <font face="arial, helvetica" size="-2">Free JavaScripts provided<br>
    by <a href="http://javascriptsource.com">The JavaScript Source</a></font>
    </center><p>
    
    <!-- Script Size:  1.47 KB -->

     

    Bet problēma tāda ka neko no šī skripta nesaprotu varbūt ir kāds labs lv tutoriālis par javascript ?

  2. Inbox'ā ir tāda iespēja ka var ieķeksējot vienu checkbox ieķeksējas visi checkboxi.

    Mans jautājums: Kā lai panāk šo efektu? No javascript es neko nesaprotu :(

    Skatījos kā inboxā taisīts, it kā nokopēju to funkciju select_all(this), bet k-kas nestrādāja...

    Varbūt ir kāds tutoriālis par to aprasktīts ?

    šeit forumā arī neko neatradu...

  3. sessijas, tas atbalsta visi telefoni...

    cookies visi neatbalsta, taapec pie katra session_start(); japadod sessijas id. Jo ja nepadod sesijas id PHP megjina sessijas id saglabaat cepumaa.. bet kaa jau teicu visi telefoni cepumus nesagremo..

  4. wapaa vari lietot sesijas..

     

    vai ari katru linku raksti kaa

    <anchor>Links

    <go href="lapa.php" method="POST">

    <postfield name"..." value="$niks"/>

    <postfield name"..." value="$parole"/>

    </go>

    </anchor>

  5. Varbuut paliidziet ar pilnu skriptu kaa to dabuut uz saakumlapas.

    22236[/snapback]

    jaa jaaa

    <?php
    $pieprasijums = mysql_query(SELECT make_name FROM celest ORDER BY ID DESC LIMIT 0, 2):
    for($i=0;$i<2;$i++){
       $dati = mysql_fetch_array($pieprasijums);
      echo $dati['make_name'];
    }

    ja pareizi sapratu tad sis dereees..

  6. ir tāda problēma, ka ja no WAP ar nokia 3510i grib uzrakstīt sms uz LMT, protams, parādas autorizāciajs koda bilde. Un nokia to bildi ieraudzījusi uzreiz "restartējas"...

    Varbūt kādam kādas idejas kā to novērst?

×
×
  • Create New...