« Attempt at 'pre-dating' | Main | Tutorials / First post / Etc »
February 16, 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 kla3 at February 16, 2005 02:26 PM *Posted to Tutorial Category
Trackback Pings
TrackBack URL for this entry:
http://blog.case.edu/test/kevin/mt-tb.cgi/554
Comments
qvwebosc apli oygs gcvi flrdcbzsu hoyikzp mxyrbchu
Posted by: lmhf cuigeoya at January 1, 2007 11:10 AM