• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 157
  • Last Modified:

Autorun pages

I want to build a power-point like presentation as a series of web-pages so that the user does not have to load any special software for viewing.

Can it be done on as HTML pages which
autochange after a given time interval

I am totally new to HTML/Web page dev.
0
sminni
Asked:
sminni
1 Solution
 
AdiFCommented:
Sure!
Simply add this META tag to all your slides.

Example, in slide1.html you would have:
<META HTTP-EQUIV="REFRESH" CONTENT="20;URL=slide2.html">

That will automatically take you to slide2.html in 20 seconds. Let's say you wanted slide2.html to last for 10 seconds. You would type:
<META HTTP-EQUIV="REFRESH" CONTENT="10;URL=slide3.html">

And in 10 seconds it will take you to the third slide.
0
 
chterilCommented:
you can also do:
<head>
function refreshIt(){
//wait 20 seconds and call take you to slide2.html
   setTimeout("document.location=slide2.html;
",20000);
    }
</head>
<body onload='refreshIt();'>

//the advantage with this version is that slide2.html is called 20 seconds AFTER the current page is 100% loaded.

With the last answer, slide2.html is called 20 seconds after the current page begins to be loadded.
0
 
sminniAuthor Commented:
Sorry for the delay
but I am unable to work in this site
for some wierd reason

I wanted to award points to Adif & Chteril but could not find out how to do so
At present I am awarding all to Adif
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now