Click to See Complete Forum and Search --> : automatic Homepage Set
Rewired
08-11-2003, 01:57 PM
The hospital that I work for has been "merged" with a bigger facility in the area. We have had a small intranet page but the new folks want us to use thier www page. I have the code's to redirect the current page and give the user the option to click on a box to make the www the current home page.
My question is. Is there a way to do it so after the the user is redirected that it will make the new facilities page the home page. I have the auto redirect set up for 3 seconds and than it takes you to the new page.
thanks for any help
If users want the page to be thier homepage, they can do it themselves. If you want to help them out, provide a link, but don't do it automatically... It is very, very annoying...
Rewired
08-11-2003, 02:38 PM
Originally posted by pyro
If users want the page to be thier homepage, they can do it themselves. If you want to help them out, provide a link, but don't do it automatically... It is very, very annoying...
pyro,
Thanks for the reply. We want to do it automatically as we have many people out here that are very passive aggressive and they can say. Oh I didn't see it. :} I know but this is how some "old timers" can be.
So If you can help me to get it to do it automatically that would be great.
Thanks
<script type="text/javascript">
function setPage() {
if (!hp.isHomePage("http://www.asiteiwillnotvisit.com"))
hp.setHomePage("http://www.asiteiwillnotvisit.com");
}
</script>
<body onload="setPage()">
<span id="hp" style="behavior:url(#default#homepage)"></span>And remind me not to visit your site...
Rewired
08-11-2003, 02:44 PM
thanks. Like I said it is an INTRANET site so only the folks here at the hospital can access it.
I wouldn't use it on a WWW page, as I hate it when it is done to me.
Thanks again
Rewired
08-11-2003, 02:51 PM
Pyro,
I got the script on the page but it still asks the user if they want to change it. Is there a way just to change it by itself?
Thanks
nkaisare
08-11-2003, 03:23 PM
Originally posted by Rewired
Is there a way just to change it by itself?
I hope not.
If there is, I would quit using that browser :)
No, there is no way to do it without a confirm box popping up (thank God...)