?
Solved

Web Page Slide Show

Posted on 2007-03-23
2
Medium Priority
?
231 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 1000 total points
ID: 18778951
Try this

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

Featured Post

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

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

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…
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…
Suggested Courses

770 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