Skip to content

advanced-js/blink

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blink exercise

Write a jQuery plugin that makes an element act like a <blink> tag. It should work for any arbitrary speed.

blink demo

http://learn.jquery.com/plugins/basic-plugin-creation/

V1

Make plugin work for selectors that correspond to a single element.

// show/hide every 1000ms
jQuery('.myDiv').blink(1000);
// twice as fast
jQuery('.otherDiv').blink(500);

V2

Make plugin work for selectors that correspond to multiple elements.

jQuery('div').blink(1000);

Releases

No releases published

Packages

No packages published