Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> Wiersze w tabeli zmieniające kolor po najechaniu, W IE działa a w Operze nie :(
swist666
post 7.07.2004, 13:24:25
Post #1





Grupa: Zarejestrowani
Postów: 152
Pomógł: 1
Dołączył: 14.05.2004
Skąd: Wrocław

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


Mam kod który działa pod IE ale np. pod Operą nie:

  1. <table width="300" border="0">
  2.      <tr>
  3.            <td style="cursor:hand;" onmouseover="javascript:this.background='gfx/strz.gif';" onmouseout="javascript:this.background='';" onclick="javascript:location.href='str1';">
  4.            <a href="str1.php" style="color:#000000;text-decoration : none;">str1</a>
  5.            </td>
  6.      </tr>
  7.      <tr>
  8.            <td style="cursor:hand;" onmouseover="javascript:this.background='gfx/strz.gif';" onmouseout="javascript:this.background='';" onclick="javascript:location.href='str2';">
  9.            <a href="str2.php" style="color:#000000;text-decoration : none;">str2</a>
  10.            </td>
  11.      </tr>
  12.      </tr>
  13.      </table>


Chodzi o to że każdy wiersz powinien zmieniać kolor po najechaniu na niego, w IE działa ale w operze nie reaguje HELP !

P.S. Scieżka jest dobra zresztą wiadomo bo pod IE działa
Go to the top of the page
+Quote Post
Paul
post 7.07.2004, 14:01:39
Post #2





Grupa: Zarejestrowani
Postów: 636
Pomógł: 0
Dołączył: 22.10.2003
Skąd: Katowice

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


  1. <table width="300" border="0">
  2. <tr>
  3. <td style="cursor:hand;" onmouseover="javascript:this.style.backgroundImage=
  4. 'url(gfx/strz.gif)'" onmouseout="javascript:this.style.backgroundImage= ''"
  5.  
  6. onclick="javascript:location.href='str1';">
  7. <a href="str1.php" style="color:#000000;text-decoration : none;">str1</a>
  8. </td>
  9. </tr>
  10. <tr>
  11. <td style="cursor:hand;" onmouseover="javascript:this.style.backgroundImage=
  12. 'url(gfx/strz.gif)';" onmouseout="javascript:this.style.backgroundImage=
  13. ''"onclick="javascript:location.href='str2';">
  14. <a href="str2.php" style="color:#000000;text-decoration : none;">str2</a>
  15. </td>
  16. </tr>
  17. </tr>
Go to the top of the page
+Quote Post
swist666
post 8.07.2004, 11:51:28
Post #3





Grupa: Zarejestrowani
Postów: 152
Pomógł: 1
Dołączył: 14.05.2004
Skąd: Wrocław

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


dzieki dziala smile.gif
Go to the top of the page
+Quote Post

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

 



RSS Wersja Lo-Fi Aktualny czas: 27.04.2024 - 08:30