/ Published in: JavaScript
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
// Initiate your SlideDeck up here... // Select all the activeCorner elements, then iterate through them and add ids. $('.slidedeck div.activeCorner').each(function(i){ $(this).attr('id','corner_' + (i+1)); }); // Style with CSS accordingly.