Skip to content

PixxxeL/canvas-blinking-stripe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Canvas Blinking Stripe

Blinking Stripe on image with alpha using canvas

Preview

http://www.pixel-tyumen.ru/works/canvas-blinking-stripe/

Usage

For usage of this javascript module must define some HTML in content block:

<a id="header-logo-container" href="/" title="Íà ãëàâíóþ">
    <img src="path-to-your-image-with-alpha-possible.png" alt="">
</a>

and add:

<script src="path-to-module/canvas-blinking-stripe.js"></script>
<script>
$( function () {
    BlinkingStripe({$container : $('#header-logo-container')}).run();
});
</script>

This module required jQuery lib.

Available

In browsers that canvas supported (IE > 8, FF, Chrome, Opera, Safari etc)

About

Blinking Stripe on image with alpha using canvas

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published