Results 1 to 5 of 5

Thread: scrollable text

  1. #1
    Join Date
    Aug 2004
    Posts
    2
    Rep Power
    0

    Default scrollable text

    I am developing in asp.net 2005 i need to create a scrollable text on the site this will display some calender of events i have create the rss but onable to put in on the site i am using a Masterpage am not sure what to put it in to all it to scroll autmatic

  2. #2
    Join Date
    Sep 2004
    Posts
    1,905
    Rep Power
    21

    Default

    I am thinking about using javascript

    say object "buff" has all the events in multiline text form
    object "display" is a text box on the web page that is filled with just a section from buff, example line 1-5, object "display" then is filled with a new set of lines after a time interval, such as 2-6, then 3-7 andso on
    Let's act on what we agree on now, and argue later on what we don't.
    Black men leave Barbeque alone if Barbeque don't trouble you

  3. #3
    Join Date
    Jul 2006
    Posts
    239
    Rep Power
    0

    Default

    Why not use a DIV tag for this. If you put your content in a DIV tag and set the height and width it will create a scroll bar for your text so its scrollable.

  4. #4
    Join Date
    Jul 2004
    Posts
    153
    Rep Power
    0

    Default

    thats right redbwoy, make sure to include the overflow to allow for scrolling.

  5. #5
    Join Date
    Dec 2002
    Posts
    500
    Rep Power
    0

    Default

    yeh, both of y'all correct, a div tag with height and overflow set.

    Code:
    <div style="height:30px; overflow:scroll;">content content content ...</div>
    Cultured in Aggression and Koding like a Warrior!!
    “Common sense is instinct. Enough of it is genius.” - George Bernard Shaw.
    "The significant problems we face cannot be solved by the same level of thinking that created them." - Albert Einstein

Posting Permissions

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