jQuery Plugin To Create Eye-catching Flash Elements - flash-me

File Size: 6.27 KB
Views Total: 628
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
   
jQuery Plugin To Create Eye-catching Flash Elements - flash-me

flash-me is a jQuery plugin that flashes html content to grab your user's attention, by changing the colors, backgrounds and transitions of specified elements. A little similar to the deprecated blink tag but smoother.

How to use it:

1. Add jQuery library and the jQuery flash-me plugin to the webpage.

<script src="jquery.min.js"></script>
<script src="js/flashMe.js"></script>

2. Flash a specified html element by changing the text colors.

$('#el').flashMe();

3. Flash a specified html element by changing the background colors.

$('#el').flashMe({ 

  // or an array of colors
  colors: "surprise" 
  
});

4. Apply transitions.

$('#el').flashMe({ 

  transition: 500

});

5. Change the default interval in which to flash at in milliseconds.

$('#el').flashMe({ 

  interval: 1000,

});

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