Solved

Web Page Slide Show

Posted on 2007-03-23
2
228 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Jquery datatables integration with ASP.NET MVC, bootstrap 3 22
jQuery on Submit 4 36
Html Newline 7 20
Running powershell scripts from ASP.NET 6 25
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
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…

790 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