DeathWalker Posted August 28, 2006 Share Posted August 28, 2006 Hey all i was just wondering how do you add a script so that a member can bookmark your site?Thanks in Advanced Link to comment Share on other sites More sharing options...
aspnetguy Posted August 28, 2006 Share Posted August 28, 2006 try this http://www.hypergurl.com/bookmark.htmlbe sure to make sure it works in all browsers Link to comment Share on other sites More sharing options...
DeathWalker Posted August 29, 2006 Author Share Posted August 29, 2006 Doesnt seem to work Link to comment Share on other sites More sharing options...
skym Posted August 29, 2006 Share Posted August 29, 2006 There thousands of scripts to bookmark a page.I use:function setBookmark(url,str) { if(str=='')str=url; if (document.all) window.external.AddFavorite(url,str); else alert('Press CTRL-D or CTRL-T to add a bookmark to:\r\n"'+url+'".'); }Rarely, I don't think it's used very much. The user can bookmark your page at any time without any links, plus he probably wants to store the link in a certain category of his bookmarks. Link to comment Share on other sites More sharing options...
Jack McKalling Posted August 29, 2006 Share Posted August 29, 2006 This is even another, but this one doesn't check if browser supports this function. function GoBookmark(){ window.external.AddFavorite(location.href,document.title); }Anyway, adding to favorites should be the user's responsibility, providing a link is only extra confort, not really necessary. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now