PDA

View Full Version : HTML?



IC Growtopia
09-12-2015, 08:42 PM
I want to turn off BB code and use HTML.
I wanna use this code.
<h2><script language="JavaScript1.2">

var message="{param}"
var neonbasecolor="black"
var neontextcolor="red"
var neontextcolor2="#fb5353"
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>

Eviil
09-12-2015, 08:46 PM
Wait whaaa lol I dunt get it xD

Christopher
09-12-2015, 08:57 PM
I took a class on web design for a year and I have no idea what the heck this is.

Bejewled
09-12-2015, 09:02 PM
You can't, it's been turned off by the devs

MyLegGuy
09-12-2015, 10:36 PM
I took a class on web design for a year and I have no idea what the heck this is.

There's a good reason for that.

It's because that is javscript and not html. Whoever made this thread clearly took that code off the internet.



Found it!
http://www.myweeblytricks.com/2014/01/adding-neon-lights-text-effect-to-weebly.html

IC Growtopia
09-12-2015, 10:43 PM
There's a good reason for that.

It's because that is javscript and not html. Whoever made this thread clearly took that code off the internet.



Found it!
http://www.myweeblytricks.com/2014/01/adding-neon-lights-text-effect-to-weebly.html

Makes sense, guess the website just had a misleading title.

ElectroDream
09-12-2015, 10:46 PM
Isn't html this kind of thing? vvv


<html>
<head><title>*Insert title here*</title></head>
<p><h1>*Insert this huge title again*</h1><p>
<hr width="90%" color="Grey" size="2">
<body bgcolor="#0000FF">
<p>fwkebafdjksbqkjegbvkjweabfbewkbweakdb</p>
</body>
</html>

I'm not sure, I'm learning very basic HTML at school right now.