Часы с кошкой
<iframe name="fantasy" src="http://fantasyflash.ru/clock/lony.php?n=4&bcolor=f5f5f5" height="79" width="70" scrolling="no" frameborder="0"></iframe>
Единый форум поддержки |
Привет, Гость! Войдите или зарегистрируйтесь.
Вы здесь » Единый форум поддержки » Корзина » Скрипты Украшаем Форум
Часы с кошкой
<iframe name="fantasy" src="http://fantasyflash.ru/clock/lony.php?n=4&bcolor=f5f5f5" height="79" width="70" scrolling="no" frameborder="0"></iframe>
Светящийся текст
<center>
<span id="olwte" style="width:100%">
<font color="#FFFF33" size=6><b>Welcome!</b></font>
</span><script>
var from = 5;
var to = 15;
var delay = 60;
var glowColor = "gold";
var i = to;//osw
var j = 0;
olwtext();
function utexw()
{
if (!document.all)
return
if (i < to)
{
olwte.style.filter = "Glow(Color=" + glowColor + ", Strength=" + i + ")";
i++;
theTimeout = setTimeout('utexw()',delay);
return 0;
}
if (i = to)
{
theTimeout = setTimeout('olwtext()',delay);
return 0;
}
}
function olwtext()
{
if (!document.all)
return
if (i > from)
{
olwte.style.filter = "Glow(Color=" + glowColor + ", Strength=" + i + ")";
i--;
theTimeout = setTimeout('olwtext()',delay);
return 0;
}
if (i = from)
{
theTimeout = setTimeout('utexw()',delay);
return 0;
}
}
</script></center>Отредактировано nick-felix (Пт, 1 Авг 2008 19:59:04)
Зеркальный текст
<SCRIPT language=JavaScript1.2>
<!--
var message='ВАШ ТЕКСТ';
var messagecolor='#FFFF00'
//Enter number of seconds for message to display (0=perpetual)
var dismissafter=0
///no need to edit below/////////
var amount=5,ypos=0,xpos=0,Ay=0,Ax=0,By=0,Bx=0,Cy=0,Cx=0,Dy=0,Dx=0,Ey=0,Ex=0;
if (document.layers){
for (i = 0; i < amount; i++)
{document.write('<layer name=ns'+i+' top=0 left=0><font face="Courier New" size=3 color='+messagecolor+'>'+message+'</font></layer>')}
window.captureEvents(Event.MOUSEMOVE);
function nsmouse(evnt){xpos = evnt.pageX;ypos = evnt.pageY;makefollow()}
}
else if (document.all){
document.write("<div id='outer' style='position:absolute;top:0px;left:0px'>");
document.write("<div id='inner' style='position:relative'>");
for (i = 0; i < amount; i++)
{document.write('<div id="text"'+i+' style="position:absolute;top:0px;left:0px;font-family:Courier New;font-size:16px;color:'+messagecolor+'">'+message+'</div>')}
document.write("</div>");
document.write("</div>");
function iemouse(){ypos = document.body.scrollTop + event.y;xpos = document.body.scrollLeft + event.x;makefollow()}
}
function makefollow(){
if (document.layers){
document.layers["ns0"].top=ay;document.layers["ns0"].left=ax;
document.layers["ns1"].top=by;document.layers["ns1"].left=bx;
document.layers["ns2"].top=cy;document.layers["ns2"].left=cx;
document.layers["ns3"].top=Dy;document.layers["ns3"].left=Dx;
document.layers["ns4"].top=Ey;document.layers["ns4"].left=Ex;
}
else if (document.all){
outer.all.inner.all[0].style.pixelTop=ay;outer.all.inner.all[0].style.pixelLeft=ax;
outer.all.inner.all[1].style.pixelTop=by;outer.all.inner.all[1].style.pixelLeft=bx;
outer.all.inner.all[2].style.pixelTop=cy;outer.all.inner.all[2].style.pixelLeft=cx;
outer.all.inner.all[3].style.pixelTop=Dy;outer.all.inner.all[3].style.pixelLeft=Dx;
outer.all.inner.all[4].style.pixelTop=Ey;outer.all.inner.all[4].style.pixelLeft=Ex;
}
}
function move(){
if (dismissafter!=0)
setTimeout("hidetrail()",dismissafter*1000)
if (document.layers){window.onMouseMove = nsmouse}
else if (document.all){window.document.onmousemove = iemouse}
ey = Math.round(Ey+=((ypos+20)-Ey)*2/2);ex = Math.round(Ex+=((xpos+20)-Ex)*2/2);
dy = Math.round(Dy+=(ey - Dy)*2/4);dx = Math.round(Dx+=(ex - Dx)*2/4);
cy = Math.round(Cy+=(dy - Cy)*2/6);cx = Math.round(Cx+=(dx - Cx)*2/6);
by = Math.round(By+=(cy - By)*2/8);bx = Math.round(Bx+=(cx - Bx)*2/8);
ay = Math.round(Ay+= (by - Ay)*2/10);ax = Math.round(Ax+= (bx - Ax)*2/10);
makefollow();
jumpstart=setTimeout('move()',10);
}
function hidetrail(){
if (document.all){
for (i2=0;i2<amount;i2++){
outer.all.inner.all[i2].style.visibility="hidden"
clearTimeout(jumpstart)
}
}
else if (document.layers){
for (i2=0;i2<amount;i2++){
temp="ns"+i2
document.layers[temp].visibility="hide"
clearTimeout(jumpstart)
}
}
}
window.onload=move;
//-->
</SCRIPT>За курсором летит фигурка...
<IMG id=Ols
style="POSITION: absolute; Middle: 9000px" src="http://fantasyflash.ru/anime/angel/image/angel3.gif">
<SCRIPT><!--
ddx=0;ddy=0;PX=600;PY=0;xm=0;ym=0
OlsW=Ols.width/2;OlsH=Ols.height/2
function MoveWinnie(){
x=Math.round(PX+=((xm-PX)*3)/400)
y=Math.round(PY+=((ym-PY)*3)/400)
Ols.style.left=x-OlsW
Ols.style.top=y //osw
setTimeout("MoveWinnie()",10)
}
function doMouse(){
xm=window.event.x
ym=window.event.y //fantasyflash.ru
}
document.onmousemove=doMouse
MoveWinnie()
//--></SCRIPT>
<IMG id=Ols
style="POSITION: absolute; Middle: 9000px" src="http://fantasyflash.ru/anime/angel/image/angel8.gif">
<SCRIPT><!--
ddx=0;ddy=0;PX=600;PY=0;xm=0;ym=0
OlsW=Ols.width/2;OlsH=Ols.height/2
function MoveWinnie(){
x=Math.round(PX+=((xm-PX)*3)/400)
y=Math.round(PY+=((ym-PY)*3)/400)
Ols.style.left=x-OlsW
Ols.style.top=y //osw
setTimeout("MoveWinnie()",10)
}
function doMouse(){
xm=window.event.x
ym=window.event.y //fantasyflash.ru
}
document.onmousemove=doMouse
MoveWinnie()
//--></SCRIPT>
<IMG id=Ols
style="POSITION: absolute; Middle: 9000px" src="http://fantasyflash.ru/anime/angel/image/angel22.gif">
<SCRIPT><!--
ddx=0;ddy=0;PX=600;PY=0;xm=0;ym=0
OlsW=Ols.width/2;OlsH=Ols.height/2
function MoveWinnie(){
x=Math.round(PX+=((xm-PX)*3)/400)
y=Math.round(PY+=((ym-PY)*3)/400)
Ols.style.left=x-OlsW
Ols.style.top=y //osw
setTimeout("MoveWinnie()",10)
}
function doMouse(){
xm=window.event.x
ym=window.event.y //fantasyflash.ru
}
document.onmousemove=doMouse
MoveWinnie()
//--></SCRIPT>
<IMG id=Ols
style="POSITION: absolute; Middle: 9000px" src="http://fantasyflash.ru/anime/bird/image/bird4.gif">
<SCRIPT><!--
ddx=0;ddy=0;PX=600;PY=0;xm=0;ym=0
OlsW=Ols.width/2;OlsH=Ols.height/2
function MoveWinnie(){
x=Math.round(PX+=((xm-PX)*3)/400)
y=Math.round(PY+=((ym-PY)*3)/400)
Ols.style.left=x-OlsW
Ols.style.top=y //osw
setTimeout("MoveWinnie()",10)
}
function doMouse(){
xm=window.event.x
ym=window.event.y //fantasyflash.ru
}
document.onmousemove=doMouse
MoveWinnie()
//--></SCRIPT>
<IMG id=Ols
style="POSITION: absolute; Middle: 9000px" src="http://fantasyflash.ru/anime/blest/image/blest11.gif">
<SCRIPT><!--
ddx=0;ddy=0;PX=600;PY=0;xm=0;ym=0
OlsW=Ols.width/2;OlsH=Ols.height/2
function MoveWinnie(){
x=Math.round(PX+=((xm-PX)*3)/400)
y=Math.round(PY+=((ym-PY)*3)/400)
Ols.style.left=x-OlsW
Ols.style.top=y //osw
setTimeout("MoveWinnie()",10)
}
function doMouse(){
xm=window.event.x
ym=window.event.y //fantasyflash.ru
}
document.onmousemove=doMouse
MoveWinnie()
//--></SCRIPT>
<IMG id=Ols
style="POSITION: absolute; Middle: 9000px" src="http://fantasyflash.ru/anime/butterfly/image/butterfly3.gif">
<SCRIPT><!--
ddx=0;ddy=0;PX=600;PY=0;xm=0;ym=0
OlsW=Ols.width/2;OlsH=Ols.height/2
function MoveWinnie(){
x=Math.round(PX+=((xm-PX)*3)/400)
y=Math.round(PY+=((ym-PY)*3)/400)
Ols.style.left=x-OlsW
Ols.style.top=y //osw
setTimeout("MoveWinnie()",10)
}
function doMouse(){
xm=window.event.x
ym=window.event.y //fantasyflash.ru
}
document.onmousemove=doMouse
MoveWinnie()
//--></SCRIPT>
<IMG id=Ols
style="POSITION: absolute; Middle: 9000px" src="http://fantasyflash.ru/anime/butterfly/image/butterfly5.gif">
<SCRIPT><!--
ddx=0;ddy=0;PX=600;PY=0;xm=0;ym=0
OlsW=Ols.width/2;OlsH=Ols.height/2
function MoveWinnie(){
x=Math.round(PX+=((xm-PX)*3)/400)
y=Math.round(PY+=((ym-PY)*3)/400)
Ols.style.left=x-OlsW
Ols.style.top=y //osw
setTimeout("MoveWinnie()",10)
}
function doMouse(){
xm=window.event.x
ym=window.event.y //fantasyflash.ru
}
document.onmousemove=doMouse
MoveWinnie()
//--></SCRIPT>
<IMG id=Ols
style="POSITION: absolute; Middle: 9000px" src="http://fantasyflash.ru/anime/butterfly/image/butterfly47.gif">
<SCRIPT><!--
ddx=0;ddy=0;PX=600;PY=0;xm=0;ym=0
OlsW=Ols.width/2;OlsH=Ols.height/2
function MoveWinnie(){
x=Math.round(PX+=((xm-PX)*3)/400)
y=Math.round(PY+=((ym-PY)*3)/400)
Ols.style.left=x-OlsW
Ols.style.top=y //osw
setTimeout("MoveWinnie()",10)
}
function doMouse(){
xm=window.event.x
ym=window.event.y //fantasyflash.ru
}
document.onmousemove=doMouse
MoveWinnie()
//--></SCRIPT>
<IMG id=Ols
style="POSITION: absolute; Middle: 9000px" src="http://fantasyflash.ru/anime/love/image/love233.gif">
<SCRIPT><!--
ddx=0;ddy=0;PX=600;PY=0;xm=0;ym=0
OlsW=Ols.width/2;OlsH=Ols.height/2
function MoveWinnie(){
x=Math.round(PX+=((xm-PX)*3)/400)
y=Math.round(PY+=((ym-PY)*3)/400)
Ols.style.left=x-OlsW
Ols.style.top=y //osw
setTimeout("MoveWinnie()",10)
}
function doMouse(){
xm=window.event.x
ym=window.event.y //fantasyflash.ru
}
document.onmousemove=doMouse
MoveWinnie()
//--></SCRIPT>
<IMG id=Ols
style="POSITION: absolute; Middle: 9000px" src="http://fantasyflash.ru/anime/pasxa/image/pasxa6.gif">
<SCRIPT><!--
ddx=0;ddy=0;PX=600;PY=0;xm=0;ym=0
OlsW=Ols.width/2;OlsH=Ols.height/2
function MoveWinnie(){
x=Math.round(PX+=((xm-PX)*3)/400)
y=Math.round(PY+=((ym-PY)*3)/400)
Ols.style.left=x-OlsW
Ols.style.top=y //osw
setTimeout("MoveWinnie()",10)
}
function doMouse(){
xm=window.event.x
ym=window.event.y //fantasyflash.ru
}
document.onmousemove=doMouse
MoveWinnie()
//--></SCRIPT>
<IMG id=Ols
style="POSITION: absolute; Middle: 9000px" src="http://fantasyflash.ru/anime/star/image/star1.gif">
<SCRIPT><!--
ddx=0;ddy=0;PX=600;PY=0;xm=0;ym=0
OlsW=Ols.width/2;OlsH=Ols.height/2
function MoveWinnie(){
x=Math.round(PX+=((xm-PX)*3)/400)
y=Math.round(PY+=((ym-PY)*3)/400)
Ols.style.left=x-OlsW
Ols.style.top=y //osw
setTimeout("MoveWinnie()",10)
}
function doMouse(){
xm=window.event.x
ym=window.event.y //fantasyflash.ru
}
document.onmousemove=doMouse
MoveWinnie()
//--></SCRIPT>Коды в Html-низ))
Отредактировано taka (Пн, 4 Авг 2008 12:28:29)

