-1

I want to know how to make introduction page which lasts couple seconds and then takes you to the home page of website. That is, when someone types my domain name I need a page to introduce to subject of my website.

Cœur
  • 37,241
  • 25
  • 195
  • 267
midhun
  • 1
  • 1

3 Answers3

1

This would be what you could use to redirect the site, change the content to the amount of seconds you want the viewer to stay on the page.

<meta http-equiv="refresh" content="0; url=http://whatever.org/"> 

Referenced from HERE

Community
  • 1
  • 1
Black Bird
  • 797
  • 1
  • 10
  • 34
0

you can do this in 2 ways,

  1. create a pop up and use javascript setTimeOut() for delay
  2. make index page as your subject of the website and use setTimeOut() for delay and then reidrect to your home page.
Robin Michael Poothurai
  • 5,444
  • 7
  • 23
  • 36
0

You could also use javascript to redirect. This example redirects the page after 2 seconds:

<script type="text/javascript">
function foo()
{
    window.location = "http://www.google.com/";
}
setTimeout(foo, 2000);
</script>
jel
  • 1,172
  • 10
  • 8