jQuery Plugin For Animating Your Favicon With Animated Badges - favico.js

File Size: 4.86 MB
Views Total: 2995
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
   
jQuery Plugin For Animating Your Favicon With Animated Badges - favico.js

favico.js is an awesome jQuery plugin for animating you favicon with animated badges, images, HTML5 videos and webcam videos. You can customize type of animation, background color and text color. It currently supports Chrome, Firefox, Opera.

You might also like:

Basic Usage:

1. Include jQuery javacript library and favico.js script at the end of the document so the pages load faster

<script src="http://code.jquery.com/jquery-latest.min.js"></script>
<script src="favico.min.js"></script>

2. The javascript

// Slide animation
var favicon=new Favico({
    animation:'slide'
});
favicon.badge(1);

// 

// HTML5 Video to icon
var favicon=new Favico();
var video=document.getElementById('videoId');
favicon.video(video);
//stop
favicon.video('stop');

// Webcam video to icon
var favicon=new Favico();
favicon.webcam();
//stop
favicon.webcam('stop');

Change log:

2015-02-15

  • v0.3.6. Bugfixes

This awesome jQuery plugin is developed by ejci. For more Advanced Usages, please check the demo page or visit the official website.