Back to Journal jQuery Stars cursor animation

jQuery Stars cursor animation

One of our good friends and clients asked us if can we duplicate "magic" visual effect on mousemove from flash example to his HTML site. The effect shows shine stars when you move mouse over some page elements. So we thought it would be nice to create such plugin and share it to the public.

We present our new jQuery plugin “jStars”. The plugin creates stars effect on mouse move for elements from jQuery selector. It's very easy to use:

$('#container').jstars({
    image_path: 'images', // folder with stars assets
    style: 'white',          // optional, star color, default = white
    frequency: 5          // optional, from 1 to 19
});

Plugin has different styles of stars (in different color) so you can choose what matches your site background color best.

It is compatible with the latest browsers: Firefox, Google Chrome, Safari, Internet Explorer 9+. You can use this plugin with jQuery 1.4.1+.

Please check our online demo for better understanding of what the plugin does or download from git repository and try it right now.

If you have problems or suggestions you can write to our public repository issues section.