Discussion Locked

Internet Explorer 5 - Return to Home Pag

0 helpful
29 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I have developed an Intranet Web Site for my Company and am going to setup a PC in our foyer so guests waiting at reception can look at the company history & information while waiting.

The question I need answering is, if a page is stationary fora certain lenght of time (eg. the person has left for their appointment and left a page displayed) can Internet Explorer be configured to return to the Home Page so the next guest will start from the beginning. This may need for the HTML code to be changed

Any help would be appreciated.

colin_berg@mcwilliams.com.au

29 replies

by ian_c

As far as I'm aware, Explorer doesn't provide this facility.

If you're only going to access your own intranet pages from this machine, one way you could do it would be to include a couple of lines of script at the end of each page to go to the home page after the "certain length of time".

by anandu

1) Set your Internet explorer's default home page to your company's intranet home page.
TOOLS-->Internet OPTIONS-->GENERAL-->and setup hope page.
2)Creat conditional macro by recording key stroke that if webpage or system remain ideal for XMin, run recorded key stroke which is Alt+Home. This will take you back to your company's Intranet home page. Now a days you can find freeware macro crater software on Internet. So download one of them and give it try
ANAND UPADHYAY
AUPADHYAY@OHIOSAVINGS.COM

by fulletk

Use the meta tag "Refresh". See the example below from one of my Web sites.

In this example, 'content' is the time in seconds, and 'URL' is the page to go to.

Theron Fuller

by bawender

This question already appears to have been answered and from what i could tell the answer is the same as what i'm going to give you use the meta tag on all your intranet pages
""
. This example is straight from the w3 home page. This code could be part of an included page for all your web that way if it is required to change the default time for return to your home page, it would only have to be done once.

by kipstein

Here's the code everyone else was trying to post here...


Include this in the <HEAD> section of every single page on your intranet.
Thenumber (10) is the number of seconds before you're returned to your home page.

by kipstein

Sorry, let's try it again (there really needs to be a way to edit these messages)

<META HTTP-EQUIV="refresh" content="10; url=http://www.your homepage here.com">

by mlm450

Here is an example of the scripting code you could use (as suggested by someone else previously).

----------------------------------------
var Seconds = 30;

function Wait()
{
TimeIt=setTimeout("GoHome()",Seconds*1000);
}

function GoHome()
{
location="HomePage.htm";
}
----------------------------------------

You will also need to include
onload="Wait()"
in your "body" tag.

by girish_joshi

Colin,

What can i say now. Most of the answers are there, Only the thing I can suggest is that instead of sownloading any macro recorder from web try writing a javascript function which will check the idle time say 10 minutes, and redirect using the meta content function to ur homepage.

This will be the best solution for this. If u need i can send u the javascript code.

by girish_joshi

Colin,

What can i say now. Most of the answers are there, Only the thing I can suggest is that instead of downloading any macro recorder from web try writing a javascript function which will check the idle time say 10 minutes, and redirect using the meta content function to ur homepage.

This will be the best solution for this. If u need i can send u the javascript code.

by techsupport

This might not deal directly with IE 5.0, but anyhow here is what I would do.

Using visual basic, I would write a small app that uses IE to create a browser (this way users of the browser can only surf through the intranet and not somewhere else)within this browser I would check the status of the keyboard and mouse for inactivity for whatever the amount of time needed and if the conditions are met then tell the browser to navigate back to the main page.

by stanaaa6

I'm not sure if there's a MSIE timer, but an effective go-around might be to set a refresh timer in the head tag of the page. Setting it to 180 (3 min) or 360 seconds
(6 min) would result in the page refreshing to whatever page you pointed it to inthe time specified. The following tag would have to placed within the tage of every page. Default = your home page.

Hope this helps

Stan

by badair

Here's a really good scripting code that i would suggest to use in this case. I have used it myself and it works fine. Just set the time to however many seconds you want it to wait until it returns back to your homepage.----------------------------------------
var Seconds = 30;

function Wait()
{
TimeIt=setTimeout("GoHome()",Seconds*1000);
} function GoHome()
{
location="HomePage.htm";
}
----------------------------------------

You will also needto include
onload="Wait()"
in your "body" tag.

by david.white

No,
IE 5 doesn't support this.

The examples using the refresh command will work if you imbed this in every page the user might visit.

However, if the visitor goes off-site to another web site, you can't bring them back using refresh.

by etarboxnc

Colin you can place the following code above the head tag and the browser will redirect to the default.htm page after 10 seconds.

This discussion is closed to new replies.