Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [JS]Podmiana class
ydy10
post
Post #1





Grupa: Zablokowani
Postów: 87
Pomógł: 0
Dołączył: 29.07.2006

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


chcialem, by po najechaniu na link - zmienilo sie tlo - w wyniku zmiany class - ale nie dziala (IMG:http://forum.php.pl/style_emoticons/default/sad.gif) - zere reakcji
  1. <td class="menu_n_l" name="asqw">
  2. <a onMouseOver="document.asqw.className='menu_n_l_'" onMouseOut="document.asqw.className='menu_n_l'" class="item1" href="aaa">Start</a>
  3. </td>


Kod
.menu_n_l
{
    background-image: url('./menu/menu_01.png');
    width: 107px;
    text-align: center;
}

.menu_n_l_
{
    background-image: url('./menu/menu_01_.png');
    width: 107px;
    color: red;
    text-align: left;
}
Go to the top of the page
+Quote Post

Posty w temacie
- ydy10   [JS]Podmiana class   24.05.2007, 12:52:11
- - nospor   [HTML] pobierz, plaintext <a onmouseover=...   24.05.2007, 13:23:30
- - ydy10   rowniez nie dziala   24.05.2007, 13:36:47
- - piotrekkr   sproboj zamiast name="costam" uzywac id=...   24.05.2007, 18:37:54
- - ydy10   rowniez niedziala z getelementbyid   24.05.2007, 21:28:47
- - Cysiaczek   [HTML] pobierz, plaintext <a id="ident...   25.05.2007, 07:42:05


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: 22.12.2025 - 23:40