David's HTML Tip 01 - Home Page and Favorites Anchor 
Author Message
 David's HTML Tip 01 - Home Page and Favorites Anchor

Insert this into the body of a HTML document to provide a link to Set the current page as the Home Page:

<A STYLE="color: blue; cursor: hand;" ONCLICK="this.style.behavior='url(#default#homepage)';this.setHomePage(location.href);">Make this your home page</A>

Insert this into the body of a HTML document to provide a link to Add the current page to the Favorites menu:

<A STYLE="color: blue; cursor: hand;" ONCLICK="javascript:window.external.AddFavorite(window.location, document.title)">Add to Favorites</A>

NOTE: These will only work with Internet Explorer.

David L. Leon

--------------------------------------------------------------------------------




Fri, 14 Mar 2003 11:00:14 GMT  
 David's HTML Tip 01 - Home Page and Favorites Anchor

how do you get them to work in netscape?


  Insert this into the body of a HTML document to provide a link to Set the current page as the Home Page:

  <A STYLE="color: blue; cursor: hand;" ONCLICK="this.style.behavior='url(#default#homepage)';this.setHomePage(location.href);">Make this your home page</A>

  Insert this into the body of a HTML document to provide a link to Add the current page to the Favorites menu:

  <A STYLE="color: blue; cursor: hand;" ONCLICK="javascript:window.external.AddFavorite(window.location, document.title)">Add to Favorites</A>

  NOTE: These will only work with Internet Explorer.

  David L. Leon

------------------------------------------------------------------------------




Wed, 19 Mar 2003 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Fit Report of 02 pages to 01 page and Print on 01 Page like in Excel?

2. Display task list as HTML folder home page

3. HTML-HOME PAGE Online Course

4. Convert gifs to bload format - gif2bsv.exe [01/01]

5. VB OLE to MS Word - code.txt [01/01]

6. Importing a text file - Smallctx.txt [01/01]

7. Heeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeelp - vb.txt [01/01]

8. Putting Text into Grid - dbase.nx [01/01]

9. VB OLE MS Word - code.txt [01/01]

10. Conversion vb3 > vb5 - news.txt [01/01]

11. VB5 Default Printer Switch Issue - SetdefaultprinterinVB5issue.txt [01/01]

12. Coolbar Code example - coolbar.zip [01/01]

 

 
Powered by phpBB® Forum Software