Solved

Have HTML page scroll endlessly

Posted on 2011-09-30
4
168 Views
Last Modified: 2012-05-12
I have an HTML page that is a table with anywhere from 30-100 rows.  The table automatically scrolls to the bottom and when it reaches the bottom it pauses and returns to the top and then scrolls again.

My question is there anyway that instead of returning to the top, is there anyway to have the page continue in a circle? So once it get to row 100 it pauses then starts to scroll up with row 1 appearing right below it.  So it would never return to the top of the page, the top of the page would load beneath the bottom of the page.  

I can't think of a single way to do this, but thought with all the cool javascript tools and scripts out there now that it might be possible.
0
Comment
Question by:kevandju
  • 2
4 Comments
 
LVL 28

Expert Comment

by:strickdd
ID: 36893403
You can use javascript to calculate when a row is no longer in the viewable portion of the page. Once it is out of site, then create a copy of it and insert it at the bottom of the table.
0
 

Author Comment

by:kevandju
ID: 36893409
Can you give me an example of this code? I have no idea on how to do this.
0
 
LVL 18

Accepted Solution

by:
nap0leon earned 500 total points
ID: 36893436
Could you use a simple "marquee" like this?
http://www.codewidgets.com/product.aspx?key=80

(you would place/create your table inside the marquee tags)
0
 

Author Closing Comment

by:kevandju
ID: 37642952
Answered the question, however I personally can't use the code as I don't have enough control over the scroll speeds using the marquee tag.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Introduction A frequently asked question goes something like this:  "I am running a long process in the background and I want to alert my client when the process finishes.  How can I send a message to the browser?"  Unfortunately, the short answer …
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now