The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Html, Java, Dhtml, Xhtml

3 posters

Go down

Html, Java, Dhtml, Xhtml Empty Html, Java, Dhtml, Xhtml

Post by Master Zen-Takul March 2nd 2007, 19:39

Hello, could someone explain me how to add this to my portal i alerdy tryed but when i check the portal it dosnt work just an empty place, the script is :
<h2><script language="JavaScript1.2">

//Neon Lights Text II by G.P.F. (gpf@beta-cc.de)
//visit http://www.beta-cc.de
//Visit http://www.dynamicdrive.com for this script

var message="Plasmafire Gaming Comunity"
var neonbasecolor="gray"
var neontextcolor="blue"
var neontextcolor2="#FFFFA8"
var flashspeed=100 // speed of flashing in milliseconds
var flashingletters=3 // number of letters flashing in neontextcolor
var flashingletters2=1 // number of letters flashing in neontextcolor2 (0 to disable)
var flashpause=0 // the pause between flash-cycles 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++)
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></h2>

and the second script is
<h2>
<script language="JavaScript1.2"> /* Neon Lights Text Distributed
by Hypergurl (http://www.hypergurl.com) */ var message="Your text message
goes here!" var neonbasecolor="gray" var neontextcolor="yellow"
var flashspeed=100 //in milliseconds ///No need to edit below this line///// var
n=0 if (document.all){ document.write('<font color="'+neonbasecolor+'">')
for (m=0;m<message.length;m++) document.write('<span id="neonlight">'+message.charAt(m)+'</span>')
document.write('</font>') //cache reference to neonlight array var tempref=document.all.neonlight
} else document.write(message) function neon(){ //Change all letters to base color
if (n==0){ for (m=0;m<message.length;m++) tempref[m].style.color=neonbasecolor
} //cycle through and change individual letters to neon color tempref[n].style.color=neontextcolor
if (n<tempref.length-1) n++ else{ n=0 clearInterval(flashing) setTimeout("beginneon()",1500)
return } } function beginneon(){ if (document.all) flashing=setInterval("neon()",flashspeed)
} beginneon() </script> </h2>

Thank you for help.
avatar
Master Zen-Takul
New Member

Male Posts : 16
Reputation : 0
Language : English

http://plasmafire.rpg-board.net

Back to top Go down

Html, Java, Dhtml, Xhtml Empty Re: Html, Java, Dhtml, Xhtml

Post by Edje March 2nd 2007, 19:47

Hi,

what is the utility of these scripts ?
avatar
Edje
Guest


Back to top Go down

Html, Java, Dhtml, Xhtml Empty Re: Html, Java, Dhtml, Xhtml

Post by Master Zen-Takul March 2nd 2007, 19:49

I dont know i found it on one site
avatar
Master Zen-Takul
New Member

Male Posts : 16
Reputation : 0
Language : English

http://plasmafire.rpg-board.net

Back to top Go down

Html, Java, Dhtml, Xhtml Empty Re: Html, Java, Dhtml, Xhtml

Post by Edje March 2nd 2007, 19:54

You should know Wink
If We do not know what is the utility of these scripts, we can not know if it is possible Smile
avatar
Edje
Guest


Back to top Go down

Html, Java, Dhtml, Xhtml Empty Re: Html, Java, Dhtml, Xhtml

Post by Master Zen-Takul March 2nd 2007, 20:02

But id ont know, is there a way to find out ?
avatar
Master Zen-Takul
New Member

Male Posts : 16
Reputation : 0
Language : English

http://plasmafire.rpg-board.net

Back to top Go down

Html, Java, Dhtml, Xhtml Empty Re: Html, Java, Dhtml, Xhtml

Post by Edje March 2nd 2007, 20:04

Look on the site where you found it, maybe you can see a description of the script Smile
avatar
Edje
Guest


Back to top Go down

Html, Java, Dhtml, Xhtml Empty Re: Html, Java, Dhtml, Xhtml

Post by Master Zen-Takul March 2nd 2007, 20:25

No there is no description.
avatar
Master Zen-Takul
New Member

Male Posts : 16
Reputation : 0
Language : English

http://plasmafire.rpg-board.net

Back to top Go down

Html, Java, Dhtml, Xhtml Empty Re: Html, Java, Dhtml, Xhtml

Post by Caihlem March 2nd 2007, 20:48

Did you press Html, Java, Dhtml, Xhtml Switch_wysiwyg before instering the script?
Caihlem
Caihlem
Energetic

Male Posts : 8969
Reputation : 342
Language : English, French & Female
Location : You can't fly like the phenix

Back to top Go down

Html, Java, Dhtml, Xhtml Empty Re: Html, Java, Dhtml, Xhtml

Post by Guest March 3rd 2007, 01:43

That script will make what ever text you enter in the
var message="Plasmafire Gaming Comunity" line glow
avatar
Guest
Guest


Back to top Go down

Html, Java, Dhtml, Xhtml Empty Re: Html, Java, Dhtml, Xhtml

Post by Master Zen-Takul March 3rd 2007, 11:20

Yes i presed it, dos not work.

Could some one test this scripts on his site please ?

And then post here how he made it ?
avatar
Master Zen-Takul
New Member

Male Posts : 16
Reputation : 0
Language : English

http://plasmafire.rpg-board.net

Back to top Go down

Html, Java, Dhtml, Xhtml Empty Re: Html, Java, Dhtml, Xhtml

Post by Master Zen-Takul March 4th 2007, 09:19

Hey can someone help me there is other users you didn't deserted when they had problems with scrits...
avatar
Master Zen-Takul
New Member

Male Posts : 16
Reputation : 0
Language : English

http://plasmafire.rpg-board.net

Back to top Go down

Html, Java, Dhtml, Xhtml Empty Re: Html, Java, Dhtml, Xhtml

Post by admin** March 4th 2007, 17:37

Hello

so i test the 2 scripts and the second isn't work.

But the first script work.

Put it in your home page or in a module of portal.

Clic in [desallow HTML editor] and past the code

You will see a beautiful effect Wink
avatar
admin**
Guest


Back to top Go down

Html, Java, Dhtml, Xhtml Empty Re: Html, Java, Dhtml, Xhtml

Post by Master Zen-Takul March 7th 2007, 18:43

It still dosn't work to me, buuu !
avatar
Master Zen-Takul
New Member

Male Posts : 16
Reputation : 0
Language : English

http://plasmafire.rpg-board.net

Back to top Go down

Html, Java, Dhtml, Xhtml Empty Re: Html, Java, Dhtml, Xhtml

Post by hikki August 7th 2008, 09:30

for the script one is javascript like color flash text "Plasmafire Gaming Comunity"

and the script two is error code -.- how come javascript can mixed with html syntax?
this the error code

Code:

{ document.write('<font color="'+neonbasecolor+'">')
for (m=0;m<message.length;m++) document.write('<span id="neonlight">'+message.charAt(m)+'</span>')
document.write('</font>')
hikki
hikki
Forumember

Male Posts : 77
Reputation : 0
Language : English, Spanish, Italian, Portugesse, German, France, Russian.
Location : 77.897.945.789

http://dragondixducouran.bigforumpro.com/login.forum?connexion

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum