Results 1 to 3 of 3

Thread: Pausing up-down Message Scroller

  1. #1
    Join Date
    Apr 2005
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Pausing up-down Message Scroller

    Pausing up-down message scroller

    How can I insert colored text into the scroller after messages[0]= ? I'm trying to display the titles in color (eg, **IN MEMORIAM**). Check at this site: http://rittministries.bravehost.com/.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    To add color to the messages you can do this:
    Code:
    messages[0]='<span style="color:red">Your Message Here</span>';
    messages[1]='<span style="color:blue">Your Message Here</span>';
    instead of color names you can use hex values, ex:
    Code:
    messages[0]='<span style="color:#000000">Your Message Here</span>';
    for black. Or you can use rgb values:
    Code:
    messages[0]='<span style="color:rgb(255, 255, 255)">Your Message Here</span>';
    that one's white and will be invisible on a white background.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Apr 2005
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    thank you very much, jscheuer1.

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
  •