 |
|
|
| View previous topic :: View next topic |
| Author |
Message |
lkarelee
Joined: 02 Sep 2009 Posts: 3
|
Posted: Wed Sep 02, 2009 8:43 am Need to Auto-Refresh multiple pages |
|
|
|
We have fleet maintenance shops that display on-going work on big monitors mounted on the walls. In some our shops the work order count can exceed 100 lines - the page size is easiest to read is about 75 lines. We need to be able to have the display REFRESH to page 2 (if it exists) then after 3-4 minutes REFRESH back to page 1 and then wait another 3-4 minutes and go to page 2.
Currently the pages do REFRESH every 300 seconds using the following HTML code <meta http-equiv="refresh" content = "300"
Can we refresh to the next page then back again? |
|
sticks464

Joined: 31 Dec 2006 Posts: 2311
|
Posted: Wed Sep 02, 2009 9:06 am |
|
|
|
Yes, put a redirect/refresh statement on each page
Example: (enter on 1st page)
| Code: |
| <META http-equiv="refresh" content="300;URL=page2.html"> |
Example: (enter on page2)
| Code: |
| <META http-equiv="refresh" content="300;URL=page1.html"> |
Every 300 sec. page1 will go to page2, after 300 sec. page2 will go back to page1. |
|
PayneLess Designs

Joined: 28 Feb 2007 Posts: 3599 Location: Biloxi, MS
|
Posted: Wed Sep 02, 2009 9:12 am |
|
|
|
| As I see it, there has to be a page 2 to do it the easy way. The easy way is the normal meta refresh timed to go to the other page. Page 1 would have the refresh to go to page 2 and page 2's meta refresh back to page 1. The timing for refresh is set in normal way. JavaScript also can be used for this refresh. |
|
lkarelee
Joined: 02 Sep 2009 Posts: 3
|
Posted: Wed Sep 02, 2009 9:29 am |
|
|
|
Let me understand - this will only work if there are always 2 pages - correct? If there is not enough open work to require more than 75 lines then there is no way to do this?
thanks for your help |
|
PayneLess Designs

Joined: 28 Feb 2007 Posts: 3599 Location: Biloxi, MS
|
Posted: Wed Sep 02, 2009 9:58 am |
|
|
|
Well, if the 1st page refreshes to a page that is not there, you may get an error. As long as there is something at the URL 1st page is refreshing to, then there shouldn't be a problem. I would think it could be blank
Can that be set up that way? |
|
lkarelee
Joined: 02 Sep 2009 Posts: 3
|
Posted: Wed Sep 02, 2009 10:31 am |
|
|
|
| Not sure - since these pages are created 'dynamically' as needed ( we use Code Charge Studio to create our display pages) - not sure how that would work. |
|
PayneLess Designs

Joined: 28 Feb 2007 Posts: 3599 Location: Biloxi, MS
|
Posted: Wed Sep 02, 2009 11:11 am |
|
|
|
The alternative is to get someone to write a script for that function. Maybe PHP and set it up to generate new page after a certain amount of lines then go to that page for an x-amount of time. The code writer would know best how to get it written to do what you need it to do.
Maybe something like this:
Load pages using URL variables and PHP include() function |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|
|
 |
|
|
|
|
|
|
|