Redirect

G

Guest

Hi

I have a web page that displays results (1 to 40) i have another page with
results (41-80). i want to redirect to the second page after 30 seconds and
then after another 30 seconds on the second page redirect back to the first
page and contine until i close the web page.

Is this possible??

These pages have been created in a web folder nut wont be gettting published
on the web. They are being displayed using a projector for people to see the
results.

Thanks in advance for any assistance

Andrew
 
G

Guest

Andrew,

You could do this with a meta refresh tag.

You would insert this code on both pages between the opening and closing
heading tags.

<Head>
<meta http-equiv="Refresh"content="30;url=http://www.yourweb.com/page.htm">
</Head>

Just change the url address to the specific locations on each page.

JDR
**************
 
T

Trevor L.

Andrew,

I have a function which automatically scans an array of jpegs every 8
seconds
This is it
var lock = false
var run
function auto()
{ var delay = 8000

if (!lock)
{ lock = true
run = setInterval("chgImg(1)",delay) }
else
{ lock = false
window.clearInterval(run) }
}
The function chgImg() selects the next image in an array of images

I think all you would have to do is alter the function chgImg() to swap
between the 2 pages.

As I am not sure how much knowledge you have of JS I don't know whether to
give more details of how to do the swap. I am a learner myself so I would
have to try a few things out first to get it to work.
--
Cheers,
Trevor L.
Website: http://tandcl.homemail.com.au
Hi

I have a web page that displays results (1 to 40) i have another page
with results (41-80). i want to redirect to the second page after 30
seconds and then after another 30 seconds on the second page redirect
back to the first page and contine until i close the web page.

Is this possible??

These pages have been created in a web folder nut wont be gettting
published on the web. They are being displayed using a projector for
people to see the results.

Thanks in advance for any assistance

Andrew


I choose Polesoft Lockspam to fight spam, and you?
http://www.polesoft.com/refer.html
 
T

Trevor L.

JDR,

Good thinking :-D

I didn't ask the question, but gave an answer which was much more complex.
--
Cheers,
Trevor L.
Website: http://tandcl.homemail.com.au
Andrew,

You could do this with a meta refresh tag.

You would insert this code on both pages between the opening and
closing heading tags.

<Head>
<meta
http-equiv="Refresh"content="30;url=http://www.yourweb.com/page.htm">
</Head>

Just change the url address to the specific locations on each page.

JDR
**************


I choose Polesoft Lockspam to fight spam, and you?
http://www.polesoft.com/refer.html
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top