Здорово,чувак! Добро пожаловать! Вы попали на сайт программистов из Караганды  

Главное меню
·  Главная
·  форум
· гостевая книга
·  проги
·  глюки
·  шпаргалки
·  фишки
·  Java-cкрипты
·  видео
·  написать письмо
·  редактор сайта
Информация
Сайт по информатике

Сайт Кодеров


скачать эти скрипты

Разные скрипты

1

<html><head><META http-equiv="Content-Type" content="text/html; charset=windows-1251">

<title>Скрипт</title>

<SCRIPT>

var titletext="Ваш текст!"

var thetext=""

var started=false

var step=0

var times=1

function welcometext()

{

times--

if (times==0)

{

if (started==false)

{

started = true;

document.title = titletext;

setTimeout("anim()",1);

}

thetext = titletext;

}

}

function showstatustext(txt)

{

thetext = txt;

setTimeout("welcometext()",4000)

times++

}

function anim()

{

step++

if (step==7) {step=1}

if (step==1) {document.title='>==='+thetext+'===<'}

if (step==2) {document.title='=>=='+thetext+'==<='}

if (step==3) {document.title='>=>='+thetext+'=<=<'}

if (step==4) {document.title='=>=>'+thetext+'<=<='}

if (step==5) {document.title='==>='+thetext+'=<=='}

if (step==6) {document.title='===>'+thetext+'<==='}

setTimeout("anim()",200);

}

if (document.title)

window.onload=onload=welcometext

</SCRIPT></head><body text="#000000" link="#FFFFFF" topmargin="0" leftmargin="0">

<p align="center">&nbsp;Посмотрите на Title этой страницы.</p></body></html>

2

<HTML><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1251">

<script language="Jscript" FOR="Seq" event="oninit">

Seq.item("ActionSet1").at(1.000, "RotateAll()",-1, 0.050, 1);

Seq.item("ActionSet1").Play();

</SCRIPT>

<SCRIPT LANGUAGE="JScript">

window.onload=loadme;

function loadme() {

sgMSDHTML.SetIdentity();

}

function RotateAll() {

sgMSDHTML.Rotate(10,9,0);

}

</SCRIPT>

<SCRIPT LANGUAGE="JScript">

function Start() {

if (Button1.value=="Pause"){

Seq.item("ActionSet1").Pause();

<!--  Button1.value="Play"; -->

}else{

Seq.item("ActionSet1").Play();

}

}

</SCRIPT></HEAD><BODY BGCOLOR="#000000" TEXT="#000000" LINK="#0000FF" VLINK="#7F007F" ALINK="#FF0000">

<OBJECT ID="Seq"

CLASSID="CLSID:B0A6BAE2-AAF0-11d0-A152-00A0C908DB96"

</OBJECT>

<OBJECT ID=sgMSDHTML STYLE="Position:Absolute; HEIGHT:500; WIDTH:470; Top:230; Left:1"

CLASSID="CLSID:369303C2-D7AC-11d0-89D5-00A0C90833E6">

<PARAM NAME="Line0001" VALUE="SetLineColor(255,255,255)">

<PARAM NAME="Line0002" VALUE="SetFillColor(0,0,255)">

<PARAM NAME="Line0003" VALUE="SetFillSTYLE(1)">

<PARAM NAME="Line0004" VALUE="SetLineSTYLE(1)">

<PARAM NAME="Line0005" VALUE="SetFont('Verdana',40,550,0,0,0)">

<PARAM NAME="Line0006" VALUE="Text('ваш текст', -120, -90, 0)">

<PARAM NAME="Line0007" VALUE="Text('ваш текст', -150, -40, 0)">

</OBJECT></BODY></HTML>

3

<html><head><meta http-equiv="Content-Type" content="text/html; charset=windows-1251">

<title>Дрожание страницы</title></head>

<script language="JavaScript">

<!--

