![]() |
Webmaster Forum Rules | Posting Guide | Contact Us | Testimonials | Contributing Geek Program | Advertise on Geek/Talk |
|
|
![]() |
|
Thread Tools | Search this Thread | Display Modes |
![]() |
#1 |
Registered User
Join Date: Dec 1999
Location: New York, NY, USA
Posts: 31
|
![]()
In some website, a visitor click a button and the website is automatically "loaded" onto visitor's favorite(bookmark) and/or browser front page. I would like to incorporate this feature into my website design. Please comment
|
![]() |
![]() |
![]() |
#2 |
Registered User
Join Date: Sep 1999
Location: Irvine, California
Posts: 667
|
![]()
First off, let me just say that automatically making your site a bookmark on someone's computer is a rather low and unethical thing to do as a webmaster.
However, if you are trying to add a link to accomplish this, here is teh code (note, this works for IE only): Code:
<a href="javascript:void(0);" onclick='window.external.AddFavorite(location.href, document.title);'>Bookmark this Page</a> Ted Sindzinski The Student Resources Network Win a FREE dvd Player! |
![]() |
![]() |
![]() |
#3 |
Registered User
Join Date: Mar 1999
Location: See Answers 2000 Limited
Posts: 2,618
|
![]()
Depends on how it's done if it's ethical. If they expect a click to mean bookmark, then IMHO it's okay
Here's a version that degrades gracefully for netscape and old versions of IE <SCRIPT LANGUAGE="JavaScript"> <!-- if ((navigator.appVersion.indexOf("MSIE") > 0) && (parseInt(navigator.appVersion) >= 4)) { document.write("<A HREF='javascript:window.external.AddFavorite(locat ion.href, document.title);'><B>Click here to make this site one of your Favorites</B></A><BR>"); ** else { document.write("<B>Don't forget to bookmark this site!</B>" ); ** //--> </SCRIPT> ------------------
|
![]() |
![]() |
![]() |
#4 |
Registered User
Join Date: Nov 1999
Location: honolulu,hawaii,usa
Posts: 179
|
![]()
the one i use is only for explorer....
will these work with netscape? |
![]() |
![]() |
![]() |
#5 |
Registered User
Join Date: Oct 1999
Posts: 58
|
![]()
Creating a link which will bookmark is only possible in Internet Explorer 4 or higher. This function is not supported by any version of Netscape.
WildComputer's script above does take this into account and returns a text message of "Don't forget to bookmark this site!" for users with browsers that aren't IE 4+. Take care, RJ http://LetsGoPens.com/ |
![]() |
![]() |
![]() |
Bookmarks |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
www.Googer.net -- PPC Search Engine Website for sale | coosee | Website For Sale - Purchase - Barter - Trade | 4 | 07-11-2008 01:30 AM |
Logo-Monster.com (Logos download store) Very big revenue | ranooo | Website For Sale - Purchase - Barter - Trade | 0 | 07-19-2006 04:06 PM |
Click fraud is less than expected | Larwee | Making Money with CPC and/or CPM Programs | 0 | 04-25-2006 02:09 PM |
ClickXChange Help | collegepoetry | Making Money with CPC and/or CPM Programs | 14 | 06-12-2002 09:47 PM |
WEbsite Design - Click to make my website a favorite | annamin | Marketing Your Website Online | 1 | 01-04-2000 07:58 PM |