نوشته ای در جدول چشمک زن ( كد جاوا ):
کد:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251">
<title>Flashing Table Border Script</title>
<script language="JavaScript1.2">
<!--
var color1="green";
var color2="red";
var color3="blue";
var color4="black";
var color5="yellow";
function flash()
{
var crosstable=document.getElementById?document.getElementById("flashingborder"):document.all?document.all.flashingborder : ""
if (crosstable)
{
if (crosstable.style.borderColor.indexOf(color1)!=-1)
crosstable.style.borderColor=color2
else
crosstable.style.borderColor=color1
}
}
setInterval("flash()",500)
//-->
</script>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>New Page 1</title>
</head>
<body>
<center>
<table border="0" id="flashingborder" style="border:5px solid">
<tr>
<td>
<p align="center"> <a href="آدرس را اینجا وارد نمایید">نوشته شما در
اینجا</a> </td>
</tr>
</table>
</center>
</body>
</html>
<!--www.iranjoman.com -->