Author |
Topic  |
|
laser
Advanced Member
    
Australia
3859 Posts |
Posted - 08 March 2005 : 15:27:12
|
OK, I thought this was a simple problem but for some reason I can't find the easy track.
I need to create an ASP page that cycles through and displays X pages, so imagine you need to look at :
a.asp b.asp x.asp y.asp z.asp
then it would (endlessy) cycle to a.asp The delay should be configurable as well, but at the moment it shows each page for 30 seconds.
I was thinking of frames (OMG, did I say that ?) with the controlling code in a 0% frame, and the proper content in a 100% frame BUT I can't see how ASP can control the content frame's content.
Maybe I need to use JavaScript, I don't really mind but it's a Win2000 server that needs to be working ASAP.
Any ideas appreciated  |
|
D3mon
Senior Member
   
United Kingdom
1685 Posts |
|
laser
Advanced Member
    
Australia
3859 Posts |
Posted - 08 March 2005 : 16:00:09
|
They all have a meta refresh to themselves anyway (I didn't include that in the original post because I didn't want to over-complicate the situation). Each page auto-refreshes every 10 seconds, but we want to automatically cycle through a group of pages over a slower period.
Basically so you can have a large, wall-mounted monitor that shows a lot of vital stats. The wall monitor cycles through the group of pages, and if a particular page is of interest you can jump to the same site & pull it up on your screen. |
 |
|
D3mon
Senior Member
   
United Kingdom
1685 Posts |
|
Classicmotorcycling
Development Team Leader
    
Australia
2085 Posts |
Posted - 09 March 2005 : 04:25:02
|
Have you thought about the meta refresh in an iframe set to that particular page, but have the meta refresh for the page that brings up each iframe, i.e.:
iframe A Page a: refresh 30 secs Page a1: refresh 10 secs Page a2: refresh 15 secs
iframe B Page b: refresh 60 secs Page b1: refresh 15 secs Page b2: refresh 30 secs Page b3: refresh 10 secs
They are just examples, but it may do what you want.
|
Cheers, David Greening |
 |
|
laser
Advanced Member
    
Australia
3859 Posts |
Posted - 09 March 2005 : 06:52:39
|
Ah, I didn't think of iframes as I've never really used them.
The solution : JavaScript and frames (yes, I know frames suck but the solution and to be written quickly). AND it works, and it looks great .... teletext ? hmmm, maybe. |
 |
|
|
Topic  |
|