Results 1 to 2 of 2

Thread: Scrolling Div

  1. #1
    Join Date
    Nov 2006
    Posts
    249

    Scrolling Div

    What I basically want is a marquee ... I hear the shouting already... I have a div tag with a width of about 200px and height of about 500px. I want the text to scroll up automatically, and when it gets to the top, start from the bottom again. It would be great if there wasn't a big blank space in between when the scroll starts over. I also need it to be a div because i am loading in the content from a database.

    I know marquees are bad and everyone hates them. This is for a client which i am going to talk to about changing his idea. But now i am looking for this just because it seems so simple, but I cant find a single thing that will simply do it and be compliant.

    I don't care how this is done (html, css, javascript,php...) it just needs to work and be compliant, and simple if possible... Can this be done?

    Thanks so much.

  2. #2
    Quote Originally Posted by Magiccupcake
    What I basically want is a marquee ... I hear the shouting already... I have a div tag with a width of about 200px and height of about 500px. I want the text to scroll up automatically, and when it gets to the top, start from the bottom again. It would be great if there wasn't a big blank space in between when the scroll starts over. I also need it to be a div because i am loading in the content from a database.

    I know marquees are bad and everyone hates them. This is for a client which i am going to talk to about changing his idea. But now i am looking for this just because it seems so simple, but I cant find a single thing that will simply do it and be compliant.

    I don't care how this is done (html, css, javascript,php...) it just needs to work and be compliant, and simple if possible... Can this be done?

    Thanks so much.
    DynamicDrive(.com) has some great scrollers, here is a JS one that pauses at the top and then starts a new one, it can be set to keep scrolling and you contro lthe speed, pause time, whether it pauses or not, etc. And its CSS formatted so you can customize it for a DIV tag.

    http://dynamicdrive.com/dynamicindex2/crosstick.htm

    Alex R

Similar Threads

  1. div background image scrolling when it shouldn't
    By PaulThomas in forum Web Design, HTML Reference and CSS
    Replies: 1
    Last Post: 14 Jun 2007, 03:14 AM

Posting Permissions

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