I am somewhat a new comer to OOP so there might be a good way to do this. But I've got a slideshow wordpress plugin using blogging platforms that utilizes Classes, and I am in a position to call that wordpress plugin multiple occasions inside a page.

What I'm not sure how you can do is have each iteration count the number of slideshows happen to be known as. I have to possess a different div id for every iteration.

        jQuery(document).ready(function($) {
            $('#featured').orbit({ ... });

        jQuery(document).ready(function($) {
            $('#featured1').orbit({ ... });

        jQuery(document).ready(function($) {
            $('#featured2').orbit({ ... });

Any idea on the easiest method to accomplish this?