function boom(n) {

if (window.top.moveBy) {

for (i = 10; i > 0; i--) {

for (j = n; j > 0; j--) {

window.top.moveBy(0,i);

window.top.moveBy(i,0);

window.top.moveBy(0,-i);

window.top.moveBy(-i,0);

}

}

}

}

//-->

</script>

<body>

<p align="center">

<a href="ваша ссылка" onMouseOver="boom(3)">Нажми</a> </p>

</body></html>

4

<html><head></head><body>

<style>

.operation {

height:30;

width:30;

font-size:10 px;

font-family:verdana;

background-color:darkblue;

border:1px dashed #blue;

color:white }

.special {

height:30;

width:30;

font-size:10 px;

font-family:verdana;

background-color:blue;

border:1px dashed #222222;

color:white }

.input {

height:30;

width:30;

font-size:10 px;

font-family:verdana;

background-color:black;

border:1px dashed #111111;

color:white }

.twocols {

height:30;

width:30;

font-size:10 px;

font-family:verdana;

background-color:yellow;

border:1px dashed #111111;

color:black }

.tworows {

height:60;

width:30;

font-size:18 px;

font-family:verdana;

background-color:white;

border:1px dashed #111111;

color:black }

.no {

font-family:verdana;

background-color:black;

border:orange;

color:orange; }

.top

{

font-weight:bold;

font-family:verdana;

color:orange;

background-color:444444;

border:0px none px;

}

.other

{

font-family:verdana;

color:444444;

background-color:black;

border:0px none px;

}</style>

<script language="JavaScript">

last=0;

result=0;

operation="";

lastMove=true;

function rid()

{

form.output.value="0";

last=0;

result=0;

operation="";

lastMove=true;

}

function negate()

{

if (lastMove==true)

{

form.output.value=0;

}

form.output.value=form.output.value*-1;

}

function total(num)

{

val=Math.PI;

if (num==val || lastMove==true)

{

form.output.value=num;

if (num!=val)

{

lastMove=false;

}

}

else

{

result=form.output.value;

num=result+num;

form.output.value=num;

}

}

function compute(sign)

{

switch (operation)

{

case "add": form.output.value=last*1+form.output.value*1;

break;

case "subtract": form.output.value=last-form.output.value;

break;

case "multiply": form.output.value=last*form.output.value;

break;

case "divide": form.output.value=last/form.output.value;

break;

case "power": form.output.value=Math.pow(last,form.output.value);

break;

case "root": form.output.value=Math.pow(form.output.value,1/last);

break;

}

switch(sign)

{

case "sqrt": form.output.value=Math.sqrt(form.output.value);

break;

case "factorial": form.output.value=factorial(form.output.value);

break;

case "sin": form.output.value=Math.sin((form.output.value*Math.PI)/180);

break;

case "cos": form.output.value=Math.cos((form.output.value*Math.PI)/180);

break;

case "tan": form.output.value=Math.tan((form.output.value*Math.PI)/180);

break;

case "LN": form.output.value=Math.log(form.output.value);

break;

}

last=form.output.value*1;

operation=sign;

lastMove=true;

}

function factorial(something)

{

val=1;

for (k=2; k<=something; k++)

{

val*=k;

}

return(val);

}

</script></head>

<body text=orange>

<form name=form>

<table bgcolor=444444 bordercolor="#00FF00" cellspacing="1"><tr>

<th colspan=4 bgcolor="#FFFF00">

<font face="verdana" color="#0000FF">Калькулятор</font><tr>

<td align=center valign=bottom colspan=4>

<input type=text class=no name=output value=0 size="20" style="border-style:ridge; border-width:2; color: #FFFF00; background-color: #0000FF">

</td></tr>

<tr><th colspan=4 height=20 bgcolor="#800000">

<tr><td><input class=special type=button value=! onClick=compute("factorial"); style="border: 2px solid #FFFF00">

<td><input class=special type=button value=pi onClick=total(Math.PI); style="border: 2px solid #FFFF00">

<td><input class=special type=button value=LN onClick=compute("LN"); style="border: 2px solid #FFFF00">

