Последовательный показ текстовых ссылок

lena1

クリエイター
LV
0
 
<!--sizeo:4--><span style="font-size:14pt;line-height:100%"><!--/sizeo-->Последовательный показ текстовых ссылок<!--sizec--></span><!--/sizec-->

<!--c1--><div class='codetop'>Код</div><div class='codemain'><!--ec1--><head><Style>
.textstyle&nbsp;&nbsp;&nbsp;&nbsp;{&nbsp;&nbsp;font-size:12pt; font-weight:bold; font-family:Tahoma; color:#FF0000;filter:chroma(color=black}
.bgdivstyle&nbsp;&nbsp;&nbsp;&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp; filter:wave(strength=2,freq=5,phase=5,lightstrength=40);}
A,A:visited&nbsp;&nbsp;&nbsp;&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;color:#FF0000;&nbsp;&nbsp;&nbsp;&nbsp;text-decoration:none;}
</Style>
<script LANGUAGE="JavaScript">
<!--
var message=new Array()
message[0]="Партнёрка суперская"
message[1]="Партнёркая жареная"
message[2]="Партнёрка варенная"
message[3]="Партнёрка термоядерная"
message[4]="Партнёрка тушоная"
var messageurl=new Array()
messageurl[0]="http://www.part-super.ru"
messageurl[1]="http://www.part-tzar.ru"
messageurl[2]="http://www.part-var.ru"
messageurl[3]="http://www.part-termoad.ru"
messageurl[4]="http://www.part-sex.ru"
var messagetarget=new Array()
messagetarget[0]="_blank"
messagetarget[1]="_blank"
messagetarget[2]="_blank"
messagetarget[3]="_blank"
messagetarget[4]="_blank"
var messageheight=10
var messagewidth=300
var messagetop=0
var messageleft=0
var stripenumbers=3
var pause=3000
var i_message=0
var timer
var bgcontent=""

function init() {
&nbsp;&nbsp;&nbsp;&nbsp;if (document.all) {
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;bgcontent="<table cellpadding=90 cellspacing=0 width="+messagewidth+" height="+messageheight+">"
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;for (i=0;i<=stripenumbers;i++) {
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; bgcontent+="<tr><td></td></tr>"
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;bgcontent+="<tr><td></td></tr>"
&nbsp;&nbsp;&nbsp;&nbsp; }
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;bgcontent+="</table>"
&nbsp;&nbsp;&nbsp;&nbsp;bgdiv.innerHTML=bgcontent
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;setInterval("bgdiv.filters.wave.phase+=5",100);
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;changemessage()
&nbsp;&nbsp;&nbsp;&nbsp;}
}

function changemessage() {
&nbsp;&nbsp;&nbsp;&nbsp;i_message++
&nbsp;&nbsp;&nbsp;&nbsp;if (i_message>message.length-1) {i_message=0}
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;text.innerHTML="<a href="+messageurl[i_message]+" target="+messagetarget[i_message]+">"+message[i_message]+"</a>"
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;var timer=setTimeout("changemessage()", pause)
}
//&nbsp;&nbsp;-->
</SCRIPT>

</head>
<body onLoad="init()">
<DIV ID="bgdiv" class="bgdivstyle" align=center></DIV>
<DIV ID="text" class="textstyle" align=center></DIV>
<div id="mainbod"></div></p>

</body><!--c2--></div><!--ec2-->
 
Сверху