Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl


wpaski
Napisane: 31.07.2014, 16:01:26





Grupa: Zarejestrowani
Postów: 206
Dołączył: 25.12.2011

Ostrzeżenie: (0%)
-----

dopisz te ID po przecinku czyli:#button, #buttonset, #setbuttons
  Forum: Przedszkole · Podgląd postu: #1117876 · Odpowiedzi: 3 · Wyświetleń: 195

wpaski
Napisane: 12.01.2014, 12:05:11





Grupa: Zarejestrowani
Postów: 206
Dołączył: 25.12.2011

Ostrzeżenie: (0%)
-----

  1. Jakie języki programowania znasz? '.$_POST["lg"].', '. $_POST["lg1"]' <br>

no i w taki sposób uzupełnij dla reszty
  Forum: Przedszkole · Podgląd postu: #1084815 · Odpowiedzi: 11 · Wyświetleń: 351

wpaski
Napisane: 20.10.2012, 14:01:43





Grupa: Zarejestrowani
Postów: 206
Dołączył: 25.12.2011

Ostrzeżenie: (0%)
-----

http://forumprawne.org/prawo-autorskie/147...yka-googla.html
  Forum: Przedszkole · Podgląd postu: #1000706 · Odpowiedzi: 2 · Wyświetleń: 286

wpaski
Napisane: 19.10.2012, 16:21:51





Grupa: Zarejestrowani
Postów: 206
Dołączył: 25.12.2011

Ostrzeżenie: (0%)
-----

A więc zamiast global tak:
  1. <?php
  2.  
  3. function funkcja($zmienna)
  4. {
  5.  
  6. for($i=0; $i<10; $i++)
  7. {
  8. $zmienna++;
  9. }
  10. return $zmienna;
  11. }
  12. echo funkcja(1);
  13.  
  14.  
  Forum: Przedszkole · Podgląd postu: #1000539 · Odpowiedzi: 4 · Wyświetleń: 245

wpaski
Napisane: 18.10.2012, 20:38:34





Grupa: Zarejestrowani
Postów: 206
Dołączył: 25.12.2011

Ostrzeżenie: (0%)
-----

Można tak:
  1. <li>
  2. <label>Balkon</label>
  3. <div class="form_input"><br>
  4. <input type="radio" id="balkon" name="balkon" value="tak"
  5. onclick="document.getElementById('identyfikator').style.display = this.checked ? 'block' : 'none';
  6. this.form.elements['nazwa2'].disabled = this.form.elements['nazwa3'].disabled = !this.checked" />
  7. <label for="balkon">TAK</label><br>
  8. <input id="balkon2" name="balkon" type="radio" value="nie"
  9. onclick="document.getElementById('identyfikator').style.display = this.checked ? 'none' : 'none';
  10. this.form.elements['nazwa2'].disabled = this.form.elements['nazwa3'].disabled = !this.checked"/>
  11. <label for="balkon">NIE</label>
  12. <div id="identyfikator" name="balkon" style="display: none"><br><br>
  13. <select name="ilebalkonow" class="tip_west" title="Ilość balkonów">
  14. <option>1</option>
  15. <option>2</option>
  16. <option>3</option>
  17. <option>4</option>
  18.  
  19. </select>
  20. </div>
  21. </div>
  22. </li>
  Forum: Przedszkole · Podgląd postu: #1000386 · Odpowiedzi: 4 · Wyświetleń: 211

wpaski
Napisane: 19.10.2012, 17:25:18





Grupa: Zarejestrowani
Postów: 206
Dołączył: 25.12.2011

Ostrzeżenie: (0%)
-----

nie do końca rozumiem co to oznacza wciśnięty (jeśli style to poprostu ostyluj),ale może to?:

  1.  
  2.  
  3. <head>
  4. <script type="text/javascript" src="http://code.jquery.com/jquery-latest.pack.js"></script>
  5. <script type="text/javascript">
  6. $(function(){
  7. $('.button').click(function(){
  8. show = 'inp' + ($('.field:visible').length+1);
  9. if($('.field:visible').length+1<=10) {
  10. console.log(show);
  11. $('input[id='+show+']').show();
  12. } else {
  13. $('div[id=komunikat]').show();
  14. }
  15. });
  16. });
  17. </script>
  18. </head>
  19.  
  20.  
  21. <input id="inp1" type="text" class="field" />
  22. <input id="inp2" type="text" class="field" />
  23. <input id="inp3" type="text" class="field" style="display: none;"/>
  24. <input id="inp4" type="text" class="field" style="display: none;"/>
  25. <input id="inp5" type="text" class="field" style="display: none;"/>
  26. <input id="inp6" type="text" class="field" style="display: none;"/>
  27. <input id="inp7" type="text" class="field" style="display: none;"/>
  28. <input id="inp8" type="text" class="field" style="display: none;"/>
  29. <input id="inp9" type="text" class="field" style="display: none;"/>
  30. <input id="inp10" type="text" class="field" style="display: none;"/>
  31.  
  32. <div id="komunikat" class="komunikat" style="display: none;">
  33.  
  34. Jakiś komunikat
  35.  
  36. </div>
  37.  
  38. <input type="submit" class="button" value="Kliknij mnie" />
  Forum: Przedszkole · Podgląd postu: #1000548 · Odpowiedzi: 13 · Wyświetleń: 553


New Posts  Nowe odpowiedzi
No New Posts  Brak nowych odpowiedzi
Hot topic  Popularny temat (Nowe)
No new  Popularny temat (Brak nowych)
Poll  Sonda (Nowe)
No new votes  Sonda (Brak nowych)
Closed  Zamknięty temat
Moved  Przeniesiony temat
 

RSS Wersja Lo-Fi Aktualny czas: 24.04.2024 - 20:31