SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Thread: Scrolling

Hybrid View

  1. #1
    Non-Member
    Join Date
    Dec 2013
    Posts
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Scrolling

    How do I add scrolling text to my page?

  2. #2
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    23,586
    Mentioned
    411 Post(s)
    Tagged
    6 Thread(s)
    You'll need to provide more information. Web pages taller than the viewport scroll by default. Do you mean a box with content in it that scrolls?

  3. #3
    Programming Since 1978 silver trophybronze trophy felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, NSW, Australia
    Posts
    16,595
    Mentioned
    24 Post(s)
    Tagged
    1 Thread(s)
    If you mean that you want the text to move by itself then you need JavaScript for that.

    See http://www.felgall.com/jstip109.htm for a marquee script that allows you to have one or more lines of text or images continuously scrolling horizontally (with optional buttons for starting and stopping them).

    See http://www.felgall.com/jstip111.htm if you want the content to scroll up the screen instead.

    If neither of those is what you meant then you'll need to provide more information on just what it is you are looking for.
    Stephen J Chapman

    javascriptexample.net, Book Reviews, follow me on Twitter
    HTML Help, CSS Help, JavaScript Help, PHP/mySQL Help, blog
    <input name="html5" type="text" required pattern="^$">


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
  •