<td><input class=twocols type=button value=C/E onClick=rid(); style="border:1px solid #00FF00; ">

<tr><td><input class=special type=button value=^ onClick=compute("power"); style="border: 2px solid #FFFF00">

<td><input class=special type=button value=sqrt onClick=compute("sqrt"); style="border: 2px solid #FFFF00">

<td><input class=special type=button value=root onClick=compute("root"); style="border: 2px solid #FFFF00">

<td><input type=button class=operation value=/ onClick=compute("divide");>

<tr><td><input class=special type=button value=sin onClick=compute("sin"); style="border: 2px solid #FFFF00">

<td><input class=special type=button value=cos onClick=compute("cos"); style="border: 2px solid #FFFF00">

<td><input class=special type=button value=tan onClick=compute("tan"); style="border: 2px solid #FFFF00">

<td><input class=operation type=button value=* onClick=compute("multiply");>

<tr><td><input class=input type=button value=1 onClick=total(1); style="border: 2px solid #00FFFF">

<td><input class=input type=button value=2 onClick=total(2); style="border: 2px solid #00FFFF">

<td><input type=button class=input value=3 onClick=total(3); style="border: 2px solid #00FFFF">

<td ><input class=operation type=button value=- onClick=compute("subtract");>

<tr><td><input class=input type=button value=4 onClick=total(4); style="border: 2px solid #00FFFF">

<td><input class=input type=button value=5 onClick=total(5); style="border: 2px solid #00FFFF">

<td><input class=input type=button value=6 onClick=total(6); style="border: 2px solid #00FFFF">

<td><input class=operation type=button value=+ onClick=compute("add");>

<tr><td><input class=input type=button value=7 onClick=total(7); style="border: 2px solid #00FFFF">

<td><input class=input type=button value=8 onClick=total(8); style="border: 2px solid #00FFFF">

<td><input class=input type=button value=9 onClick=total(9); style="border: 2px solid #00FFFF">

<td rowspan=2><input class=tworows type=button value== onClick=compute("equal"); style="border:2px solid #FF0000; ">

<tr><td><input class=input type=button value=. onClick=total("."); style="border: 2px solid #00FFFF">

<td><input class=input type=button value=0 onClick=total(0); style="border: 2px solid #00FFFF">

<td><input class=input type=button value=(-) onClick=negate(); style="border: 2px solid #00FFFF">

</table></form></body></html>

5

<html><head><title>кнопка</title>

<SCRIPT LANGUAGE="JavaScript">

<!-- Begin

hexColor = ["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"];

function mOver() {

for (i = 0; i < 13; i++) {

setTimeout('document.myForm.button.style.background = "#'+hexColor[12-i]+'0'+hexColor[12-i]+'0c0";', i * 40);

}

}

function mOut() {

document.myForm.button.value = "  Нажми!  ";

for (i = 0; i < 12; i++) {

setTimeout('document.myForm.button.style.background = "#'+hexColor[i]+'0'+hexColor[i]+'0c0";', i * 40);

}

}

//  End -->

</script></head><body><center>

<form name=myForm>

<input type=button name=button value="  Нажми!  " onMouseOver='mOver()'' onMouseDown='document.myForm.button.value="молодец!"' onClick='window.location="ваша ссылка"' onMouseOut='mOut()'>

</form></center></html>

6

<table border=0 width=270 id="myexample"

style="border:2px solid yellow"><tr>

<td>Ваш текст<br></td></tr></table>

<script language="JavaScript">

<!--

function flashit()

{

if (!document.all)return;

if (myexample.style.borderColor==

"yellow")myexample.style.borderColor="lime";

else myexample.style.borderColor=

"yellow"}setInterval("flashit()", 1000)

//-->

</script>

7

<html><head><title>Дни существования сайта</title>

<META http-equiv="Content-Type" content="text/html; charset=windows-1251">

<Style>

