Re: Switch between two web pages



Hi,

div id=page1

div id=page2

timer 1 switches between the 2 divs (using 'visibility')

timer 2 fires off Ajax update requests for each page alternately (this
prevents - or reduces the chance of - the replies clashing)

Ian
http://www.examples.roughian.com/


d.s.stevenson@xxxxxxxxx wrote:

Hi,

Anyone aware of a way to switch between two web pages while still
allowing each page to run in the background? ie. I have one web page
that auto refreshes every 60 seconds, and another one that also auto
refreshes every 60 seconds.

What i want to be able to do is to switch back and forth between these
two pages every 5 mins, while still allowing each page to run (refresh)
individually in the background.

Each individual page is collecting statistics and databasing them so
both need to run every 60 seconds, therefore a simple redirect of the
same browser would not allow this to happen.

Thanks in advance.

Daniel

.



Relevant Pages

  • Switch between two web pages
    ... that auto refreshes every 60 seconds, and another one that also auto ... What i want to be able to do is to switch back and forth between these ... same browser would not allow this to happen. ...
    (php.general)
  • Re: Font Size
    ... The way CSS selectors work it's easy to "switch them on" for very ... But this markup is created by a JQuery Plugin ...
    (comp.infosystems.www.authoring.stylesheets)
  • scrolling a div
    ... in a database, the page refreshes and reads the contents of the database and ... The following piece of code simulates some text inside a div where the text ... I would like to force the display to the end ... of the - as if the user had scrolled to the end - when the page refreshes. ...
    (comp.lang.javascript)
  • scrolling a div
    ... in a database, the page refreshes and reads the contents of the database and ... The following piece of code simulates some text inside a div where the text ... I would like to force the display to the end ... of the - as if the user had scrolled to the end - when the page refreshes. ...
    (comp.lang.javascript)
  • simplifying appendChild for multiple elements
    ... html and pops it into a div using innerHTML. ... I'd like to switch over to ...
    (comp.lang.javascript)