Tekst w ramce w JS
Przykładowy tekst w ramce |
<table border="0" width="200" id="myexample" style="border:5px solid yellow">
<tr>
<td> Przykładowy tekst w ramce<br /></td>
</tr>
</table>
<script language="JavaScript1.2">
function flashit(){
if (!document.all)
return
if (myexample.style.borderColor=="yellow")
myexample.style.borderColor="lime"
else
myexample.style.borderColor="yellow"
}
setInterval("flashit()", 500)
</script>