View Single Post
  #8 (permalink)  
Old 01-22-2003, 05:22 PM
Martin Martin is offline
Senior Member
 
Join Date: Oct 2002
Location: Alabama, USA
Posts: 619
Here is one.
Code:
============================================================
Script:     Make This Page Your Homepage Script

Functions:

   In IE 5 and later browsers, clicking the link opens
   the dialog to set the current page as the visitor's
   homepage.  An IE conditional comment prevents the link
   from showing in other browsers that do not support this.

Browsers:   IE 5 and later (degrades gracefully in others)

Author:     etLux
============================================================

Put the following script in the body of your page.

You may set the font with tags within the conditional
comment, as shown.  An image may also be used instead
of the text link shown.

Do *not* remove the comments, and set the url in the
script to your own.


<!--[if IE]>
<font face="Arial" size="3">
<A HREF="#"
onClick="this.style.behavior='url(#default#homepage)';
this.setHomePage('http://www.codelifter.com');">
Make CodeLifter Your Homepage
</a>
</font>
<![endif]-->

============================================================
Reply With Quote