Solved

Web Page Slide Show

Posted on 2007-03-23
2
227 Views
Last Modified: 2007-03-23
Hi

I have about 5 web pages which are used for monitoring an application. What I am trying to do is write a script which will move to another web page within 5 seconds.

e.g. It will start on page1.htm then 5 seconds later move to page2.htm then 5 seconds later move to page3.htm and so on on until it it hits page5.htm when it will go back to page1.htm again

Kinda like a Powerpoint presentation, hope this makes sense.

Any ideas on how to do this? Any scripts will be great

Thanks in advance

0
Comment
Question by:patelajk
2 Comments
 
LVL 4

Expert Comment

by:Cyber-Drugs
ID: 18778879
First thought that comes to mind is an IFrame, with a JavaScript timer which after x amount of seconds, changes the IFrame location to the next location. Store all the locations in an array and loop through that.

Can try whip something together for you if you don't quite understand that.
0
 
LVL 12

Accepted Solution

by:
Sinoj Sebastian earned 250 total points
ID: 18778951
Try this

<body  onload="setTimeout('next()',5000);">
<SCRIPT language="JavaScript">
<!--
 function next()
  {
    window.location="HTMLPage1.htm";
   }
//-->
</SCRIPT>
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Article by: DanRollins
This article describes a JavaScript program that creates a maze made of hexagonal cells.  In Part 2 (http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/A_7850-Hex-Maze-Part-2.html), we'll extend the program by adding a depth-…
This article will give core knowledge of JavaScript and will head in to your first JavaScript program. I am Durvesh Naik and I am here to deal with this series of JavaScript. I will teach you JavaScript in part wise , as its quite boring to read big…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question