A:Link{ Color: #000000; Text-decoration: underline}

A:Visited{ Color: #000000; Text-decoration: underline}

A:Hover{ Color: #000000; Text-decoration: none}

td, body {font-family: verdana, arial, helvetica; font-size:11px;} 

</Style></head>

<body bgcolor="#EDEDED" text="#000000" link="#000000" topmargin="0" leftmargin="0">

<center>

<SCRIPT language=JavaScript>

<!--

d0 = new Date('July 20, 2006');

d1 = new Date();

dt = (d1.getTime() - d0.getTime()) / (1000*60*60*24);

document.write('Этот сайт живет <B>' + Math.round(dt) + '</B>-й день.');

-->

</SCRIPT></center></body></html>

8

<html><head><HTML><HEAD><script LANGUAGE="JavaScript1.1">

<!--

messages = new Array()

messages[0] = "ваш текст"

messages[1] = "ваш текст"

messages[2] = "ваш текст"

messages[3] = "ваш текст"

messages[4] = "ваш текст"

messages[5] = "ваш текст"

messages[6] = "ваш текст"

messages[7] = "ваш текст"

messages[8] = "ваш текст"

messages[9] = "ваш текст"

messages[10] = "ваш текст"

messages[11] = "ваш текст"

messages[12] = "ваш текст"

messages[13] = "ваш текст"

messages[14] = "ваш текст"

messages[15] = "ваш текст"

messages[16] = "ваш текст"

messages[17] = "ваш текст"

messages[18] = "ваш текст"

messages[19] = "ваш текст"

messages[20] = "ваш текст"

messages[21] = "ваш текст"

mescolor = new Array()

mescolor[0] = "000000"

mescolor[1] = "FF0000"

mescolor[2] = "226622"

mescolor[3] = "0000FF"

mescolor[4] = "FFFF00"

textfont = new Array()

textfont[0] = "Verdana"

textfont[1] = "Times"

textfont[2] = "Arial"

bagcolor = new Array()

bagcolor[0] = "CCCCCC"

bagcolor[1] = "Yellow"

bagcolor[2] = "CCFFFF"

bagcolor[3] = "AAEEFF"

bagcolor[4] = "CCFF88"

bagcolor[5] = "orange"

bagcolor[6] = "99AAFF"

var i_messages = 0

var timer

function randomposition(range) { 

return Math.floor(range*Math.random())

}

function dotransition() {

if (document.all) {

content.filters[i_messages].apply()

content.innerHTML = "<table width=320 height=180 border=2><tr><td bgcolor="+bagcolor[randomposition(6)]+" style='color:"+mescolor[randomposition(4)]+";font-family:"+textfont[randomposition(2)]+";font-size:28pt' align=center valign=middle>"+messages[i_messages]+"</td></tr></table>"

content.filters[i_messages].play()

if (i_messages >= messages.length-1) {

i_messages = 0

}

else {

i_messages++

}

}

if (document.layers) {

document.nn.document.write("<table width=320 height=180 border=2><tr><td bgcolor="+bagcolor[randomposition(6)]+" align=center valign=middle>")

document.nn.document.write("<font face="+textfont[randomposition(2)]+" size=7 color="+mescolor[randomposition(4)]+">"+messages[i_messages]+"</font></td></tr></table>")

document.close()

if (i_messages >= messages.length-1) {

i_messages = 0

}

else {

i_messages++

}

}

timer = setTimeout("dotransition()",3000)  

}

// - End of JavaScript - -->

</script></HEAD><BODY BGCOLOR="#FFFFFF" onload="dotransition()">

<DIV id=content style="position: absolute; top:20px; left:20px; width:560px; height:200px; text-align:center; filter: revealTrans(Transition=1, Duration=3) revealTrans(Transition=2, Duration=3) revealTrans(Transition=3, Duration=2)  revealTrans(Transition=4, Duration=2)  revealTrans(Transition=5, Duration=1)  revealTrans(Transition=6, Duration=3)  revealTrans(Transition=7, Duration=2)  revealTrans(Transition=8, Duration=1)  revealTrans(Transition=9, Duration=3)  revealTrans(Transition=10, Duration=1)  revealTrans(Transition=11, Duration=2)  revealTrans(Transition=12, Duration=3)  revealTrans(Transition=13, Duration=1)  revealTrans(Transition=14, Duration=2)  revealTrans(Transition=15, Duration=3)  revealTrans(Transition=16 Duration=1)  revealTrans(Transition=17, Duration=2)  revealTrans(Transition=18, Duration=3) revealTrans(Transition=19, Duration=1) revealTrans(Transition=20, Duration=2) revealTrans(Transition=21, Duration=3) revealTrans(Transition=22, Duration=3)"> </DIV>

<DIV id=source style="position: absolute; top:240; left:20; width:560; color: AAAAAA;text-align:center"><a href="http://www.case.agava.ru" target="_blank"></a></DIV>

<DIV id=nn style="position: absolute; top:20px; left:135px"></DIV></BODY></HTML>

9

<HTML><HEAD><SCRIPT language=JavaScript>

function ismsie4() {

if (navigator.appName.indexOf("Internet Explorer") > -1) {

if (navigator.appVersion.substr(0,1) == "4")

return true;

} else {

return false

}

}

function scrollDivs()

{

complete = 1;

for (i=1;i<=4;i++) {

objToc = document.all['toc' + i];

if (objToc.style.pixelTop > -2) {

objToc.style.pixelTop = 0;

} else if (objToc.style.pixelTop < -40) {

objToc.style.pixelTop += 10;

complete = 0;

} else {

objToc.style.pixelTop -= objToc.style.pixelTop / 4;

complete = 0;

}

}

if (!complete)

timeoutID = setTimeout("scrollDivs()", 15);

}

function doit()

{

scrollDivs();

}

</SCRIPT>

<STYLE>A {

FONT-FAMILY: Verdana

}

</STYLE></HEAD><BODY link=#FF0000 onload="if (ismsie4()) doit();" text=#000000 vLink=#FF0000>

<TABLE border=0 cellPadding=5 cellSpacing=0 width=466>

<TBODY><TR><TD><FONT color=#000000 face=Arial size=2>

<DIV id=toc1 style="POSITION: relative; TOP: -100px">ваш текст</DIV><p>

<DIV id=toc2 style="POSITION: relative; TOP: -250px">ваш текст</DIV><p>

<DIV id=toc3 style="POSITION: relative; TOP: -450px">ваш текст</DIV><p>

<DIV id=toc4 style="POSITION: relative; TOP: -650px">ваш текст</DIV>

</TD></TR></TBODY></TABLE></BODY></HTML>

10

<html><head><title>Скрипт</title>

<META http-equiv="Content-Type" content="text/html; charset=windows-1251"></head><body>

<div align="center"><center>

<table border="0" cellpadding="0" cellspacing="0" width="50%" height="150">

<tr><td width="100%" align="center">

<SCRIPT LANGUAGE="JavaScript">

<!-- Begin

document.write('<marquee id="iescroller" direction="up" width="50%" height="150" scrollamount="3" scrolldelay="100" style="border:2 solid #FF00FF;background-color:#FFFFFF">');

iescroller.onmouseover=new Function("iescroller.scrollAmount=0");

iescroller.onmouseout=new Function("iescroller.scrollAmount=3");

document.write('<font size="2" face="Verdana" color="#0000FF">')

document.write('<Div align="center">ваш текст</div><br>');

document.write('<Div align="center">ваш текст</div><br>');

document.write('<Div align="center">ваш тест</div><br><br>');

document.write('</font>');

document.write('</marquee>');

//  End --></script></td></tr></table></center></div></body></html>

Автор не несет никакой ответственности за испорченное программное обеспечение и другие возможные осложнения при использовании этих скриптов.



Web site engine's code is Copyright © 2007 by Sjava Программисты. All Rights Reserved.
Hosted by uCoz