Kayıtlı kullanıcı Offline
|
Yazılar: 17
Katılım tarihi: Sep 2006
|
Kod:
<table border="0" width="164" id="myexample" style="border: 5px solid green">
<tr>
<td width="146">
<p align="center">Bu tablo içine istediğiniz <br>
bir metni yerleÅŸtiriniz</p>
</td>
</tr>
</table>
<script language="JavaScript1.2">
<!--
/*
Flashing Table Border Script- © Dynamic Drive (www.dynamicdrive.com)
Visit www.dynamicdrive.com for this script
Credit must stay intact for use
*/
//configure interval btw flash (1000=1 second)
var speed=500
function flashit(){
var crosstable=document.getElementById? document.getElementById("myexample") : document.all? document.all.myexample : ""
if (crosstable){
if (crosstable.style.borderColor.indexOf("green")!=-1)
crosstable.style.borderColor="red"
else
crosstable.style.borderColor="green"
}
}
setInterval("flashit()", speed)
//-->
</script>
|