Results 1 to 7 of 7

Thread: Neon Text Cript

  1. #1
    Join Date
    Feb 2005
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Neon Text Cript

    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?

  2. #2
    Join Date
    Oct 2004
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default answer

    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.

  3. #3
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Warning: Please include a link to the DD script in question in your post. See this thread for the proper posting format for asking a question.

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

    style="font-size: 120%"

  4. #4
    Join Date
    Feb 2005
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Still Not Working

    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/////

  5. #5
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    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

  6. #6
    Join Date
    Feb 2005
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Sorry

    Oops, sorry. I did not mean to violate any etiquette re the link to the script. Thanks for the reply.

  7. #7
    Join Date
    Feb 2005
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Thanks

    Even though I thought the warning response from you "was over the top," I still thank you for your assistance.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •