
30-05-2006, 21:07
|
|
|
|
חבר מתאריך: 25.03.05
הודעות: 381
|
|
|
שאלה בDHTML
שלום, התחלתי היום ללמוד DHTML, וניסיתי לעשות משהו פשוט ולא הולך לי:
קוד PHP:
<html> <head> <script type="text/javascript"> function test() { document.getElementsByTagName('span').style.border ="1px solid #000"; } </script> </head> <body> <span onmouseover="test()">בלה בלה בלה1
<span onmouseover="test()">בלה בלה בלה2
<span onmouseover="test()">בלה בלה בלה3
<span onmouseover="test()">בלה בלה בלה4
<span onmouseover="test()">בלה בלה בלה5 </body> </html>
מה לא עשיתי נכון?
|