March 07, 2005
Javascript - 'Bookmark this page!'
Use this little javascript in your pages to enable the user to automatically "bookmark" your webpage.
Yes, I know, the feature is already available to anybody through the browser toolbar itself... but, by mentioning it on your page and creating this link, you draw attention to content that's deserving of a bookmark.
Here's how you do it. Place the following code somewhere in your page. It's a good idea to put this in the upper right so the user will see it upon entering the page. Make sure it's all on one line, no spaces except for the title of the page and the text on the screen.
< a href="javascript:window.external.AddFavorite
('http://blog.case.edu/webdev','Case Web Development Blog-Tips and Tricks')">Bookmark this page! < /a>
Change the text in the example to your own information and post this to an important page in your web presence. Maybe your homepage?
Hope this helps!
Posted by: Kevin Adams March 7, 2005 11:52 AM | Category: Tips and Tricks
Trackbacks
Trackback URL for this entry is: http://blog.case.edu/webdev/mt-tb.cgi/609Post a comment
Posted by: kla3 (Kevin Adams) March 7, 2005 11:52 AM | Comments (3) | Trackback
http://blog.case.edu/webdev/2005/03/07/javascript_bookmark_this_page.html
Office of Marketing and Communications
http://www.case.edu/univrel/marcomm/
http://blog.case.edu/webdev/
216.368.4440



Stumble It!
Comments
another test
and some more testing
testing