Posted By

Jamie on 03/09/10


slidedeck activeCorner

Versions (?)

Add an id to each activeCorner on a SlideDeck

 / Published in: JavaScript

  1. // Initiate your SlideDeck up here...
  2. // Select all the activeCorner elements, then iterate through them and add ids.
  3. $('.slidedeck div.activeCorner').each(function(i){
  4. $(this).attr('id','corner_' + (i+1));
  5. });
  6. // Style with CSS accordingly.

Report this snippet  

You need to login to post a comment.