Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> czemu dziala tylko pod IE
swist666
post
Post #1





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

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


czemu ten kod działa tylko pod ie ?

Kod
<table width="650">

<tr>

<td style="cursor:hand;" onmouseover="javascript:this.background='./gfx/b.gif';" onmouseout="javascript:this.background='';" onclick="javascript:location.href='/oferta.php?str=gal';">



<a href="/oferta.php?str=gal" style="color:#000000;text-decoration : none;">Przykładowe pojazdy - galeria</a>



</td></tr></table>


chodzi o to żeby po najechaniu na pole tabeli ( <td></td> ) zmieniało kolor ( background lub bgcolor )
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
swist666
post
Post #2





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

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


kod to:

[xml:1:ac0c8a8106]<html>
<head>
<title>costam</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2">
<style type="text/css">
.tlo
{
background-image: url('b.gif');
}
</style>
</head>
<body>

<table width="650">
<tr>
<td style="cursor:hand;" onmouseover="this.className='tlo'" onmouseout="this.className=''" onclick="location.href='/oferta.php?str=gal';">
<a href="/oferta.php?str=gal" style="color:#000000;text-decoration : none;"> Przykładowe pojazdy - galeria </a>
</td>
</tr>
</table>

</body>
</html>
[/xml:1:ac0c8a8106]

ale ten kod nie działa nawet pod IE ;(
Go to the top of the page
+Quote Post

Posty w temacie


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: 10.10.2025 - 12:30