Welcome, Guest! Registration

loc2log

Friday, 2019-02-22
Main » 2012 » June » 24 » Add browser bookmark / favorite
3:44 AM
Add browser bookmark / favorite
jQuery “Add Bookmark” plugin – abookmark - seems like a decent jQuery plugin.

Using it with button is the same as with 'a' link:
<script type="text/javascript" src="http://YOUR_SITE/jquery.min.js"></script>
<script type="text/javascript" src="http://YOUR_SITE/jquery.abookmark.min.js"></script>
<input type="button" id="btn_bookmark" value="Bookmark" title="Save to browser's bookmarks."/>
<script>
$(document).ready(
function () {
$('#btn_bookmark').abookmark();
});
</script>
It is cool it understands button's "disabled" property.
Views: 1688 | Added by: loc2log | Tags: jQuery, html | Rating: 0.0/0
Total comments: 0
Only registered users can add comments.
[ Registration | Login ]