preload script needed

They have: 5,633 posts

Joined: Jan 1970

Hello all,

I would like to use some type of script that will call to and load the main page of my website when someone comes to my entry page. Example goto my site at [URL=http://www.qrobotics.com]and you will come to my entry page. I would like to have the page automaticaly redirect to my main page after the main page has preloaded. Any ideas?

mairving's picture

They have: 2,256 posts

Joined: Feb 2001

Qrobotics, welcome to Webmaster Forums.

Why do you need to use a script? You can use a script but it would not be 100% effective as not everyone uses or has javascript. The easiest thing would be to use a META tag and set the timeout long enough for the page to load. Something like this:

<HEAD>
<META HTTP-EQUIV="Refresh" Content="30; URL=http://www.xyz.com/newpage.html">
</HEAD>
'

On this one the timeout is set to 30 seconds but that can be changed.

Mark Irving
I have a mind like a steel trap; it is rusty and illegal in 47 states

taff's picture

They have: 956 posts

Joined: Jun 2001

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.