![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 1 385 Pomógł: 55 Dołączył: 1.03.2005 Skąd: śląsk Ostrzeżenie: (0%) ![]() ![]() |
witam
napisalem prosta funkcje;) Kod function pokaz_ukryj(id){ if(document.getElementById(id).style.display == ''){ document.getElementById(id).style.display = 'none'; }else{ document.getElementById(id).style.display = ''; } } prosze o poprawienie tego kodu tak aby zapamietywal wybrana opcje, tak aby po przeladowaniu byl ustawiony styl display taki jak wczesniej wybrany Ten post edytował AxZx 20.04.2006, 18:00:30 |
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 1 415 Pomógł: 117 Dołączył: 7.09.2005 Skąd: Warszawa Ostrzeżenie: (0%) ![]() ![]() |
Kod if (get_cookie(id) == 'cos') {
//ustawiasz styl diva } else if (get_cookie(id) == 'cos innego') { //ustawiasz styl diva... inaczej :P } //itd Ten post edytował LBO 20.04.2006, 21:07:19 |
|
|
![]() ![]() |
![]() |
Aktualny czas: 12.10.2025 - 16:29 |