Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> textarea - przewijanie
lewal
post
Post #1





Grupa: Zarejestrowani
Postów: 23
Pomógł: 0
Dołączył: 25.05.2003

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


witam,
jaki jest najprostrzy sposob na wyswietlenie pola <textarea> z duza iloscia tekstu - tak aby byl on juz przewiniety na sam dol?
w zasadzie nie upieram sie do textarea - moze byc cokolwiek - byle jak powiedzialem bylo najprosciej, najlepiej bez JavaScript, etc

//piotr
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi (1 - 2)
revyag
post
Post #2





Grupa: Przyjaciele php.pl
Postów: 2 258
Pomógł: 16
Dołączył: 21.09.2004
Skąd: Kielce

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


  1. <script type="text/javascript">
  2. function scroll() {
  3. document.getElementById("text").scrollTop = document.getElementById("text").scrollHeight;
  4. }
  5. </head>
  6. <body onload="scroll()">
  7. <textarea id="text" rows="10" cols="70">
  8. text text text text text text text text text text text text text text text text text
  9. text text text text text text text text text text text text text text text text text
  10. text text text text text text text text text text text text text text text text text
  11. text text text text text text text text text text text text text text text text text
  12. text text text text text text text text text text text text text text text text text
  13. text text text text text text text text text text text text text text text text text
  14. text text text text text text text text text text text text text text text text text
  15. text text text text text text text text text text text text text text text text text
  16. text text text text text text text text text text text text text text text text text
  17. text text text text text text text text text text text text text text text text text
  18. text text text text text text text text text text text text text text text text text
  19. text text text text text text text text text text text text text text text text text
  20. text text text text text text text text text text text text text text text text text
  21. text text text text text text text text text text text text text text text text text
  22. </body>
  23. </html>

Bez javascript raczej ciężko będzie (IMG:http://forum.php.pl/style_emoticons/default/snitch.gif)
Go to the top of the page
+Quote Post
lewal
post
Post #3





Grupa: Zarejestrowani
Postów: 23
Pomógł: 0
Dołączył: 25.05.2003

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


szkoda... zalezy mi na wsparciu textowego terminala, a co za tym idzie tekstowej przegladarki, ale jak nie da rady inaczej to trudno...

ale wielkie dzieki za odpowiedz

//piotr
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 24.08.2025 - 06:38