|
www.forum.fora.pl Nieoficjalne forum pomocy serwisu fora.pl |
|
Zobacz poprzedni temat :: Zobacz następny temat |
Autor |
Wiadomość |
Forhez
Amator postów
Dołączył: 10 Lut 2006
Posty: 41
Przeczytał: 0 tematów
Ostrzeżeń: 3/5 Skąd: Rzeszów
|
Wysłany: Śro 19:16, 29 Mar 2006 Temat postu: |
|
|
Jak się dodaje skrypt ?
Post został pochwalony 0 razy
|
|
Powrót do góry |
|
|
|
|
~zychu
Mistrz
Dołączył: 12 Sty 2006
Posty: 4157
Przeczytał: 0 tematów
Pomógł: 42 razy Ostrzeżeń: 0/5
Płeć:
|
Wysłany: Śro 20:18, 29 Mar 2006 Temat postu: |
|
|
w opis forum.
Post został pochwalony 0 razy
|
|
Powrót do góry |
|
|
Ryyba
Taki se gostek
Dołączył: 24 Mar 2006
Posty: 11
Przeczytał: 0 tematów
Ostrzeżeń: 2/5
|
Wysłany: Pią 23:56, 07 Kwi 2006 Temat postu: |
|
|
*Warrior* napisał: |
Kod: | <style>
<!--
#glowtext{
filter:glow(color=#FCBF32,strength=6;);
width:100%;
}
-->
</style>
<script language="JavaScript1.2">
function glowit(which){
if (document.all.glowtext[which].filters[0].strength==3)
document.all.glowtext[which].filters[0].strength=2
else
document.all.glowtext[which].filters[0].strength=3
}
function glowit2(which){
if (document.all.glowtext.filters[0].strength==3)
document.all.glowtext.filters[0].strength=2
else
document.all.glowtext.filters[0].strength=3
}
function startglowing(){
if (document.all.glowtext&&glowtext.length){
for (i=0;i<glowtext.length;i++)
eval('setInterval("glowit('+i+')",150)')
}
else if (glowtext)
setInterval("glowit2(0)",150)
}
if (document.all)
window.onload=startglowing
</script>
<span id="glowtext">wasz_tekst</span>
|
Skrypt na "płonący" tekst Nie pytajcie mnie gdzie się go wkleja bo mnie trafi... |
to nie dziala!! znaczy sie widze te literki na stronce ale nie plona !! -.-
Post został pochwalony 0 razy
|
|
Powrót do góry |
|
|
Harry061
Taki se gostek
Dołączył: 12 Mar 2006
Posty: 16
Przeczytał: 0 tematów
Ostrzeżeń: 5/5 Skąd: Lubawa
|
Wysłany: Nie 12:40, 09 Kwi 2006 Temat postu: |
|
|
[scroll] test [/scroll] [you] ? jest tu bbcode? lol
to nie wiem czemu ci nie plona moze nie podpaliles/as ja podpalilem i sie palą do teraz
Post został pochwalony 0 razy
|
|
Powrót do góry |
|
|
Lesenus
Członek mafii postowej
Dołączył: 29 Kwi 2006
Posty: 259
Przeczytał: 0 tematów
Ostrzeżeń: 2/5
|
Wysłany: Pon 1:32, 01 Maj 2006 Temat postu: |
|
|
Literki nie płoną, bo w przeglądarce Firefox są czarne. Płoną tylko w Internet Explorer
Post został pochwalony 0 razy
|
|
Powrót do góry |
|
|
Tiberius
Amator postów
Dołączył: 29 Kwi 2006
Posty: 48
Przeczytał: 0 tematów
Ostrzeżeń: 3/5 Skąd: Kraków
|
Wysłany: Pią 13:06, 05 Maj 2006 Temat postu: |
|
|
dajcie jeszcze jakieś fajny scrypty
Post został pochwalony 0 razy
|
|
Powrót do góry |
|
|
Matyś
Amator postów
Dołączył: 06 Maj 2006
Posty: 43
Przeczytał: 0 tematów
Ostrzeżeń: 3/5
|
Wysłany: Wto 9:14, 09 Maj 2006 Temat postu: |
|
|
Są na pierwszej stronie!
Post został pochwalony 0 razy
|
|
Powrót do góry |
|
|
ErAgOg
Taki se gostek
Dołączył: 28 Lut 2006
Posty: 8
Przeczytał: 0 tematów
Ostrzeżeń: 1/5
|
Wysłany: Pią 16:07, 12 Maj 2006 Temat postu: GrAtUlUjĘ |
|
|
Gratz dla tego pana nie dość że pokazał wszycho w konkretach i w jednym temacie, a nie jak większość w odzielnych to do tego prowadzi sojusz w OGame. No to trza mieć naprawde nerwy ze stali gratz gratz!!!
Post został pochwalony 0 razy
|
|
Powrót do góry |
|
|
DJ Spox :)
Nowicjusz
Dołączył: 15 Maj 2006
Posty: 38
Przeczytał: 0 tematów
Ostrzeżeń: 2/5
|
Wysłany: Pon 18:48, 15 Maj 2006 Temat postu: |
|
|
Skrypty gdzieś uciekły, teraz będą widoczne.
Post został pochwalony 0 razy
|
|
Powrót do góry |
|
|
YaKamura
Taki se gostek
Dołączył: 17 Cze 2006
Posty: 3
Przeczytał: 0 tematów
Ostrzeżeń: 5/5
|
Wysłany: Śro 5:52, 21 Cze 2006 Temat postu: ej gremlin |
|
|
GrEmLiN napisał: | na ktoś Skrypt do textu tak jak np. ognisty był to jakiś wodny text ??
moze ktoś ma tekie Skrypty z textem fajnym?? |
gremlin mam o ciebie pytanko jeżeli masz gg odezwij sie do mnie na gg:8836295
Post został pochwalony 0 razy
|
|
Powrót do góry |
|
|
Damian1123
Nowicjusz
Dołączył: 03 Cze 2006
Posty: 36
Przeczytał: 0 tematów
Ostrzeżeń: 2/5
|
Wysłany: Sob 18:37, 24 Cze 2006 Temat postu: |
|
|
<script language="JavaScript1.2">
/*
Snow Effect Script
Submitted by Altan d.o.o. (snow@altan.hr, [link widoczny dla zalogowanych])
Permission granted to Dynamicdrive.com to feature script in archive
For full source code to this script, visit [link widoczny dla zalogowanych]
*/
//Configure below to change URL path to the snow image
var snowsrc="http://img506.imageshack.us/img506/4899/snieg5cg.gif"
// Configure below to change number of snow to render
var no = 10;
var ns4up = (document.layers) ? 1 : 0; // browser sniffer
var ie4up = (document.all) ? 1 : 0;
var ns6up = (document.getElementById&&!document.all) ? 1 : 0;
var dx, xp, yp; // coordinate and position variables
var am, stx, sty; // amplitude and step variables
var i, doc_width = 800, doc_height = 600;
if (ns4up||ns6up) {
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; // set coordinate variables
xp[i] = Math.random()*(doc_width-50); // set position variables
yp[i] = Math.random()*doc_height;
am[i] = Math.random()*20; // set amplitude variables
stx[i] = 0.02 + Math.random()/10; // set step variables
sty[i] = 0.7 + Math.random(); // set step variables
if (ns4up) { // set layers
if (i == 0) {
document.write("<layer name=\"dot"+ i +"\" left=\"15\" top=\"15\" visibility=\"show\"><a href=\"http://dynamicdrive.com/\"><img src='"+snowsrc+"' border=\"0\"></a></layer>");
} else {
document.write("<layer name=\"dot"+ i +"\" left=\"15\" top=\"15\" visibility=\"show\"><img src='"+snowsrc+"' border=\"0\"></layer>");
}
} else if (ie4up||ns6up) {
if (i == 0) {
document.write("<div id=\"dot"+ i +"\" style=\"POSITION: absolute; Z-INDEX: "+ i +"; VISIBILITY: visible; TOP: 15px; LEFT: 15px;\"><a href=\"http://dynamicdrive.com\"><img src='"+snowsrc+"' border=\"0\"></a></div>");
} else {
document.write("<div id=\"dot"+ i +"\" style=\"POSITION: absolute; Z-INDEX: "+ i +"; VISIBILITY: visible; TOP: 15px; LEFT: 15px;\"><img src='"+snowsrc+"' border=\"0\"></div>");
}
}
}
function snowNS() { // Netscape main animation function
for (i = 0; i < no; ++ i) { // iterate for every dot
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()", 10);
}
function snowIE_NS6() { // IE and NS6 main animation function
for (i = 0; i < no; ++ i) { // iterate for every dot
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 = ns6up?window.innerWidth : document.body.clientWidth;
doc_height = ns6up?window.innerHeight : document.body.clientHeight;
}
dx[i] += stx[i];
if (ie4up){
document.all["dot"+i].style.pixelTop = yp[i];
document.all["dot"+i].style.pixelLeft = xp[i] + am[i]*Math.sin(dx[i]);
}
else if (ns6up){
document.getElementById("dot"+i).style.top=yp[i];
document.getElementById("dot"+i).style.left=xp[i] + am[i]*Math.sin(dx[i]);
}
}
setTimeout("snowIE_NS6()", 10);
}
if (ns4up) {
snowNS();
} else if (ie4up||ns6up) {
snowIE_NS6();
}
</script>
NOWOŚĆ skrypt na deszcz:
Kod:
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
var no = 50;
var speed = 1;
var ns4up = (document.layers) ? 1 : 0;
var ie4up = (document.all) ? 1 : 0;
var s, x, y, sn, cs;
var a, r, cx, cy;
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;
}
x = new Array();
y = new Array();
r = new Array();
cx = new Array();
cy = new Array();
s = 8;
for (i = 0; i < no; ++ i) {
initRain();
if (ns4up) {
if (i == 0) {
document.write("<layer name="dot"+ i +"" left="1" ");
document.write("top="1" visibility="show"><font color="blue">");
document.write(",</font></layer>");
}
else {
document.write("<layer name="dot"+ i +"" left="1" ");
document.write("top="1" visibility="show"><font color="blue">");
document.write(",</font></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;"><font color="blue">");
document.write(",</font></div>");
}
else {
document.write("<div id="dot"+ i +"" style="POSITION: ");
document.write("absolute; Z-INDEX: "+ i +"; VISIBILITY: ");
document.write("visible; TOP: 15px; LEFT: 15px;"><font color="blue">");
document.write(",</font></div>");
}
}
}
function initRain() {
a = 6;
r[i] = 1;
sn = Math.sin(a);
cs = Math.cos(a);
cx[i] = Math.random() * doc_width + 1;
cy[i] = Math.random() * doc_height + 1;
x[i] = r[i] * sn + cx[i];
y[i] = cy[i];
}
function makeRain() {
r[i] = 1;
cx[i] = Math.random() * doc_width + 1;
cy[i] = 1;
x[i] = r[i] * sn + cx[i];
y[i] = r[i] * cs + cy[i];
}
function updateRain() {
r[i] += s;
x[i] = r[i] * sn + cx[i];
y[i] = r[i] * cs + cy[i];
}
function raindropNS() {
for (i = 0; i < no; ++ i) {
updateRain();
if ((x[i] <= 1) || (x[i] >= (doc_width - 20)) || (y[i] >= (doc_height - 20))) {
makeRain();
doc_width = self.innerWidth;
doc_height = self.innerHeight;
}
document.layers["dot"+i].top = y[i];
document.layers["dot"+i].left = x[i];
}
setTimeout("raindropNS()", speed);
}
function raindropIE() {
for (i = 0; i < no; ++ i) {
updateRain();
if ((x[i] <= 1) || (x[i] >= (doc_width - 20)) || (y[i] >= (doc_height - 20))) {
makeRain();
doc_width = document.body.clientWidth;
doc_height = document.body.clientHeight;
}
document.all["dot"+i].style.pixelTop = y[i];
document.all["dot"+i].style.pixelLeft = x[i];
}
setTimeout("raindropIE()", speed);
}
if (ns4up) {
raindropNS();
}
else
if (ie4up) {
raindropIE();
}
// End -->
</script>
Macie tu skrypt na tłumacza Alabetu Morss'a
Kod:
<script>
function clearing()
{
window.document.morse.output.value = " ";
}
function transform()
{
var zeichen = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ", i, d, f;
var eingabe = window.document.morse.input;
var ausgabe = window.document.morse.output;
var laenge = eingabe.value.length;
for(i=0; i<laenge; i++)
{
i=eingabe.value.charAt(i);
if(zeichen.indexOf (i) ==-1)
{
alert("Bitte nur Buchstaben eingeben.");
break;
}
else
{
for(f=0; f<laenge; f++)
{
switch (eingabe.value.charAt(f))
{
case 'a':{ausgabe.value = ausgabe.value + " .- "; break;}
case 'b':{ausgabe.value = ausgabe.value + " -... "; break;}
case 'c':{ausgabe.value = ausgabe.value + " -.-. "; break;}
case 'd':{ausgabe.value = ausgabe.value + " -.. "; break;}
case 'e':{ausgabe.value = ausgabe.value + " . "; break;}
case 'f':{ausgabe.value = ausgabe.value + " ..-. "; break;}
case 'g':{ausgabe.value = ausgabe.value + " --. "; break;}
case 'h':{ausgabe.value = ausgabe.value + " .... "; break;}
case 'i':{ausgabe.value = ausgabe.value + " .. "; break;}
case 'j':{ausgabe.value = ausgabe.value + " .--- "; break;}
case 'k':{ausgabe.value = ausgabe.value + " -.- "; break;}
case 'l':{ausgabe.value = ausgabe.value + " .-.. "; break;}
case 'm':{ausgabe.value = ausgabe.value + " -- "; break;}
case 'n':{ausgabe.value = ausgabe.value + " -. "; break;}
case 'o':{ausgabe.value = ausgabe.value + " --- "; break;}
case 'p':{ausgabe.value = ausgabe.value + " .--. "; break;}
case 'q':{ausgabe.value = ausgabe.value + " --.- "; break;}
case 'r':{ausgabe.value = ausgabe.value + " .-. "; break;}
case 's':{ausgabe.value = ausgabe.value + " ... "; break;}
case 't':{ausgabe.value = ausgabe.value + " - "; break;}
case 'u':{ausgabe.value = ausgabe.value + " ..- "; break;}
case 'v':{ausgabe.value = ausgabe.value + " ...- "; break;}
case 'w':{ausgabe.value = ausgabe.value + " .-- "; break;}
case 'x':{ausgabe.value = ausgabe.value + " -..- "; break;}
case 'y':{ausgabe.value = ausgabe.value + " -.-- "; break;}
case 'z':{ausgabe.value = ausgabe.value + " --.. "; break;}
}
}
}
}
}
-->
</script><form name="morse">
<input type="Text" name="input" value="" size="40" maxlength="1000" onKeyDown="clearing(); transform();"><br>
<textarea name="output" cols="30" rows="5"></textarea><br>
<input type="button" value="przetłumacz" onClick="clearing(); transform();">
<input type="reset" value="wyczyść">
</form>
<table>
<tr><td>a</td><td>.-</td></tr>
<tr><td>b</td><td>-...</td></tr>
<tr><td>c</td><td>-.-.</td></tr>
<tr><td>d</td><td>-..</td></tr>
<tr><td>e</td><td>.</td></tr>
<tr><td>f</td><td>..-.</td></tr>
<tr><td>g</td><td>--.</td></tr>
<tr><td>h</td><td>....</td></tr>
<tr><td>i</td><td>..</td></tr>
<tr><td>j</td><td>.---</td></tr>
<tr><td>k</td><td>-.-</td></tr>
<tr><td>l</td><td>.-..</td></tr>
<tr><td>m</td><td>--</td></tr>
<tr><td>n</td><td>-.</td></tr>
<tr><td>o</td><td>---</td></tr>
<tr><td>p</td><td>.--.</td></tr>
<tr><td>q</td><td>--.-</td></tr>
<tr><td>r</td><td>.-.</td></tr>
<tr><td>s</td><td>...</td></tr>
<tr><td>t</td><td>-</td></tr>
<tr><td>u</td><td>..-</td></tr>
<tr><td>v</td><td>...-</td></tr>
<tr><td>w</td><td>.--</td></tr>
<tr><td>x</td><td>-..-</td></tr>
<tr><td>y</td><td>-.--</td></tr>
<tr><td>z</td><td>--..</td></tr>
</table>
skrypt na pożegnanie
Kod:
<body OnUnLoad="alert('tu wpisujesz pożegnanie!\n');">
a to skrypt na trzęsące się litery:
Kod:
<style>
.jc{
position:relative;
}
</style>
<script language="JavaScript1.2">
//Trembling message script- Š Dynamic Drive (www.dynamicdrive.com)
//For full source code, 100's more DHTML scripts, and TOS,
//visit [link widoczny dla zalogowanych]
var ns6=document.getElementById&&!document.all
var ie=document.all
var customcollect=new Array()
var i=0
function jiggleit(num){
if ((!document.all&&!document.getElementById)) return;
customcollect[num].style.left=(parseInt(customcollect[num].style.left)==-1)? customcollect[num].style.left=1 : customcollect[num].style.left=-1
}
function init(){
if (ie){
while (eval("document.all.jiggle"+i)!=null){
customcollect[i]= eval("document.all.jiggle"+i)
i++
}
}
else if (ns6){
while (document.getElementById("jiggle"+i)!=null){
customcollect[i]= document.getElementById("jiggle"+i)
i++
}
}
if (customcollect.length==1)
setInterval("jiggleit(0)",80)
else if (customcollect.length>1)
for (y=0;y<customcollect.length;y++){
var tempvariable='setInterval("jiggleit('+y+')",'+'100)'
eval(tempvariable)
}
}
window.onload=init
</script>
<span id="jiggle0" class="jc"><b>Tu wipisujesz tekst<a href="http://www.javaskrypt.w.szu.pl">Tu wpisujesz 1 wyraz</a></b></span>
Tu macie skrypta na orbity wokół kursora:
Kod:
<script language="JavaScript">
<!--
/*
Dancing Stars cursor (Submitted by Kurt at [link widoczny dla zalogowanych])
Modified and permission granted to Dynamic Drive to feature script in archive
For full source, usage terms, and 100's more DHTML scripts, visit [link widoczny dla zalogowanych]
*/
if (document.all){
document.write('<div id="starsDiv" style="position:absolute;top:0px;left:0px">')
for (xy=0;xy<7;xy++)
document.write('<div style="position:relative;width:3px;height:3px;background:#FFFF00;font-size:2px;visibility:visible"></div>')
document.write('</div>')
}
if (document.layers)
{window.captureEvents(Event.MOUSEMOVE);}
var yBase = 200;
var xBase = 200;
var yAmpl = 10;
var yMax = 40;
var step = .2;
var ystep = .5;
var currStep = 0;
var tAmpl=1;
var Xpos = 1;
var Ypos = 1;
var i = 0;
var j = 0;
if (document.all)
{
function MoveHandler(){
Xpos = document.body.scrollLeft+event.x;
Ypos = document.body.scrollTop+event.y;
}
document.onmousemove = MoveHandler;
}
else if (document.layers)
{
function xMoveHandler(evnt){
Xpos = evnt.pageX;
Ypos = evnt.pageY;
}
window.onMouseMove = xMoveHandler;
}
function animateLogo() {
if (document.all)
{
yBase = window.document.body.offsetHeight/4;
xBase = window.document.body.offsetWidth/4;
}
else if (document.layers)
{
yBase = window.innerHeight/4 ;
xBase = window.innerWidth/4;
}
if (document.all)
{
var totaldivs=document.all.starsDiv.all.length
for ( i = 0 ; i < totaldivs ; i++ )
{
var tempdiv=document.all.starsDiv.all[i].style
tempdiv.top = Ypos + Math.cos((20*Math.sin(currStep/20))+i*70)*yBase*(Math.sin(10+currStep/10)+0.2)*Math.cos((currStep + i*25)/10);
tempdiv.left = Xpos + Math.sin((20*Math.sin(currStep/20))+i*70)*xBase*(Math.sin(10+currStep/10)+0.2)*Math.cos((currStep + i*25)/10);
}
}
else if (document.layers)
{
for ( j = 0 ; j < 7 ; j++ )
{
var templayer="a"+j
document.layers[templayer].top = Ypos + Math.cos((20*Math.sin(currStep/20))+j*70)*yBase*(Math.sin(10+currStep/10)+0.2)*Math.cos((currStep + j*25)/10);
document.layers[templayer].left =Xpos + Math.sin((20*Math.sin(currStep/20))+j*70)*xBase*(Math.sin(10+currStep/10)+0.2)*Math.cos((currStep + j*25)/10);
}
}
currStep += step;
setTimeout("animateLogo()", 15);
}
animateLogo();
// -->
</script>
Macie tu skrypt na fajerwerki:
Kod:
<style type="text/css">
body { overflow: hidden; }
v\ { behavior: url(#default#VML); }
</style><script language="JavaScript">
colors = new Array();
// Define your own color combinations
colors[0] = new Array('yellow', 'lime');
colors[1] = new Array('silver', 'green')
colors[2] = new Array('silver', 'blue');
colors[3] = new Array('silver', 'purple');
colors[4] = new Array('purple', 'white');
colors[5] = new Array('blue', 'silver');
colors[6] = new Array('red', 'fuchsia');
colors[7] = new Array('yellow', 'red');
// Define the maximum number of fire arrows
maximum = 1000;
vmlobj='';
for(i = 0; i < 12; i++){
vmlobj += '<div id="ster'+i+'" style="position:absolute; left:-50px; top-50px; visibility:hidden; z-index:50;">';
vmlobj += '<v:shape style="width:15px; height:15px;" fillcolor="yellow" coordorigin="0,0" coordsize="200 200">';
vmlobj += '<v:path v="m 8,65 l 72,65, 92,11, 112,65, 174,65, 122,100, 142,155,92,121, 42,155, 60,100 x e"/>';
vmlobj += '<v:stroke on="false" /></v:shape></div>';
}
document.write(vmlobj); vmlobj = null;
aantal = 0;
function begin()
{
try {
if(aantal == maximum){ return;}
kleurschema = Math.floor(Math.random() * colors.length);
posLinks = Math.floor(Math.random() * (document.body.clientWidth - 180));
posLinks = (posLinks < 170)? 170: posLinks;
posBoven = Math.floor(Math.random() * (document.body.clientHeight - 180));
posBoven = (posBoven < 170)? 170: posBoven;
straal = 0; uiteen = true; teller = 1; flikkereffect = false;
for(var i = 0; i < 12; i++){
document.getElementsByTagName('shape')[i].setAttribute('fillcolor', colors[kleurschema][0]);
document.getElementById('ster'+i).style.visibility = 'hidden'; // 5.0 fix
document.getElementById('ster'+i).style.left = posLinks;
document.getElementById('ster'+i).style.top = posBoven;
}
document.getElementById('ster0').style.top = (document.body.clientHeight - 20);
document.getElementById('ster0').style.visibility = 'visible';
omhoog();
} catch(e){}
}
function omhoog()
{
try {
positie = parseInt(document.getElementById('ster0').style.top);
if(positie > posBoven){
document.getElementById('ster0').style.top = (positie - 25);
setTimeout('omhoog()', 50);
} else {
for(i = 1; i < 12; i++){
document.getElementById('ster'+i).style.top = positie;
document.getElementById('ster'+i).style.visibility = 'visible';
}
uiteenspatten();
}
} catch(e){}
}
function uiteenspatten()
{
try {
if(straal > 120 && straal % 10 == 0){
flikkereffect = true;
teller = (teller == colors[kleurschema].length)? 0: (teller+1);
}
for(var i = 0; i < 12; i++){
var hoek = i * 30;
var piHoek = Math.PI - Math.PI / 180 * hoek;
var links = posLinks + Math.round(straal * Math.sin(piHoek));
var boven = positie + Math.round(straal * Math.cos(piHoek));
document.getElementById('ster'+i).style.left = links;
document.getElementById('ster'+i).style.top = boven;
if(flikkereffect){
document.getElementsByTagName('shape')[i].setAttribute('fillcolor', colors[kleurschema][teller]);
}
}
if(straal < 160 && uiteen){
straal += (straal < 120)? 10: 5;
setTimeout('uiteenspatten()', 50);
}
else if(straal > 120){
uiteen = false; straal -= 5;
setTimeout('uiteenspatten()', 50);
}
else if(straal <= 120){
for(var i = 0; i < 12; i++){
document.getElementById('ster'+i).style.visibility = 'hidden';
}
aantal++;
setTimeout('begin()', 500);
}
} catch(e) {}
}
window.onload=begin;
</script>
Macie tu coś na shout boxa.
Kodu się nie da podać bo mielibyście moje wiadomości ale róbcie tak:
1.Wejdź na [link widoczny dla zalogowanych]
2.kilkinij Join(zarejestruj)
3.wypełnij całą rejesracje
4.kliknij login
5.zaloguj się
6. kilknij Click here to and copy and paste the 'ShoutBox / Tag Board'
7.wybierasz styl i pokazuje ci się kod
8.wklejasz go w opis jekiegoś fora i gotowe
skrypt na zegarek:
Kod:
<script language="javascript">
<!--W3e JAVAscript Preset
var timerID = null;
var timerRunning = false;
function stopclock()
{
if(timerRunning)
clearTimeout(timerID)
timerRunning = false;
}
function startclock()
{
stopclock();
showtime();
}
function showtime()
{
var now = new Date();
var hours = now.getHours();
var minutes = now.getMinutes();
var seconds = now.getSeconds();
var timeValue = "" + ((hours > 12) ? hours - 12 : hours);
timeValue += ((minutes < 10) ? ":0" : ":") + minutes;
timeValue += ((seconds < 10) ? ":0" : ":") + seconds;
timeValue += (hours >= 12) ? " P.M." : " A.M.";
document.clock.face.value = timeValue;
timerID = setTimeout("showtime()",1000);
timerRunning = true;
}
//-->
</script>
<form name="clock" onSubmit="0">
<input type="text" name="face" size="24">
</form>
<script>startclock();</script>
A to skrypt na zegar przy kursorze:
Kod:
<script language="JavaScript">dCol='000000';//date colour.
fCol='000000';//face colour.
sCol='000000';//seconds colour.
mCol='000000';//minutes colour.
hCol='000000';//hours colour.
ClockHeight=40;
ClockWidth=40;
ClockFromMouseY=0;
ClockFromMouseX=100;
//Alter nothing below! Alignments will be lost!
d=new Array("SUNDAY","MONDAY","TUESDAY","WEDNESDAY","THURSDAY","FRIDAY","SATURDAY");
m=new Array("JANUARY","FEBRUARY","MARCH","APRIL","MAY","fora","JULY","AUGUST","SEPTEMBER","OCTOBER","NOVEMBER","DECEMBER");
date=new Date();
day=date.getDate();
year=date.getYear();
if (year < 2000) year=year+1900;
TodaysDate=" "+d[date.getDay()]+" "+day+" "+m[date.getMonth()]+" "+year;
D=TodaysDate.split('');
H='...';
H=H.split('');
M='....';
M=M.split('');
S='.....';
S=S.split('');
Face='1 2 3 4 5 6 7 8 9 10 11 12';
font='Arial';
size=1;
speed=0.6;
ns=(document.layers);
ie=(document.all);
Face=Face.split(' ');
n=Face.length;
a=size*10;
ymouse=0;
xmouse=0;
scrll=0;
props="<font face="+font+" size="+size+" color="+fCol+"><B>";
props2="<font face="+font+" size="+size+" color="+dCol+"><B>";
Split=360/n;
Dsplit=360/D.length;
HandHeight=ClockHeight/4.5
HandWidth=ClockWidth/4.5
HandY=-7;
HandX=-2.5;
scrll=0;
step=0.06;
currStep=0;
y=new Array();x=new Array();Y=new Array();X=new Array();
for (i=0; i < n; i++){y[i]=0;x[i]=0;Y[i]=0;X[i]=0}
Dy=new Array();Dx=new Array();DY=new Array();DX=new Array();
for (i=0; i < D.length; i++){Dy[i]=0;Dx[i]=0;DY[i]=0;DX[i]=0}
if (ns){
for (i=0; i < D.length; i++)
document.write('<layer name="nsDate'+i+'" top=0 left=0 height='+a+' width='+a+'><center>'+props2+D[i]+'</font></center></layer>');
for (i=0; i < n; i++)
document.write('<layer name="nsFace'+i+'" top=0 left=0 height='+a+' width='+a+'><center>'+props+Face[i]+'</font></center></layer>');
for (i=0; i < S.length; i++)
document.write('<layer name=nsSeconds'+i+' top=0 left=0 width=15 height=15><font face=Arial size=3 color='+sCol+'><center><b>'+S[i]+'</b></center></font></layer>');
for (i=0; i < M.length; i++)
document.write('<layer name=nsMinutes'+i+' top=0 left=0 width=15 height=15><font face=Arial size=3 color='+mCol+'><center><b>'+M[i]+'</b></center></font></layer>');
for (i=0; i < H.length; i++)
document.write('<layer name=nsHours'+i+' top=0 left=0 width=15 height=15><font face=Arial size=3 color='+hCol+'><center><b>'+H[i]+'</b></center></font></layer>');
}
if (ie){
document.write('<div id="Od" style="position:absolute;top:0px;left:0px"><div style="position:relative">');
for (i=0; i < D.length; i++)
document.write('<div id="ieDate" style="position:absolute;top:0px;left:0;height:'+a+';width:'+a+';text-align:center">'+props2+D[i]+'</B></font></div>');
document.write('</div></div>');
document.write('<div id="Of" style="position:absolute;top:0px;left:0px"><div style="position:relative">');
for (i=0; i < n; i++)
document.write('<div id="ieFace" style="position:absolute;top:0px;left:0;height:'+a+';width:'+a+';text-align:center">'+props+Face[i]+'</B></font></div>');
document.write('</div></div>');
document.write('<div id="Oh" style="position:absolute;top:0px;left:0px"><div style="position:relative">');
for (i=0; i < H.length; i++)
document.write('<div id="ieHours" style="position:absolute;width:16px;height:16px;font-family:Arial;font-size:16px;color:'+hCol+';text-align:center;font-weight:bold">'+H[i]+'</div>');
document.write('</div></div>');
document.write('<div id="Om" style="position:absolute;top:0px;left:0px"><div style="position:relative">');
for (i=0; i < M.length; i++)
document.write('<div id="ieMinutes" style="position:absolute;width:16px;height:16px;font-family:Arial;font-size:16px;color:'+mCol+';text-align:center;font-weight:bold">'+M[i]+'</div>');
document.write('</div></div>')
document.write('<div id="Os" style="position:absolute;top:0px;left:0px"><div style="position:relative">');
for (i=0; i < S.length; i++)
document.write('<div id="ieSeconds" style="position:absolute;width:16px;height:16px;font-family:Arial;font-size:16px;color:'+sCol+';text-align:center;font-weight:bold">'+S[i]+'</div>');
document.write('</div></div>')
}
(ns)?window.captureEvents(Event.MOUSEMOVE):0;
function Mouse(evnt){
ymouse = (ns)?evnt.pageY+ClockFromMouseY-(window.pageYOffset):event.y+ClockFromMouseY;
xmouse = (ns)?evnt.pageX+ClockFromMouseX:event.x+ClockFromMouseX;
}
(ns)?window.onMouseMove=Mouse:document.onmousemove=Mouse;
function ClockAndAssign(){
time = new Date ();
secs = time.getSeconds();
sec = -1.57 + Math.PI * secs/30;
mins = time.getMinutes();
min = -1.57 + Math.PI * mins/30;
hr = time.getHours();
hrs = -1.575 + Math.PI * hr/6+Math.PI*parseInt(time.getMinutes())/360;
if (ie){
Od.style.top=window.document.body.scrollTop;
Of.style.top=window.document.body.scrollTop;
Oh.style.top=window.document.body.scrollTop;
Om.style.top=window.document.body.scrollTop;
Os.style.top=window.document.body.scrollTop;
}
for (i=0; i < n; i++){
var F=(ns)?document.layers['nsFace'+i]:ieFace[i].style;
F.top=y[i] + ClockHeight*Math.sin(-1.0471 + i*Split*Math.PI/180)+scrll;
F.left=x[i] + ClockWidth*Math.cos(-1.0471 + i*Split*Math.PI/180);
}
for (i=0; i < H.length; i++){
var HL=(ns)?document.layers['nsHours'+i]:ieHours[i].style;
HL.top=y[i]+HandY+(i*HandHeight)*Math.sin(hrs)+scrll;
HL.left=x[i]+HandX+(i*HandWidth)*Math.cos(hrs);
}
for (i=0; i < M.length; i++){
var ML=(ns)?document.layers['nsMinutes'+i]:ieMinutes[i].style;
ML.top=y[i]+HandY+(i*HandHeight)*Math.sin(min)+scrll;
ML.left=x[i]+HandX+(i*HandWidth)*Math.cos(min);
}
for (i=0; i < S.length; i++){
var SL=(ns)?document.layers['nsSeconds'+i]:ieSeconds[i].style;
SL.top=y[i]+HandY+(i*HandHeight)*Math.sin(sec)+scrll;
SL.left=x[i]+HandX+(i*HandWidth)*Math.cos(sec);
}
for (i=0; i < D.length; i++){
var DL=(ns)?document.layers['nsDate'+i]:ieDate[i].style;
DL.top=Dy[i] + ClockHeight*1.5*Math.sin(currStep+i*Dsplit*Math.PI/180)+scrll;
DL.left=Dx[i] + ClockWidth*1.5*Math.cos(currStep+i*Dsplit*Math.PI/180);
}
currStep-=step;
}
function Delay(){
scrll=(ns)?window.pageYOffset:0;
Dy[0]=Math.round(DY[0]+=((ymouse)-DY[0])*speed);
Dx[0]=Math.round(DX[0]+=((xmouse)-DX[0])*speed);
for (i=1; i < D.length; i++){
Dy[i]=Math.round(DY[i]+=(Dy[i-1]-DY[i])*speed);
Dx[i]=Math.round(DX[i]+=(Dx[i-1]-DX[i])*speed);
}
y[0]=Math.round(Y[0]+=((ymouse)-Y[0])*speed);
x[0]=Math.round(X[0]+=((xmouse)-X[0])*speed);
for (i=1; i < n; i++){
y[i]=Math.round(Y[i]+=(y[i-1]-Y[i])*speed);
x[i]=Math.round(X[i]+=(x[i-1]-X[i])*speed);
}
ClockAndAssign();
setTimeout('Delay()',20);
}
if (ns||ie)window.onload=Delay;
</script>
Macie tu skrypt na żółte kwadraty w śniegu:
Kod:
<script type="text/javascript">
/******************************************
* Snow Effect Script- By Altan d.o.o. (http://www.altan.hr/snow/index.html)
* Visit Dynamic Drive DHTML code library (http://www.dynamicdrive.com/) for full source code
* Last updated Nov 9th, 05' by DD. This notice must stay intact for use
******************************************/
//Configure below to change URL path to the snow image
var snowsrc="http://img221.imageshack.us/img221/7159/gwiadka7ci.png"
// Configure below to change number of snow to render
var no = 10;
// Configure whether snow should disappear after x seconds (0=never):
var hidesnowtime = 0;
// Configure how much snow should drop down before fading ("windowheight" or "pageheight")
var snowdistance = "pageheight";
///////////Stop Config//////////////////////////////////
var ie4up = (document.all) ? 1 : 0;
var ns6up = (document.getElementById&&!document.all) ? 1 : 0;
function iecompattest(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}
var dx, xp, yp; // coordinate and position variables
var am, stx, sty; // amplitude and step variables
var i, doc_width = 800, doc_height = 600;
if (ns6up) {
doc_width = self.innerWidth;
doc_height = self.innerHeight;
} else if (ie4up) {
doc_width = iecompattest().clientWidth;
doc_height = iecompattest().clientHeight;
}
dx = new Array();
xp = new Array();
yp = new Array();
am = new Array();
stx = new Array();
sty = new Array();
snowsrc=(snowsrc.indexOf("dynamicdrive.com")!=-1)? "snow.gif" : snowsrc
for (i = 0; i < no; ++ i) {
dx[i] = 0; // set coordinate variables
xp[i] = Math.random()*(doc_width-50); // set position variables
yp[i] = Math.random()*doc_height;
am[i] = Math.random()*20; // set amplitude variables
stx[i] = 0.02 + Math.random()/10; // set step variables
sty[i] = 0.7 + Math.random(); // set step variables
if (ie4up||ns6up) {
if (i == 0) {
document.write("<div id=\"dot"+ i +"\" style=\"POSITION: absolute; Z-INDEX: "+ i +"; VISIBILITY: visible; TOP: 15px; LEFT: 15px;\"><a href=\"http://dynamicdrive.com\"><img src='"+snowsrc+"' border=\"0\"><\/a><\/div>");
} else {
document.write("<div id=\"dot"+ i +"\" style=\"POSITION: absolute; Z-INDEX: "+ i +"; VISIBILITY: visible; TOP: 15px; LEFT: 15px;\"><img src='"+snowsrc+"' border=\"0\"><\/div>");
}
}
}
function snowIE_NS6() { // IE and NS6 main animation function
doc_width = ns6up?window.innerWidth-10 : iecompattest().clientWidth-10;
doc_height=(window.innerHeight && snowdistance=="windowheight")? window.innerHeight : (ie4up && snowdistance=="windowheight")? iecompattest().clientHeight : (ie4up && !window.opera && snowdistance=="pageheight")? iecompattest().scrollHeight : iecompattest().offsetHeight;
for (i = 0; i < no; ++ i) { // iterate for every dot
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();
}
dx[i] += stx[i];
document.getElementById("dot"+i).style.top=yp[i]+"px";
document.getElementById("dot"+i).style.left=xp[i] + am[i]*Math.sin(dx[i])+"px";
}
snowtimer=setTimeout("snowIE_NS6()", 10);
}
function hidesnow(){
if (window.snowtimer) clearTimeout(snowtimer)
for (i=0; i<no; i++) document.getElementById("dot"+i).style.visibility="hidden"
}
if (ie4up||ns6up){
snowIE_NS6();
if (hidesnowtime>0)
setTimeout("hidesnow()", hidesnowtime*1000)
}
</script>
A tutaj jest skrypt na imageshack na waszym forum:
Kod:
<iframe src="http://imageshack.us/iframe.php?txtcolor=111111&type=blank&size=30" scrolling="no" allowtransparency="true" frameborder="0" width="320" height="110">Update your browser for ImageShack.us!</iframe>
<SCRIPT language=JavaScript1.2 type=text/javascript>
MN="";i=0;k=1;Na=new Array;
Na[1]="www.komputermojswiat.fora.pl";Na[2]="...:::Zapraszam:::...";
function WEBS()
{
setTimeout("",3000);
window.top.document.title=" "+MN+" <";
MN+=Na[k].charAt(i);
if (i==Na[k].length)
{
MN="";i=0;
if (k==Na.length-1) k=1
else k++; setTimeout("WEBS()",3000);
}
else {setTimeout("WEBS()",150);i++;}
}
WEBS();
</SCRIPT>
A tu macie skrypt na wyszukiwarkę na forum:
Kod:
<script type="text/javascript" src="http://www.darmowe-liczniki.com/usluga.dodatek.1487"></script>
to skrypt na kółko i krzyżyk:
Kod:
<SCRIPT language=JavaScript>
<!--
step = 0;
diff=3;
function clear_all(form) {
step = 0;
for (i=0;i<9; ++i) {
position="a"+i;
form[position].value="";
}
}
function clickit(field) {
if (step == -1) {alert("Wciśnij reset, aby zagrać ponownie"); return;}
position=field.name.substring(1,2,1);
position = 'a'+position;
if (field.form[position].value !="") {alert("Ruch niedozwolny"); return;}
field.form[position].value="X";
if (eval_pos(field.form)) {
field.form.output.value="Wygrałeś!";
step = -1;
return;
}
position=get_move(field.form);
field.form.output.value=' ' + position.substring(1,2,1);
if (position=="") {
field.form.output.value="Niema zwycięscy.";
step = -1;
return;
}
field.form[position].value="O";
if (eval_pos(field.form)) {
field.form.output.value="Przegrałeś;!";
step = -1;
}
}
function eval_pos(form) {
if ((form.a0.value!="" &&
form.a0.value==form.a3.value && form.a0.value==form.a6.value)||
(form.a0.value!="" && form.a0.value==form.a1.value && form.a0.value==form.a2.value) || (form.a0.value!="" && form.a0.value==form.a4.value && form.a0.value==form.a8.value) ||
(form.a1.value!="" && form.a1.value==form.a4.value && form.a1.value==form.a7.value) || (form.a2.value!=""
&& form.a2.value==form.a5.value && form.a2.value==form.a8.value) ||
(form.a2.value!="" && form.a2.value==form.a4.value && form.a2.value==form.a6.value) || (form.a3.value!=""
&& form.a3.value==form.a4.value && form.a3.value==form.a5.value) ||
(form.a6.value!="" && form.a6.value==form.a7.value && form.a6.value==form.a8.value))
return true;
else
return false;
}
function f(a) {
if (a == "") return "."; else return a;
}
function comp_move(form,player,weight,depth) {
var cost;
var bestcost=-2;
var position;
var newplayer;
if (player=="X") newplayer="O"; else newplayer="X";
if (depth==diff) return 0;
if (eval_pos(form)) return 1;
for (var i=0; i<9; ++i) {
position='a'+i;
if (form[position].value != "")
continue;
form[position].value=player;
cost = comp_move(form,newplayer, -weight, depth+1);
if (cost > bestcost) {
bestcost=cost;
if (cost==1) i=9;
}
form[position].value="";
}
if (bestcost==-2) bestcost=0;
return(-bestcost);
}
function get_move(form) {
var cost;
var bestcost=-2;
bestmove="";
if (step++ == 0)
if (form.a4.value=="")
return "a4";
else
if (form.a0.value=="")
return "a0";
for (var i=0; i<9; ++i) {
localposition='a'+i;
if (form[localposition].value != "")
continue;
form[localposition].value="O";
cost=comp_move(form,"X", -1, 0);
if (cost > bestcost) {
if (cost==1) i=9;
bestmove=localposition;
bestcost=cost;
}
form[localposition].value="";
}
return bestmove;
}
function complain(field) {
field.form.output.focus();
alert("Ruch niedozwolony!");
}
// -->
</SCRIPT><center>
<p align="center"><b>KÓŁKO i KRZYŻYK</b>
<br>
<br>
<FORM>
<DIV align=center>
<CENTER>
<P><INPUT name=a0 onfocus=complain(this) size=1> <INPUT name=b0 onclick=clickit(this) type=button> <INPUT name=a1
onfocus=complain(this) size=1> <INPUT name=b1 onclick=clickit(this) type=button> <INPUT name=a2
onfocus=complain(this) size=1> <INPUT name=b2 onclick=clickit(this) type=button> <BR><INPUT name=a3
onfocus=complain(this) size=1> <INPUT name=b3 onclick=clickit(this) type=button> <INPUT name=a4
onfocus=complain(this) size=1> <INPUT name=b4 onclick=clickit(this) type=button> <INPUT name=a5
onfocus=complain(this) size=1> <INPUT name=b5 onclick=clickit(this) type=button> <BR><INPUT name=a6
onfocus=complain(this) size=1> <INPUT name=b6 onclick=clickit(this) type=button> <INPUT name=a7
onfocus=complain(this) size=1> <INPUT name=b7 onclick=clickit(this) type=button> <INPUT name=a8
onfocus=complain(this) size=1> <INPUT name=b8 onclick=clickit(this) type=button> <BR><BR><BR>
<FONT size=3>
Komunikat:
<INPUT name=output><BR><BR>Stopień trudności: <SELECT name=difficulty
onchange=diff=form.difficulty[form.difficulty.selectedIndex].value;
size=1> <OPTION value=1>Very Easy</OPTION> <OPTION value=2>Easy</OPTION>
<OPTION selected value=3>Medium</OPTION> <OPTION
value=4>Hard</OPTION></SELECT> <BR><INPUT onclick="
if (!step++) this.form.a4.value='O';" type=button value="Computer wykonuje ruch jako pierwszy">
<BR><INPUT onclick=clear_all(this.form) type=reset value=Restart>
</font>
</P></CENTER></DIV></FORM>
a tu daje skrypt na bąbelki:
Kod:
<script language="JavaScript1.2">
<!-- Begin
//Bubble Script by Lisa (issa@lissaexplains.com, [link widoczny dla zalogowanych])
//Based on code by Altan d.o.o. (snow@altan.hr)
//For full source code and installation instructions to this script, visit [link widoczny dla zalogowanych]
var no = 15; // image number or falling rate
var speed = 2; // the lower the number the faster the image moves
var snow = new Array();
snow[0] = "bubble.gif"
snow[1] = "bubble.gif"
snow[2] = "bubble.gif"
var ns4up = (document.layers) ? 1 : 0; // browser sniffer
var ie4up = (document.all) ? 1 : 0;
var ns6up = (document.getElementById&&!document.all) ? 1 : 0;
var dx, xp, yp; // coordinate and position variables
var am, stx, sty; // amplitude and step variables
var i, doc_width = 800, doc_height = 1800;
if (ns4up||ns6up) {
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();
j = 0;
for (i = 0; i < no; ++ i) {
dx[i] = 0; // set coordinate variables
xp[i] = Math.random()*(doc_width-50); // set position variables
yp[i] = Math.random()*doc_height;
am[i] = Math.random()*20; // set amplitude variables
stx[i] = 0.02 + Math.random()/10; // set step variables
sty[i] = 0.7 + Math.random(); // set step variables
if (ns4up) { // set layers
if (i == 0) {
document.write("<layer name=\"dot"+ i +"\" left=\"15\" top=\"15\" visibility=\"show\"><img src=\""+ snow[j] + "\" border=\"0\"></layer>");
} else {
document.write("<layer name=\"dot"+ i +"\" left=\"15\" top=\"15\" visibility=\"show\"><img src=\""+ snow[j] + "\" border=\"0\"></layer>");
} } else if (ie4up||ns6up) { if (i == 0)
{
document.write("<div id=\"dot"+ i +"\" style=\"POSITION: absolute; Z-INDEX: "+ i +"VISIBILITY: visible; TOP: 15px; LEFT: 15px; width:1;\"><img src=\"" + snow[j] + "\" border=\"0\"></div>");
} else {
document.write("<div id=\"dot"+ i +"\" style=\"POSITION: absolute; Z-INDEX: "+ i +"VISIBILITY: visible; TOP: 15px; LEFT: 15px; width:1;\"><img src=\"" + snow[j] + "\" border=\"0\"></div>");
}
}
if (j == (snow.length-1)) { j = 0; } else { j += 1; }
}
function snowNS() { // Netscape main animation function
for (i = 0; i < no; ++ i) { // iterate for every dot
yp[i] -= sty[i]; if (yp[i] < -50) {
xp[i] = Math.random()*(doc_width-am[i]-30);
yp[i] = doc_height;
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]+pageYOffset;
document.layers["dot"+i].left = xp[i] +
am[i]*Math.sin(dx[i]);
}
setTimeout("snowNS()", speed);
}
function snowIE_NS6() { // IE main animation function
for (i = 0; i < no; ++ i) { // iterate for every dot
yp[i] -= sty[i];
if (yp[i] < -50) {
xp[i] = Math.random()*(doc_width-am[i]-30);
yp[i] = doc_height;
stx[i] = 0.02 + Math.random()/10;
sty[i] = 0.7 + Math.random();
doc_width = ns6up?window.innerWidth-5:document.body.clientWidth;
doc_height = ns6up?window.innerHeight-5:document.body.clientHeight;
}
dx[i] += stx[i];
if (ie4up){
document.all["dot"+i].style.pixelTop = yp[i]+document.body.scrollTop;
document.all["dot"+i].style.pixelLeft = xp[i] + am[i]*Math.sin(dx[i]);
}
else if (ns6up){
document.getElementById("dot"+i).style.top=yp[i]+pageYOffset;
document.getElementById("dot"+i).style.left=xp[i] + am[i]*Math.sin(dx[i]);
}
}
setTimeout("snowIE_NS6()", speed);
}
if (ns4up) {
snowNS();
} else if (ie4up||ns6up) {
snowIE_NS6();
}
// End -->
</script>
a tu macie coś na jesień:
Kod:
<script language="JavaScript1.2">
//Autumn leaves- by Kurt Grigg (kurt.grigg@virgin.net)
//Modified by Dynamic Drive for NS6 functionality
//visit [link widoczny dla zalogowanych] for this script
//Pre-load your image below!
grphcs=new Array(6)
Image0=new Image();
Image0.src=grphcs[0]="al.gif";
Image1=new Image();
Image1.src=grphcs[1]="bl.gif"
Image2=new Image();
Image2.src=grphcs[2]="cl.gif"
Image3=new Image();
Image3.src=grphcs[3]="dl.gif"
Image4=new Image();
Image4.src=grphcs[4]="el.gif"
Image5=new Image();
Image5.src=grphcs[5]="fl.gif"
Amount=8; //Smoothness depends on image file size, the smaller the size the more you can use!
Ypos=new Array();
Xpos=new Array();
Speed=new Array();
Step=new Array();
Cstep=new Array();
ns=(document.layers)?1:0;
ns6=(document.getElementById&&!document.all)?1:0;
if (ns){
for (i = 0; i < Amount; i++){
var P=Math.floor(Math.random()*grphcs.length);
rndPic=grphcs[P];
document.write("<LAYER NAME='sn"+i+"' LEFT=0 TOP=0><img src="+rndPic+"></LAYER>");
}
}
else{
document.write('<div style="position:absolute;top:0px;left:0px"><div style="position:relative">');
for (i = 0; i < Amount; i++){
var P=Math.floor(Math.random()*grphcs.length);
rndPic=grphcs[P];
document.write('<img id="si'+i+'" src="'+rndPic+'" style="position:absolute;top:0px;left:0px">');
}
document.write('</div></div>');
}
WinHeight=(ns||ns6)?window.innerHeight:window.document.body.clientHeight;
WinWidth=(ns||ns6)?window.innerWidth-70:window.document.body.clientWidth;
for (i=0; i < Amount; i++){
Ypos[i] = Math.round(Math.random()*WinHeight);
Xpos[i] = Math.round(Math.random()*WinWidth);
Speed[i]= Math.random()*5+3;
Cstep[i]=0;
Step[i]=Math.random()*0.1+0.05;
}
function fall(){
var WinHeight=(ns||ns6)?window.innerHeight:window.document.body.clientHeight;
var WinWidth=(ns||ns6)?window.innerWidth-70:window.document.body.clientWidth;
var hscrll=(ns||ns6)?window.pageYOffset:document.body.scrollTop;
var wscrll=(ns||ns6)?window.pageXOffset:document.body.scrollLeft;
for (i=0; i < Amount; i++){
sy = Speed[i]*Math.sin(90*Math.PI/180);
sx = Speed[i]*Math.cos(Cstep[i]);
Ypos[i]+=sy;
Xpos[i]+=sx;
if (Ypos[i] > WinHeight){
Ypos[i]=-60;
Xpos[i]=Math.round(Math.random()*WinWidth);
Speed[i]=Math.random()*5+3;
}
if (ns){
document.layers['sn'+i].left=Xpos[i];
document.layers['sn'+i].top=Ypos[i]+hscrll;
}
else if (ns6){
document.getElementById("si"+i).style.left=Math.min(WinWidth,Xpos[i]);
document.getElementById("si"+i).style.top=Ypos[i]+hscrll;
}
else{
eval("document.all.si"+i).style.left=Xpos[i];
eval("document.all.si"+i).style.top=Ypos[i]+hscrll;
}
Cstep[i]+=Step[i];
}
setTimeout('fall()',20);
}
window.onload=fall
//-->
</script>
O proszę to jest skrypt na neona:
Kod:
<h2>
<script language="JavaScript1.2">
/*
Neon Lights Text
By JavaScript Kit (http://javascriptkit.com)
For this script, TOS, and 100s more DHTML scripts,
Visit [link widoczny dla zalogowanych]
*/
var message="Tu wpisujesz tekst"
var neonbasecolor="kolor 1(po ang.)"
var neontextcolor="kolor 2(po ang.)"
var flashspeed=100 //in milliseconds
///No need to edit below this line/////
var n=0
if (document.all||document.getElementById){
document.write('<font color="'+neonbasecolor+'">')
for (m=0;m<message.length;m++)
document.write('<span id="neonlight'+m+'">'+message.charAt(m)+'</span>')
document.write('</font>')
}
else
document.write(message)
function crossref(number){
var crossobj=document.all? eval("document.all.neonlight"+number) : document.getElementById("neonlight"+number)
return crossobj
}
function neon(){
//Change all letters to base color
if (n==0){
for (m=0;m<message.length;m++)
//eval("document.all.neonlight"+m).style.color=neonbasecolor
crossref(m).style.color=neonbasecolor
}
//cycle through and change individual letters to neon color
crossref(n).style.color=neontextcolor
if (n<message.length-1)
n++
else{
n=0
clearInterval(flashing)
setTimeout("beginneon()",1500)
return
}
}
function beginneon(){
if (document.all||document.getElementById)
flashing=setInterval("neon()",flashspeed)
}
beginneon()
</script>
</h2>
Tu skrypt na płonący tekst
Kod:
<style>
<!--
#glowtext{
filter:glow(color=#FCBF32,strength=6;
width:100%;
}
-->
</style>
<script language="JavaScript1.2">
function glowit(which){
if (document.all.glowtext[which].filters[0].strength==3)
document.all.glowtext[which].filters[0].strength=2
else
document.all.glowtext[which].filters[0].strength=3
}
function glowit2(which){
if (document.all.glowtext.filters[0].strength==3)
document.all.glowtext.filters[0].strength=2
else
document.all.glowtext.filters[0].strength=3
}
function startglowing(){
if (document.all.glowtext&&glowtext.length){
for (i=0;i<glowtext.length;i++)
eval('setInterval("glowit('+i+')",150)')
}
else if (glowtext)
setInterval("glowit2(0)",150)
}
if (document.all)
window.onload=startglowing
</script>
<span id="glowtext">WASZ _TEKST</span>
Muzyka:
Kod:
<bgsound src="adres_pliku" loop="0">
A tu macie skrypt na GG:
Kod:
<a href=http://gg.wha.la/TWÓJ NUMER"><img src="http://www.gadu-gadu.pl/users/status.asp?id=TWOJ_NUMER&styl=1"></a>
<script language="JavaScript">
/* Java Script Site
[link widoczny dla zalogowanych]
skrypty JavaScript, php
oraz aplety Javy */
<!--
OnLoad=timerONE=window.setTimeout('ScrollText(100)',100)
function ScrollText(seed)
{
var msg = "MiLo Ze WpAdLeS EhKm..WpIsZ sIe PrZyOkAzJi dO KsIeGi i sKoMeNtUj cOs ZgOrY TxH ";
var out = " ";
var c = 1;
if (seed > 100)
{
seed--;
var cmd="ScrollText(" + seed + ")";
timerTwo=window.setTimeout(cmd,100);
}
else if (seed <= 100 && seed > 0)
{
for (c=0 ; c < seed ; c++)
{
out+=" ";
}
out+=msg;
seed--;
var cmd="ScrollText(" + seed + ")";
window.status=out;
timerTwo=window.setTimeout(cmd,100);
}
else if (seed <= 0)
{
if (-seed < msg.length)
{
out+=msg.substring(-seed,msg.length);
seed--;
var cmd="ScrollText(" + seed + ")";
window.status=out;
timerTwo=window.setTimeout(cmd,100);
}
else
{
window.status=" ";
timerTwo=window.setTimeout("ScrollText(100)",75);
}
}
}
[link widoczny dla zalogowanych]
</script>
Post został pochwalony 0 razy
|
|
Powrót do góry |
|
|
Ari
Maniak postów
Dołączył: 11 Paź 2005
Posty: 131
Przeczytał: 0 tematów
Ostrzeżeń: 3/5 Skąd: Z miasta
|
Wysłany: Sob 18:44, 24 Cze 2006 Temat postu: |
|
|
to jest kopia pierwszej strony, bez sęsu
Nie opłacało by sie zrobić coś w stylu: "Zajżyj tu"
Post został pochwalony 0 razy
|
|
Powrót do góry |
|
|
Kropek91
Maniak postów
Dołączył: 28 Maj 2006
Posty: 125
Przeczytał: 0 tematów
Ostrzeżeń: 4/5 Skąd: http://www.swiatity.fora.pl
|
Wysłany: Sob 22:53, 24 Cze 2006 Temat postu: |
|
|
Skryp na zegar przy kursorze mi nie dziala szkoda
Post został pochwalony 0 razy
|
|
Powrót do góry |
|
|
j0zek
Taki se gostek
Dołączył: 07 Lip 2006
Posty: 17
Przeczytał: 0 tematów
Ostrzeżeń: 0/5 Skąd: Leszno
|
Wysłany: Sob 10:34, 08 Lip 2006 Temat postu: |
|
|
ja mam takie pytanko moze to sie wydac smieszne ale gdzie te skrypty trzeba dokladnie wkleic??
Post został pochwalony 0 razy
|
|
Powrót do góry |
|
|
Mycha94
Nowicjusz
Dołączył: 18 Cze 2006
Posty: 31
Przeczytał: 0 tematów
Ostrzeżeń: 2/5 Skąd: Zabrze
|
Wysłany: Sob 14:01, 08 Lip 2006 Temat postu: |
|
|
j0zek napisał: | ja mam takie pytanko moze to sie wydac smieszne ale gdzie te skrypty trzeba dokladnie wkleic?? |
Przecież już kilka razy było mówione, że w opis forum...
Post został pochwalony 0 razy
|
|
Powrót do góry |
|
|
|
Nie możesz pisać nowych tematów Nie możesz odpowiadać w tematach Nie możesz zmieniać swoich postów Nie możesz usuwać swoich postów Nie możesz głosować w ankietach
|
|