RE: redirect to Home Button is a bad idea

by "Cyanide _7" <leo7278(at)>

 Date:  Wed, 09 Feb 2000 18:24:15 CST
 To:  Chad.Johnson(at)
 Cc:  hwg-languages(at)
  todo: View Thread, Original
just a little clarification:

>I know it's a terrible practice and redundant. I need to do it anyway. Is 
>possible in IE? This is how it works in Netscape 4+:
   <INPUT TYPE = "BUTTON"  VALUE = "Exit to your home page"
>Notice this is a form (html) and not JavaScript.

if you think this doesn't require JavaScript, your sadly mistaken. HTML 
EventHandlers are handled by JavaScript. anything in onClick must be a 
scripting command.

>This gives the object though
>(home  Thanx Cyanide). I added "home()" to my JavaScript and it works in

object, what object. *home* is a method of the window object and can also be 
written window.home(); self.home(); top.home(); etc... its not an object.

I would like to make it work in IE too. Apparently IE uses a different
>object to go to the browser's home button. If anyone knows what it is ...

objects aside, i do not believe IE provides a method for sending the user to 
the current home page. I could very well be wrong about this of course... - 

>please post.
> > ----------
> > From: 	Dennis Lapcewich
> > Sent: 	Tuesday, February 8, 2000 5:30 PM
> > To: 	'Chad Johnson'; 'hwg-languages(at)'
> > Subject: 	RE: JavaScript redirect to Home Button
> >
> > >
> > > No, I mean redirect them to where the end users "Home" button
> > > sends them. If
> > > the user set their preferences or internet options so that
> > > their start page
> > > is yahoo... it would go to yahoo.
> > > Chad
> > >
> >
> >
> > Not a good idea since a link to a "home page" on a web page is generally
> > understood and accepted to mean the home page of the site and not the 
> > page
> > of the user's browser.
> >
> > Unless, of course, your link specifically states otherwise, but still 
> > a
> > good idea.  :)
> >

Get Your Private, Free Email at

HWG: hwg-languages mailing list archives, maintained by Webmasters @ IWA