{% else-1 %}
Думаю кому-нибудь пригодится.

                        
<html>
<head>
<title>Ссылки на отдельном фоне</title>
<style type="text/css">
.textstyle { position:absolute; left:-2000px; font-size:20pt; font-weight:bold; line-height:0.8; color:black;}
.bgdivstyle { position:absolute; left:-2000px; filter:wave(strength=2,freq=5,phase=5,lightstrength=40);}
</STYLE>
<SCRIPT LANGUAGE="JavaScript">
<!--
// Edit the variables below:
// your messages, add as many as you like
var message=new Array()
message[0]="Добро пожаловать!"
message[1]="Наведите курсор"
message[2]="Заходите на scriptic.ru"
message[3]="Или studia.scriptic.ru"
// the URLs of your messages
var messageurl=new Array()
messageurl[0]="http://scriptic.ru"
messageurl[1]="http://scriptic.ru"
messageurl[2]="http://scriptic.ru"
messageurl[3]="http://studia.scriptic.ru"
// the targets of the links
// accepted values are '_blank' or '_top' or '_parent' or '_self'
// or the name of your target-window (for instance 'main')
var messagetarget=new Array()
messagetarget[0]="_blank"
messagetarget[1]="_blank"
messagetarget[2]="_blank"
messagetarget[3]="_blank"
messagetarget[4]="_blank"
// height of messageboard (pixels)
var messageheight=40
// width of the messageboard (pixels)
var messagewidth=450
// distance of the messageboard-images to the top margin of the document (pixels)
var messagetop=10
// distance of the messageboard-images to the left margin of the document (pixels)
var messageleft=150
// colors of stripe 1 and stripe 2
var stripecolor1="Lime"
var stripecolor2="33ffff"
// number of waveing stripes
var stripenumbers=2
// the pause between the messages
var pause=3000
// do not edit the variables below
var i_message=0
var timer
var bgcontent=""
function init() {
if (document.all) {
bgcontent="<table cellpadding=90 cellspacing=0 width="+messagewidth+" height="+messageheight+">"
for (i=0;i<=stripenumbers;i++) {
bgcontent+="<tr><td bgcolor="+stripecolor1+"></td></tr>"
bgcontent+="<tr><td bgcolor="+stripecolor2+"></td></tr>"
}
bgcontent+="</table>"
bgdiv.innerHTML=bgcontent
text.style.width=messagewidth
text.style.height=messageheight
document.all.text.style.posTop=messagetop
document.all.text.style.posLeft=messageleft
document.all.bgdiv.style.posTop=messagetop
document.all.bgdiv.style.posLeft=messageleft
setInterval("bgdiv.filters.wave.phase+=5",100);
changemessage()
}
}
function changemessage() {
i_message++
if (i_message>message.length-1) {i_message=0}
text.innerHTML="<a href="+messageurl[i_message]+" target="+messagetarget[i_message]+"><font color=Black>"+message[i_message]+"</font></a>"
var timer=setTimeout("changemessage()", pause)
}
// - End of JavaScript - -->
</SCRIPT>
</head>
<body onLoad="init()">
<DIV ID="bgdiv" class="bgdivstyle"></DIV>
<DIV ID="text" class="textstyle" ></DIV>
</body>
</html>
0 35 0
Без комментариев...