Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Code Support: ASP (Non-Forum Related)
 Page rotation/cycling
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

laser
Advanced Member

Australia
3859 Posts

Posted - 08 March 2005 :  15:27:12  Show Profile
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

Posted - 08 March 2005 :  15:45:33  Show Profile  Visit D3mon's Homepage
use a meta refresh on each page, pointing to the next page?


Snitz 'Speedball' : Site Integration Mod : Friendly Registration Mod
"In war, the victorious strategist only seeks battle after the victory has been won"
Go to Top of Page

laser
Advanced Member

Australia
3859 Posts

Posted - 08 March 2005 :  16:00:09  Show Profile
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.
Go to Top of Page

D3mon
Senior Member

United Kingdom
1685 Posts

Posted - 09 March 2005 :  04:11:16  Show Profile  Visit D3mon's Homepage
Oooh, like Teletext!


Snitz 'Speedball' : Site Integration Mod : Friendly Registration Mod
"In war, the victorious strategist only seeks battle after the victory has been won"
Go to Top of Page

Classicmotorcycling
Development Team Leader

Australia
2085 Posts

Posted - 09 March 2005 :  04:25:02  Show Profile
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
Go to Top of Page

laser
Advanced Member

Australia
3859 Posts

Posted - 09 March 2005 :  06:52:39  Show Profile
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.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.29 seconds. Powered By: Snitz Forums 2000 Version 3.4.07