Neon Text For Blocks In CMS


Subject: Neon Text For Blocks In CMS
i m sorry but i dunno where to post .. as php scripts and customization are closed for post for us

so first demonstration of neon text (its not in icy forum but work in CMS block text html)

http://free-ri.t-com.hr/borg/

Code: [Download] [Hide] [Select]
<h1>
<script language="JavaScript1.2">

/*
slova koja mjenjaju boju (neon text)
posjetite nas blog
(http://htmltutorijali.blogger.ba)
*/

var message="WELCOME TO ICEPHOENIX...!!!"
var neonbasecolor="green"
var neontextcolor="violet"
var flashspeed=50 //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()",0)
return
}
}

function beginneon(){
if (document.all||document.getElementById)
flashing=setInterval("neon()",flashspeed)
}
beginneon()


</script>
</h1>


this is script ..put it betwen <body>

font size - have to change <h1></h1>
text to show - var message="WELCOME TO ICEPHOENIX...!!!" so enter your text bettwen " "
colours - var neonbasecolor="green" - default font
colours - var neontextcolor="violet" - neoned font
speed - var flashspeed=50 //in milliseconds
timeout - setTimeout("beginneon()",0) so 0 no time out. example 1000 letters be stoped 1 sec and than runing again (sorry i dunno express me what i mean for this last)

hope you like it

example in my block script
Code: [Download] [Hide] [Select]
<center><body><h3>
<script language="JavaScript1.2">

/*
slova koja mjenjaju boju (neon text)
posjetite nas blog
(http://htmltutorijali.blogger.ba)
*/

var message="bla bla bla bla bla"
var neonbasecolor="yellow"
var neontextcolor="violet"
var flashspeed=50 //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>
</h3>
</body>
</center>


:wink:

Subject: Re: Neon Text For Blocks In CMS
Other time try in the Chit Chat section. :wink: .

Just moving to php scripts...

Profile PM  
Subject: Re: Neon Text For Blocks In CMS
novice programmer wrote: [View Post]
Other time try in the Chit Chat section. :wink: .

Just moving to php scripts...


sorry :mrgreen: but when i this i posted forum php scripts was closed for me...hm
even now its closed it say : "Sorry, but only moderators can post topics in this forum." :?: :wink:

onlymod

Subject: Re: Neon Text For Blocks In CMS
You have to be moderator to do it, so post it in Chit Chat (or in General Support), and we will move it.

Greets :mricy:


Page 1 of 1


  
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 0.6297s (PHP: 4% SQL: 96%)
SQL queries: 10 - Debug Off - GZIP Enabled