Solved

Web Page Slide Show

Posted on 2007-03-23
2
229 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

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

JavaScript can be used in a browser to change parts of a webpage dynamically. It begins with the following pattern: If condition W is true, do thing X to target Y after event Z. Below are some tips and tricks to help you get started with JavaScript …
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
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…

733 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