klasik scrollbara yazı yazmak

DrogbA

Forum Üyesi
Katılım
27 Ara 2020
Mesajlar
3,440
Tepkime puanı
0
Puanları
36
PHP:
<!-- TWO STEPS TO INSTALL CLASSIC SCROLL:

 
1. Paste the coding into the HEAD of your HTML document

2. Copy the onLoad event handler into the BODY tag -->

 
<!-- STEP ONE: Copy this code into the HEAD of your HTML document -->

 
<HEAD>

 
<SCRIPT LANGUAGE="JavaScript">

 
<! >

<! >

 
<!-- Begin

function scrollit(seed) {

var m1 = "Welcome to JavaScript Source Code 3000! ";

var m2 = "..... You can find all the scripts you need here! ";

var m3 = "......Enjoy ";

var m4 = "";

var msg=m1+m2+m3+m4;

var out = " ";

var c = 1;

if (seed > 100) {

seed--;

cmd="scrollit("+seed+")";

timerTwo=window.setTimeout(cmd,100);

}

else if (seed <= 100 && seed > 0) {

for (c=0 ; c < seed ; c++) {

out+=" ";

}

out+=msg;

seed--;

window.status=out;

cmd="scrollit("+seed+")";

timerTwo=window.setTimeout(cmd,100);

}

else if (seed <= 0) {

if (-seed < msg.length) {

out+=msg.substring(-seed,msg.length);

seed--;

window.status=out;

cmd="scrollit("+seed+")";

timerTwo=window.setTimeout(cmd,100);

}

else {

window.status=" ";

timerTwo=window.setTimeout("scrollit(100)",75);

}

}

}

// End -->

</SCRIPT>

 
<!-- STEP TWO: Add this onLoad event handler into the BODY tag -->

 
<BODY onLoad="scrollit(100)">

PHP:
<!-- TWO STEPS TO INSTALL CLASSIC SCROLL:

 
1. Paste the coding into the HEAD of your HTML document

2. Copy the onLoad event handler into the BODY tag -->

 
<!-- STEP ONE: Copy this code into the HEAD of your HTML document -->

 
<HEAD>

 
<SCRIPT LANGUAGE="JavaScript">

 
<! >

<! >

 
<!-- Begin

function scrollit(seed) {

var m1 = "Welcome to JavaScript Source Code 3000! ";

var m2 = "..... You can find all the scripts you need here! ";

var m3 = "......Enjoy ";

var m4 = "";

var msg=m1+m2+m3+m4;

var out = " ";

var c = 1;

if (seed > 100) {

seed--;

cmd="scrollit("+seed+")";

timerTwo=window.setTimeout(cmd,100);

}

else if (seed <= 100 && seed > 0) {

for (c=0 ; c < seed ; c++) {

out+=" ";

}

out+=msg;

seed--;

window.status=out;

cmd="scrollit("+seed+")";

timerTwo=window.setTimeout(cmd,100);

}

else if (seed <= 0) {

if (-seed < msg.length) {

out+=msg.substring(-seed,msg.length);

seed--;

window.status=out;

cmd="scrollit("+seed+")";

timerTwo=window.setTimeout(cmd,100);

}

else {

window.status=" ";

timerTwo=window.setTimeout("scrollit(100)",75);

}

}

}

// End -->

</SCRIPT>

 
<!-- STEP TWO: Add this onLoad event handler into the BODY tag -->

 
<BODY onLoad="scrollit(100)">
 

Peri

Co Admin
Katılım
2 May 2020
Mesajlar
4,949
Tepkime puanı
12
Puanları
36
Takım
Beşiktaş
Teşekkürler
 

Nutella

Bayan Üye
Özel Üye
Katılım
2 Ocak 2021
Mesajlar
3,559
Tepkime puanı
23
Puanları
36
Cinsiyet
  1. Bayan
Takım
Galatasaray
Paylaşım için teşekkürler.
 
metal işleme
Üst