View Full Version : Neon Text Cript

02-24-2005, 01:34 PM
I inserted script onto my web site. The font is small so I want to change the size. How do I modify the script to do this?

02-24-2005, 03:38 PM
If you send me the actual script, i can give you better answer. You should be able to go into the code of your script and edit the font size there. This should work.
For example,
<font size="2">
you should be able to change that number to make the text bigger.
Let me know if this helps.

02-24-2005, 05:05 PM

Using the <font> tag should work with most scripts, or better yet, CSS, such as:

style="font-size: 120%"

02-24-2005, 08:04 PM
Thanks for the replies but still cannot get the font larger. Here is the script that can be edited:

Neon Lights Text
By JavaScript Kit (http://javascriptkit.com)
For this script, TOS, and 100s more DHTML scripts,
Visit http://www.dynamicdrive.com

var message="Welcome!"
var neonbasecolor="red"
var neontextcolor="yellow"
var flashspeed=100 //in milliseconds

///No need to edit below this line/////

02-24-2005, 08:19 PM
Simply edit the line inside the script:

document.write('<font color="'+neonbasecolor+'" size="4">')

The size="4" attribute will enlarge the font accordingly.

p.s Again, in the future, please include a link to the script per my warning above, in this case: http://www.dynamicdrive.com/dynamicindex10/neontext.htm

02-25-2005, 03:01 AM
Oops, sorry. I did not mean to violate any etiquette re the link to the script. Thanks for the reply.

02-26-2005, 02:16 AM
Even though I thought the warning response from you "was over the top," I still thank you for your assistance.