jQuery Innerfade


/ Published in: jQuery
Save to your folder(s)



Copy this code and paste it in your HTML
  1. /* make sure to reference the latest version of jquery and jquery.innerfade.js */
  2.  
  3. <script type="text/javascript">
  4. jQuery.noConflict(); // Reverts '$' variable back to other JS libraries
  5. jQuery(document).ready( function(){
  6. $('#news').innerfade({
  7. animationtype: 'fade',
  8. speed: 1000,
  9. timeout: 5000,
  10. type: 'sequence',
  11. containerheight: '250px'
  12. });
  13. } );
  14. </script>
  15.  
  16. /* This can be used with any container tag like divs or uls, the id of the containing div, ul, etc. has to match the id above */

URL: http://medienfreunde.com/lab/innerfade/

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.