Solved

Web Page Slide Show

Posted on 2007-03-23
2
218 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
Comment Utility
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
Comment Utility
Try this

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

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Introduction HTML checkboxes provide the perfect way for a web developer to receive client input when the client's options might be none, one or many.  But the PHP code for processing the checkboxes can be confusing at first.  What if a checkbox is…
This article discusses how to create an extensible mechanism for linked drop downs.
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…

744 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now