Воскресенье, 22.02.2026, 06:11
[ Новые сообщения · Участники · Правила форума · Поиск · RSS ]
  • Страница 1 из 1
  • 1
При наведении на ссылку появляется коменты к сылке
Kaza4ok
 Дата: Воскресенье, 20.12.2009, 17:29 | Сообщение # 1

Группа: Пользователи
Сообщений: 276
Награды: 4
Уважение: 8716
Code
<SCRIPT>   
<!--    
var message    
var ismouseover=0   
var obj = new Array()   
var repeater = 30   
var i_span=0   
var pause=20   

var textfont=new Array()   
textfont[0]="Times"   
textfont[1]="Arial Black"   
textfont[2]="Arial Narrow"   
textfont[3]="Verdana"   
textfont[4]="Courier"   

var textstyle=new Array()   
textstyle[0]="normal"   
textstyle[1]="italic"   
textstyle[2]="normal"   
textstyle[3]="italic"   

var textcolor= new Array()   
textcolor[0] ="#006600"   
textcolor[1] ="#009900"   
textcolor[2] ="#ffff99"   
textcolor[3] ="#00cc66"   
textcolor[4] ="#99ffcc"   
textcolor[5] ="#99ff00"   
textcolor[6] ="#339900"   
textcolor[7] ="#009966"   
textcolor[8] ="#66cc00"   
textcolor[9] ="#669900"   
textcolor[10] ="#66ff33"   

function randommaker(range) {    
return Math.floor(range*Math.random())   
}   

function initiate(){   
if (document.all) {   
for (i=0; i<=repeater;i++) {   
obj[i]=eval("span"+i)   
}}}   

function showmessage(newmessage) {    
message = newmessage    
ismouseover=1   
if (document.all) {   
for (i=0; i<=repeater;i++) {   
obj[i].innerHTML="<span id='spn"+i+"' style='position:absolute;top:"+randommaker(250)+"px;left:"+randommaker(400)+"px;font-family:"+textfont[randommaker(4)]+";font-size:"+randommaker(40)+"pt;font-style:"+textstyle[randommaker(4)]+";color:"+textcolor[randommaker(9)]+"'>"+message+"</span>"   
}}   
animatespans() }   

function hidemessage() {    
if (document.all) {   
for (i=0; i<=repeater;i++) {   
ismouseover=0   
obj[i].innerHTML=""   
}}}   

function animatespans() {    
if (ismouseover==1) {   
window.status=i_span   
var objtomove = eval("document.all.spn"+i_span+".style")   
objtomove.posLeft+=randommaker(2)-1   
objtomove.posTop+=randommaker(2)-1   
i_span++   
if (i_span>=repeater-1) {i_span=0}   
var timer = setTimeout("animatespans()",pause)   
}   
else {   
clearTimeout(timer)   
}   
}   
window.onload=initiate   
// - End of JavaScript - -->   
</SCRIPT>   
</head>   
<body>   
<SCRIPT>   
<!-- Beginning of JavaScript -   
for (i=0; i<=repeater;i++) {   
document.write("<span id='span"+i+"'></span>")   
}   
document.close()   
// - End of JavaScript - -->   
</SCRIPT>   
<DIV style="LEFT: 150px; POSITION: absolute; TOP: 20px">   
<A href="http://softpurgen.narod.ru/my_programms.htm" onmouseout=hidemessage() onmouseover="showmessage('Сборник JavaScript')">JavaScript</A>   
</DIV>   
<DIV style="LEFT: 150px; POSITION: absolute; TOP: 60px">   
<A href="http://softpurgen.narod.ru" onmouseout=hidemessage() onmouseover="showmessage('SOFTPURGEN')">SOFTPURGEN</A>   
</DIV>   
</body>   
</html>


 
  • Страница 1 из 1
  • 1
Поиск:



X-Force-cs.clan.su © 2009-2026 | Сайт оптимизирован под браузер FireFox Mozila. Sitemap | Sitemap-forum.
Дизайн данного сайта полностью принадлежит Администратору X-Factor-cs.clan.su.