« Perl script that e-mails new sites popping up in Yahoo! Search | Home | Automatic MySQL backup script »
Code for adding the project to bookmarks
Add the project to del.icio.us
http://del.icio.us/post?title=code.techinterviews.com&url=http://code.techinterviews.com
http://digg.com/submit?phase=2&url=http://code.techinterviews.com
Add the site to bookmarks:
function add2Bookmarks(title,url) {
if (window.sidebar) {
window.sidebar.addPanel(title, url,"");
} else if( document.all ) {
window.external.AddFavorite( url, title);
} else if( window.opera && window.print ) {
return true;
}
}
if (window.sidebar) {
window.sidebar.addPanel(title, url,"");
} else if( document.all ) {
window.external.AddFavorite( url, title);
} else if( window.opera && window.print ) {
return true;
}
}
<a href="#" onmousedown="add2Bookmarks('code.techinterviews.com','http://code.techinterviews.com')">
<img src="project.gif" alt="bookmark" border="0"> Put this site to Your bookmarks
</a>
<img src="project.gif" alt="bookmark" border="0"> Put this site to Your bookmarks
</a>
Topics: web 2.0 | Submitter: checkthis
Comments
You must be logged in to post a comment.