<IMG id=Ols
style="POSITION: absolute; Middle: 9000px" src="http://oksi-witch.ucoz.ru/_ph/1/1/366889254.jpg">
<SCRIPT><!--
ddx=0;ddy=0;PX=600;PY=0;xm=0;ym=0
OlsW=Ols.width/2;OlsH=Ols.height/2
function MoveWinnie(){
x=Math.round(PX+=((xm-PX)*3)/400)
y=Math.round(PY+=((ym-PY)*3)/400)
Ols.style.left=x-OlsW
Ols.style.top=y //osw
setTimeout("MoveWinnie()",10)
}
function doMouse(){
xm=window.event.x
ym=window.event.y //fantasyflash.ru
}
document.onmousemove=doMouse
MoveWinnie()
//--></SCRIPT>
</a></p>
<IMG id=Ols
style="POSITION: absolute; Middle: 9000px" src="http://oksi-witch.ucoz.ru/_ph/5/1/62998724.jpg">
<SCRIPT><!--
ddx=0;ddy=0;PX=600;PY=0;xm=0;ym=0
OlsW=Ols.width/2;OlsH=Ols.height/2
function MoveWinnie(){
x=Math.round(PX+=((xm-PX)*3)/400)
y=Math.round(PY+=((ym-PY)*3)/400)
Ols.style.left=x-OlsW
Ols.style.top=y //osw
setTimeout("MoveWinnie()",10)
}
function doMouse(){
xm=window.event.x
ym=window.event.y //fantasyflash.ru
}
document.onmousemove=doMouse
MoveWinnie()
//--></SCRIPT>
</a></p>
<IMG id=Ols
style="POSITION: absolute; Middle: 9000px" src="http://oksi-witch.ucoz.ru/_ph/3/1/517982012.jpg">
<SCRIPT><!--
ddx=0;ddy=0;PX=600;PY=0;xm=0;ym=0
OlsW=Ols.width/2;OlsH=Ols.height/2
function MoveWinnie(){
x=Math.round(PX+=((xm-PX)*3)/400)
y=Math.round(PY+=((ym-PY)*3)/400)
Ols.style.left=x-OlsW
Ols.style.top=y //osw
setTimeout("MoveWinnie()",10)
}
function doMouse(){
xm=window.event.x
ym=window.event.y //fantasyflash.ru
}
document.onmousemove=doMouse
MoveWinnie()
//--></SCRIPT>
</a></p>
<IMG id=Ols
style="POSITION: absolute; Middle: 9000px" src="http://oksi-witch.ucoz.ru/_ph/4/1/258002595.jpg">
<SCRIPT><!--
ddx=0;ddy=0;PX=600;PY=0;xm=0;ym=0
OlsW=Ols.width/2;OlsH=Ols.height/2
function MoveWinnie(){
x=Math.round(PX+=((xm-PX)*3)/400)
y=Math.round(PY+=((ym-PY)*3)/400)
Ols.style.left=x-OlsW
Ols.style.top=y //osw
setTimeout("MoveWinnie()",10)
}
function doMouse(){
xm=window.event.x
ym=window.event.y //fantasyflash.ru
}
document.onmousemove=doMouse
MoveWinnie()
//--></SCRIPT>
</a></p>
<IMG id=Ols
style="POSITION: absolute; Middle: 9000px" src="http://oksi-witch.ucoz.ru/_ph/2/1/703079475.jpg">
<SCRIPT><!--
ddx=0;ddy=0;PX=600;PY=0;xm=0;ym=0
OlsW=Ols.width/2;OlsH=Ols.height/2
function MoveWinnie(){
x=Math.round(PX+=((xm-PX)*3)/400)
y=Math.round(PY+=((ym-PY)*3)/400)
Ols.style.left=x-OlsW
Ols.style.top=y //osw
setTimeout("MoveWinnie()",10)
}
function doMouse(){
xm=window.event.x
ym=window.event.y //fantasyflash.ru
}
document.onmousemove=doMouse
MoveWinnie()
//--></SCRIPT>
</a></p>Итака
Плиз, прошу вопросы задавать в этих темах:
Low
Тебе повезло)
Вот нашел пару)
номер 1
<div align="center" style="z-index:9;visibility:visible;"></div><style>HTML,BODY{cursor: url("http://downloads.totallyfreecursors.com/cursor_files/naruto3.ani"), url("http://downloads.totallyfreecursors.com/thumbnails/naruto3.gif"), auto;}</style>
<style>A:hover{cursor: url("http://downloads.totallyfreecursors.com/cursor_files/naruto3.ani"), url("http://downloads.totallyfreecursors.com/thumbnails/Naruto3.gif"), auto;}</style>номер 2
<div align="center" style="z-index:9;visibility:visible;"></div><style>HTML,BODY{cursor: url("http://downloads.totallyfreecursors.com/cursor_files/naruto2.ani"), url("http://downloads.totallyfreecursors.com/thumbnails/naruto2.gif"), auto;}</style>
<style>A:hover{cursor: url("http://downloads.totallyfreecursors.com/cursor_files/naruto2.ani"), url("http://downloads.totallyfreecursors.com/thumbnails/Naruto2.gif"), auto;}</style>Галадриэль
<STYLE>
BODY { cursor:url('http://fantasyflash.ru/cursor/cur/cursor153.cur');}</style>Это перо.
А у вас есть курсор собачек?
http://fantasyflash.ru/index.php?&kontent=cursors тут посмотрите.. в звербшках 2 точно есть
*эт не реклама*
За курсором прыгает мячик
<html>
<head>
<title>JavaScript. Позиционирование. Прыгающий мячик</title>
<script language="JavaScript">
<!--
var xoff = 400;
var yoff = 300;
var inc = -5;
function move() {
yoff += inc;
ball.top = yoff;
ball.left = xoff;
if (yoff<= 150) {inc = 5;}
if (yoff>= 300) {inc = -5;}
setTimeout("move()", 50);
}
-->
</script>
</head>
<body>
<div id="ball" style="position:absolute;width:10px; height:10px"><img src="../gif/ball5.gif" width=10 height=10 border=0></div>
<script language="JavaScript">
<!--
var NN = (navigator.appName == "Netscape" && parseInt(navigator.appVersion) >= 4);
var ball = (NN) ? document.ball : document.all.ball.style;
move();
-->
</script>
</body>
</html>Сердечки поднимаются вверх от курсора
<SCRIPT LANGUAGE="JavaScript1.2">
<!-- Begin
var no = 30; //
var speed = 12; //
var snowflake = "http://img353.imageshack.us/img353/5609/smile1403va.gif";
var ns4up = (document.layers) ? 1 : 0;
var ie4up = (document.all) ? 1 : 0;
var dx, xp, yp;
var am, stx, sty;
var i, doc_width = 800, doc_height = 600;
if (ns4up) {
doc_width = self.innerWidth;
doc_height = self.innerHeight;
} else if (ie4up) {
doc_width = document.body.clientWidth;
doc_height = document.body.clientHeight;
}
dx = new Array();
xp = new Array();
yp = new Array();
am = new Array();
stx = new Array();
sty = new Array();
for (i = 0; i < no; ++ i) {
dx[i] = 0;
xp[i] = Math.random()*(doc_width-50);
yp[i] = Math.random()*doc_height;
am[i] = Math.random()*20;
stx[i] = 0.02 + Math.random()/10;
sty[i] = 0.7 + Math.random();
if (ns4up) {
if (i == 0) {
document.write("<layer name=\"dot"+ i +"\" left=\"15\" ");
document.write("top=\"15\" visibility=\"show\"><img src=\"");
document.write(snowflake + "\" border=\"0\"></layer>");
} else {
document.write("<layer name=\"dot"+ i +"\" left=\"15\" ");
document.write("top=\"15\" visibility=\"show\"><img src=\"");
document.write(snowflake + "\" border=\"0\"></layer>");
}
} else if (ie4up) {
if (i == 0) {
document.write("<div id=\"dot"+ i +"\" style=\"POSITION: ");
document.write("absolute; Z-INDEX: "+ i +"; VISIBILITY: ");
document.write("visible; TOP: 15px; LEFT: 15px;\"><img src=\"");
document.write(snowflake + "\" border=\"0\"></div>");
} else {
document.write("<div id=\"dot"+ i +"\" style=\"POSITION: ");
document.write("absolute; Z-INDEX: "+ i +"; VISIBILITY: ");
document.write("visible; TOP: 15px; LEFT: 15px;\"><img src=\"");
document.write(snowflake + "\" border=\"0\"></div>");
}
}
}
function snowNS() {
for (i = 0; i < no; ++ i) {
yp[i] += sty[i];
if (yp[i] > doc_height-50) {
xp[i] = Math.random()*(doc_width-am[i]-30);
yp[i] = 0;
stx[i] = 0.02 + Math.random()/10;
sty[i] = 0.7 + Math.random();
doc_width = self.innerWidth;
doc_height = self.innerHeight;
}
dx[i] += stx[i];
document.layers["dot"+i].top = yp[i];
document.layers["dot"+i].left = xp[i] + am[i]*Math.sin(dx[i]);
}
setTimeout("snowNS()", speed);
}
function snowIE() {
for (i = 0; i < no; ++ i) {
yp[i] += sty[i];
if (yp[i] > doc_height-50) {
xp[i] = Math.random()*(doc_width-am[i]-30);
yp[i] = 0;
stx[i] = 0.02 + Math.random()/10;
sty[i] = 0.7 + Math.random();
doc_width = document.body.clientWidth;
doc_height = document.body.clientHeight;
}
dx[i] += stx[i];
document.all["dot"+i].style.pixelTop = yp[i];
document.all["dot"+i].style.pixelLeft = xp[i] + am[i]*Math.sin(dx[i]);
}
setTimeout("snowIE()", speed);
}
if (ns4up) {
snowNS();
} else if (ie4up) {
snowIE();
}
// End -->
</script>многослойная надрпись за курсором
<SCRIPT language=JavaScript1.2>
<!--
var message='Ваш_текст_:))';
var messagecolor='#000000'
var dismissafter=0
var amount=5,ypos=0,xpos=0,Ay=0,Ax=0,By=0,Bx=0,Cy=0,Cx=0,Dy=0,Dx=0,Ey=0,Ex=0;
if (document.layers){
for (i = 0; i < amount; i++)
{document.write('<layer name=ns'+i+' top=0 left=0><font face="Courier New" size=3 color='+messagecolor+'>'+message+'</font></layer>')}
window.captureEvents(Event.MOUSEMOVE);
function nsmouse(evnt){xpos = evnt.pageX;ypos = evnt.pageY;makefollow()}
}
else if (document.all){
document.write("<div id='outer' style='position:absolute;top:0px;left:0px'>");
document.write("<div id='inner' style='position:relative'>");
for (i = 0; i < amount; i++)
{document.write('<div id="text"'+i+' style="position:absolute;top:0px;left:0px;font-family:Courier New;font-size:16px;color:'+messagecolor+'">'+message+'</div>')}
document.write("</div>");//osw
document.write("</div>");
function iemouse(){ypos = document.body.scrollTop + event.y;xpos = document.body.scrollLeft + event.x;makefollow()}
}
function makefollow(){
if (document.layers){
document.layers["ns0"].top=ay;document.layers["ns0"].left=ax;
document.layers["ns1"].top=by;document.layers["ns1"].left=bx;
document.layers["ns2"].top=cy;document.layers["ns2"].left=cx;
document.layers["ns3"].top=Dy;document.layers["ns3"].left=Dx;
document.layers["ns4"].top=Ey;document.layers["ns4"].left=Ex;
}
else if (document.all){
outer.all.inner.all[0].style.pixelTop=ay;outer.all.inner.all[0].style.pixelLeft=ax;
outer.all.inner.all[1].style.pixelTop=by;outer.all.inner.all[1].style.pixelLeft=bx;
outer.all.inner.all[2].style.pixelTop=cy;outer.all.inner.all[2].style.pixelLeft=cx;
outer.all.inner.all[3].style.pixelTop=Dy;outer.all.inner.all[3].style.pixelLeft=Dx;
outer.all.inner.all[4].style.pixelTop=Ey;outer.all.inner.all[4].style.pixelLeft=Ex;
}
}
function move(){
if (dismissafter!=0)
setTimeout("hidetrail()",dismissafter*1000)
if (document.layers){window.onMouseMove = nsmouse}
else if (document.all){window.document.onmousemove = iemouse}
ey = Math.round(Ey+=((ypos+20)-Ey)*2/2);ex = Math.round(Ex+=((xpos+20)-Ex)*2/2);
dy = Math.round(Dy+=(ey - Dy)*2/4);dx = Math.round(Dx+=(ex - Dx)*2/4);
cy = Math.round(Cy+=(dy - Cy)*2/6);cx = Math.round(Cx+=(dx - Cx)*2/6);
by = Math.round(By+=(cy - By)*2/8);bx = Math.round(Bx+=(cx - Bx)*2/8);
ay = Math.round(Ay+= (by - Ay)*2/10);ax = Math.round(Ax+= (bx - Ax)*2/10);
makefollow();//fantasyflash.narod.ru
jumpstart=setTimeout('move()',10);
}
function hidetrail(){
if (document.all){
for (i2=0;i2<amount;i2++){
outer.all.inner.all[i2].style.visibility="hidden"
clearTimeout(jumpstart)
}
}
else if (document.layers){
for (i2=0;i2<amount;i2++){
temp="ns"+i2
document.layers[temp].visibility="hide"
clearTimeout(jumpstart)
}
}
}
window.onload=move;
//-->
</SCRIPT>Обычные скромные online часы
<center><html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251">
<script>
var clockid=new Array()
var clockidoutside=new Array()
var i_clock=-1
var thistime= new Date()
var hours=thistime.getHours()
var minutes=thistime.getMinutes()
var seconds=thistime.getSeconds()
if (eval(hours) <10) {hours="0"+hours}
if (eval(minutes) < 10) {minutes="0"+minutes}
if (seconds < 10) {seconds="0"+seconds}
var thistime = hours+":"+minutes+":"+seconds
function writeclock() {
i_clock++
if (document.all || document.getElementById || document.layers) {
clockid[i_clock]="clock"+i_clock
document.write("<span id='"+clockid[i_clock]+"' style='position:relative'>"+thistime+"</span>")
}
}
function clockon() {
thistime= new Date()
hours=thistime.getHours()
minutes=thistime.getMinutes()
seconds=thistime.getSeconds()
if (eval(hours) <10) {hours="0"+hours}
if (eval(minutes) < 10) {minutes="0"+minutes}
if (seconds < 10) {seconds="0"+seconds}
thistime = hours+":"+minutes+":"+seconds
if (document.all) {
for (i=0;i<=clockid.length-1;i++) {
var thisclock=eval(clockid[i])
thisclock.innerHTML=thistime
}
}
if (document.getElementById) {
for (i=0;i<=clockid.length-1;i++) {
document.getElementById(clockid[i]).innerHTML=thistime
}
}
var timer=setTimeout("clockon()",1000)
}
window.onload=clockon
</script>
</head>
<body bgcolor="#FFFFFF" text="#000000">
<script>writeclock()</script>
</body>
</html></center>Ставить хоть куда кроме ответа
Отредактировано abazachat (Чт, 4 Июн 2009 16:03:35)
Калькулятор
<html>
<SCRIPT LANGAUGE="JAVASCRIPT 1.3 TYPE="text/javascript">
<!--
// deklaracja zmiennych
var wynik=0, op=0, nowe=0, nowe2=0, done=1, oset=0, kropka, temp;
function reset(value)
{
document.form1.ekran.value = value;
wynik = 0,
op = 0,
nowe = 0,
nowe2 = 0;
done = 1;
oset = 0;
}
function wspolna(new_temp)
{
kropka = 1;
if(nowe || done) {
nowe = 0;
done = 0;
temp = new_temp;
}
for(var i=0; i<temp.length; i++) if (temp[i]=='.') kropka=0;
}
function button(ktory,ktory2)
{
temp = document.form1.ekran.value;
if(ktory2=='.') {
wspolna('0');
if(kropka) {
temp += ktory2;
document.form1.ekran.value = temp;
oset = 0;
}
}
if(ktory>=0 && ktory<=9) {
wspolna('');
if(temp==0 && kropka==1) temp='';
temp += ktory;
document.form1.ekran.value = temp;
oset = 1;
}
if(ktory2=='-' || ktory2=='+' || ktory2=='/' || ktory2=='*') {
if(nowe) op = ktory2
else {
if(!nowe2) {
op = ktory2;
wynik = temp;
nowe2=1;
}
else {
wynik = eval(wynik + op + temp);
op = ktory2;
document.form1.ekran.value = wynik;
}
oset=0;
nowe = 1;
}
}
if(ktory2=='1/x' ) { wynik = eval(1 / temp) ; reset(wynik); }
if(ktory2=='sqrt') { wynik = Math.sqrt(temp); reset(wynik); }
if(ktory2=='exp' ) { wynik = Math.exp(temp) ; reset(wynik); }
if(ktory2=='+/-') document.form1.ekran.value = eval(-temp);
if(ktory2=='=' && oset && op!='0') reset(eval(wynik + op + temp));
if (ktory2=='C') reset(0);
if(document.form1.ekran.value[0] == '.')
document.form1.ekran.value = '0' + document.form1.ekran.value;
}
//-->
</script>
<body>
<form name="form1">
<table bgColor="#430086">
<tbody>
<tr>
<td><table bgColor="#430086" border="1" cellPadding="0" cellSpacing="5">
<tbody>
<tr align="middle">
<td colSpan="5"><input name="ekran" value="0" size="20"></td>
</tr>
<tr align="middle">
<td colSpan="4"><b><font color="#FFFF00">Калькулятор</font></b></td>
<td><input name="C" onclick="button(11,'C')" type="button" value=" C "></td>
</tr>
<tr align="middle">
<td><input name="7" onclick="button(7 ,'')" type="button" value=" 7 "></td>
<td><input name="8" onclick="button(8 ,'')" type="button" value=" 8 "></td>
<td><input name="9" onclick="button(9 ,'')" type="button" value=" 9 "></td>
<td><input name="/" onclick="button(11,'/')" type="button" value=" / "></td>
<td><input name="sqrt" onclick="button(11,'sqrt')" type="button" value="sqrt"></td>
</tr>
<tr align="middle">
<td><input name="4" onclick="button(4,'')" type="button" value=" 4 "></td>
<td><input name="5" onclick="button(5,'')" type="button" value=" 5 "></td>
<td><input name="6" onclick="button(6,'')" type="button" value=" 6 "></td>
<td><input name="*" onclick="button(11,'*')" type="button" value=" * "></td>
<td><input name="exp" onclick="button(11,'exp')" type="button" value="exp"></td>
</tr>
<tr align="middle">
<td><input name="1" onclick="button(1,'')" type="button" value=" 1 "></td>
<td><input name="2" onclick="button(2,'')" type="button" value=" 2 "></td>
<td><input name="3" onclick="button(3,'')" type="button" value=" 3 "></td>
<td><input name="-" onclick="button(11,'-')" type="button" value=" - "></td>
<td><input name="1/x" onclick="button(11,'1/x')" type="button" value="1/x "></td>
</tr>
<tr align="middle">
<td><input name="0" onclick="button(0,'')" type="button" value=" 0 "></td>
<td><input name="+/-" onclick="button(11,'+/-')" type="button" value=" +/- "></td>
<td><input name="." onclick="button(11,'.')" type="button" value=" , "></td>
<td><input name="+" onclick="button(11,'+')" type="button" value=" + "></td>
<td><input name="=" onclick="button(11,'=')" type="button" value=" = "></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</form>Поиск в Яндекс
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251">
<script language="javascript">
<!--
function set_as_q()
{
if (document.forms.search0) { var dsf = document.forms.search0.elements; dsfdsf.as_q.value = dsf.old_q.value; }
if (document.forms.search1) { var dsf = document.forms.search1.elements; dsfdsf.as_q.value = dsf.old_q.value; }
}
//-->
</script>
</head>
<body style="font-family: Arial; font-weight: bold" >
<form name="web" action="http://www.yandex.ru/yandsearch">
<img src=http://img.yandex.net/i/yandex-v9.gif align=left width=60><input tabindex="1" name="text" size="43" maxlength="300" value="" onfocus="searchInputIsActive = 1;">
<input type="Submit" value="Найти">
</form>
</body>
</html>поиск в google yahoo msn с выбором поиска
<HTML xmlns="http://www.w3.org/1999/xhtml"><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1251">
</HEAD>
<BODY>
<form name="jksearch" action="http://www.google.com/search" method="get" onSubmit="jksitesearch(this)">
<p>Поиск<br />
<input id="hiddenquery" type="hidden" name="q" />
<input name="qfront" type="text" style="width: 200px" value="Введите текст" /> <input type="submit" value="Найти" /><br />
<div style="font: bold 11px Verdana;">Google:<input name="se" type="radio" checked> Yahoo:<input name="se" type="radio"> MSN:<input name="se" type="radio">
</div>
<script type="text/javascript">
var domainroot="www.javascriptkit.com"
var searchaction=[ //form action for the 3 search engines
"http://www.google.com/search",
"http://search.yahoo.com/search",
"http://search.msn.com/results.aspx"
]
var queryfieldname=["q","p","q"] //name of hidden query form for the 3 search engines
function switchaction(cur, index){
cur.form.action=searchaction[index]
document.getElementById("hiddenquery").name=queryfieldname[index]
}
function jksitesearch(curobj){
for (i=0; i< document.jksearch.se.length; i++){ //loop through radio to see which is checked
if (document.jksearch.se[i].checked==true)
switchaction(document.jksearch.se[i], i)
}
document.getElementById("hiddenquery").value="site:"+domainroot+" "+curobj.qfront.value
}
</script>
</p>
</form>
</BODY></HTML>Скрипт - Зафиксированный фон для вашего сайта.
<style type="text/css">
HTML, BODY {background-image: url("ваша картинка, она должна быть большого размера(чтобы не осталось не закрытых участков)")!important; background-repeat: no-repeat !important;
Background-attachment: fixed;}
</style>Вставлять в хтмл - верх.
Отредактировано John Burton (Вт, 7 Июл 2009 22:40:00)
| Скрипты Украшаем Форум (обновленная тема) | Форум для новичков | Сегодня |
| скрипт зада форума и как активировать пользователей | Корзина | Пн, 15 Фев 2010 |
| Каталог скриптов/CSS | Форум для новичков | Вт, 1 Окт 2013 |
| Навигатор по форуму | Архив | Ср, 7 Ноя 2012 |
| ЕТП - Новый Каталог скриптов | Корзина | Чт, 1 Июл 2010 |
Вы здесь » Единый форум поддержки » Корзина » Скрипты Украшаем Форум