Skocz do zawartości
L4Y Â?

Kilka Skryptów

Rekomendowane odpowiedzi

Tęczowy napis

 

 

<b>
<font size="5">
<script>



// ********** MAKE YOUR CHANGES HERE

var text="TÄ?CZOWY NAPIS" // YOUR TEXT
var speed=80 // SPEED OF FADE

// ********** LEAVE THE NEXT BIT ALONE!


if (document.all||document.getElementById){
document.write('<span id="highlight">' + text + '</span>')
var storetext=document.getElementById? document.getElementById("highlight") : document.all.highlight
}
else
document.write(text)
var hex=new Array("00","14","28","3C","50","64","78","8C","A0","B4","C8","DC","F0")
var r=1
var g=1
var b=1
var seq=1
function changetext(){
rainbow="#"+hex[r]+hex[g]+hex[b]
storetext.style.color=rainbow
}
function change(){
if (seq==6){
b--
if (b==0)
seq=1
}
if (seq==5){
r++
if (r==12)
seq=6
}
if (seq==4){
g--
if (g==0)
seq=5
}
if (seq==3){
b++
if (b==12)
seq=4
}
if (seq==2){
r--
if (r==0)
seq=3
}
if (seq==1){
g++
if (g==12)
seq=2
}
changetext()
}
function starteffect(){
if (document.all||document.getElementById)
flash=setInterval("change()",speed)
}
starteffect()
</script>
</font></b>


 

 

 

Licznik odwiedzin[/b]

 

<style>
.counter{
background-color:black;
color:yellow;
font-weight:bold;
}
</style>

<script>

//Personal Counter- by Jaafar Bin Yusof, Singapore ([email protected])
//Modified by JavaScript Kit (http://javascriptkit.com)
//Visit [url="http://javascriptkit.com"]http://javascriptkit.com[/url] for this script

expireDate = new Date
expireDate.setMonth(expireDate.getMonth()+6)
jcount = eval(cookieVal("jaafarCounter"))
jcount++
document.cookie = "jaafarCounter="+jcount+";expires=" + expireDate.toGMTString()

function cookieVal(cookieName) {
thisCookie = document.cookie.split("; ")
for (i=0; i<thisCookie.length; i++){
if (cookieName == thisCookie[i].split("=")[0]){
	return thisCookie[i].split("=")[1]
}
}
return 0
}

function page_counter(){
for (i=0;i<(7-jcount.toString().length);i++)
document.write('<span class="counter">0</span>')
for (y=0;y<(jcount.toString().length);y++)
document.write('<span class="counter">'+jcount.toString().charAt(y)+'</span>')
}

</SCRIPT>

You have visited this page 
<script>
page_counter(jcount);
</SCRIPT>
times.

 

 

Text za kursorem

 

<STYLE>
.litera {POSITION:Absolute; VISIBILITY:Visible; TOP:-10px; FONT-SIZE:10pt; FONT-FAMILY:Curier; FONT-WEIGHT:Bold; COLOR:Orange}
</STYLE>
<script LANGUAGE="JavaScript">
onload=Pozycja;

if (document.layers) document.captureEvents(Event.MOUSEMOVE);
document.onmousemove=Ruch;
function Ruch(e){
x = (document.layers) ? e.pageX : document.body.scrollLeft+event.clientX;
y = (document.layers) ? e.pageY : document.body.scrollTop+event.clientY;
raz=1;
}

var x,y;
szer=12;
raz=10;

Napis="TEXT ZA KURSOREM";
Napis=Napis.split("");

xpos=new Array();
ypos=new Array();
for (i=0;i<=Napis.length;i++) xpos[i]=0;
for (i=0;i<=Napis.length;i++) ypos[i]=-30;


function Pozycja() {
if (raz==1) {
for (i=Napis.length; i>=1; i--) {
 xpos[i]=xpos[i-1]+szer;
 ypos[i]=ypos[i-1];
}
xpos[0]=x+szer;
ypos[0]=y;

for (i=0; i<Napis.length; i++) {
 if (document.all) {
  thisSpan=eval("span"+(i)+".style");
  thisSpan.posLeft=xpos[i];
  thisSpan.posTop=ypos[i];
  }
 if (document.layers) {
  thisSpan=eval("document.span"+i);
  thisSpan.left=xpos[i];
  thisSpan.top=ypos[i];
  }
}
}

setTimeout("Pozycja()",20)
}


for (i=0;i<=Napis.length-1;i++) document.write("<DIV ID=\"span"+i+"\" CLASS=\"litera\">"+Napis[i]+"</DIV>");
</SCRIPT>
</head>

 

 

Pokazuje ile czasu jesteś na stronie

 

0ba1431e9a16a9b5.png
<--KOD-->
<body onLoad="window.setTimeout('getSecs()',1)">

<script>


startday = new Date();
clockStart = startday.getTime();
function initStopwatch()
{
var myTime = new Date();
       var timeNow = myTime.getTime();
       var timeDiff = timeNow - clockStart;
       this.diffSecs = timeDiff/1000;
       return(this.diffSecs);
}
function getSecs()
{
       var mySecs = initStopwatch();
       var mySecs1 = ""+mySecs;
       mySecs1= mySecs1.substring(0,mySecs1.indexOf("."));
       document.tijd.hiero.value=mySecs1
       window.setTimeout('getSecs()',1000);
       if (mySecs1==60) {alert("jeste?? tutaj ju?? 60 sekund ...") }
       if (mySecs1==333) {alert("jeste?? tutaj ju?? 333 sekundy...") }
       if (mySecs1==666) {alert("jeste?? tutaj ju?? 666 sekund ...") }
       if (mySecs1==999) {alert("CiÄ?gle jeste?? zainteresowany tÄ? stronÄ?; to ju?? 999 sekund...") }
}

</script>
</P>
<P><form name="tijd"><P>
<center>Jeste?? tutaj ju?? przez:
<br>
<input size=4 name=hiero>
<br>sekund.
</form>
</center>

<--KOD-->



 

 

 

UWAGA : nie zawsze chcą te skrypty działać , najlepiej działają w IE ale pod firefoxem też .


<p><p style="text-align: center"><img src="https://imageshack.com/a/img687/1275/joyride.gif" /><img src="http://imageshack.com/a/img401/5752/dsismyworld.gif" /></p></p>

Udostępnij tę odpowiedź


Odnośnik do odpowiedzi
Udostępnij na innych stronach
Gość
Dodaj odpowiedź do tematu...

×   Wklejono zawartość z formatowaniem.   Usuń formatowanie

  Dozwolonych jest tylko 75 emoji.

×   Odnośnik został automatycznie osadzony.   Przywróć wyświetlanie jako odnośnik

×   Przywrócono poprzednią zawartość.   Wyczyść edytor

×   Nie możesz bezpośrednio wkleić grafiki. Dodaj lub załącz grafiki z adresu URL.

    • 2 Posts
    • 92 Views
    • 3 Posts
    • 273 Views
    • 1 Posts
    • 276 Views
    • 2 Posts
    • 195 Views
    • 1 Posts
    • 226 Views

×
  • Dodaj nową pozycję...

Powiadomienie o plikach cookie

Korzystając z tej witryny, wyrażasz zgodę na nasze Warunki użytkowania. Regulamin