Followers

Tutorial | effect tulisan berlampu neon

Unknown | 10:07 | 2Comments |
Views

tuto ni di request dari Adam Faiz

mksud nya camni..


1.layout>add gadget>add html>pastekan bawah ni dlm kotak tu

<script language="JavaScript1.4">
jsver = 1.4;
var neonbasecolor="#000000" 
var neontextcolor="af0
var neontextcolor2="" 
var flashspeed=50 // kecepatan flashing dalam milliseconds
var message="Assalamualaikum.. tutorial ini dari www.tyralee.my . sila comment kalau anda berjaya . :D"
var flashingletters2=1 // bilangan huruf yg di flashing pada neontextcolor2 (0 to disable)
var flashingletters=6 // bilangan huruf yang di flashing pada neontextcolor
var flashpause=0 // pause diantara flash-cycles dalam milliseconds
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++)
crossref(m).style.color=neonbasecolor
}
//cycle through and change individual letters to neon color
crossref(n).style.color=neontextcolor
if (n>flashingletters-1) crossref(n-flashingletters).style.color=neontextcolor2
if (n>(flashingletters+flashingletters2)-1) crossref(n-flashingletters-flashingletters2).style.color=neonbasecolor
if (n<message.length-1)
n++
else{
n=0
clearInterval(flashing)
setTimeout("beginneon()",flashpause)
return
}
}
function beginneon(){
if (document.all||document.getElementById)
flashing=setInterval("neon()",flashspeed)
}
beginneon()
</script>


2. last sekali tukar warna merah ngn warna biru tu. 
  • warna merah tu tukar color lampu tu.
  • warna biru tu untuk ayat korang.

3. ok,save . 

Tyra Lee (Author)
About Guest Author:
Assalamualaikum. I'm the only author for this blog. Cik adik, cik kakak, cik abang tak kan baca je . apa pendapat korang plak? comment la sikit. Dont worry, aku open minded :D.
www.tips-fb.com

2 00 org doakan tyra sihat:

Adam Faiz said... [Reply love]

jyeah! dah jadi :D thanks

Terima Kasih kerana komen pada artikel ini ^by Cik Tyra Lee
Unknown said... [Reply love]

@Adam Faizsama2 dik :)

Terima Kasih kerana komen pada artikel ini ^by Cik Tyra Lee
Related Posts Plugin for WordPress, Blogger...

saya sayang awak

Daisypath Anniversary tickers