podświetlenie js

2010-11-21 13:47:57 Post #1 user76

 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31

<script type="text/javascript">

function aktywny(box) {

box.style.background='#f0f0ff';

}

 

function nieaktywny(box) {

box.style.background='#ffffff';

}

</script>

</head>

<body>

<div class="tresc" onmouseover="aktywny(this)" onmouseout="nieaktywny(this)">

<p class="tytul"> </p>

tekst<br /><br />

</div>


czemu nie działa w ie?

2010-11-22 07:50:21 Post #2 nospor

 
Powinno być: backgroundColor

2010-12-05 22:23:51 Post #3 gość_Comandeer

 
Naprawdę, mamy 2010 rok i IE 6 jest trupem. Wystarczy zwykły hover...

Odpowiedz