(function($){ var defaults = { appendTo: "", contentContainer: "" }; var methods = { init : function(options){ return this.each(function(){ options = $.extend(defaults, options); var self = $(this); var expando = self.get(0)[jQuery.expando]; //slider content if(options.contentContainer!="") { options.contentContainer.addClass("slider_" + expando + "_content_container"); options.contentContainer.children().each(function(index){ $(this).attr("id", "slide_" + expando + "_" + index + "_content"); }); } //slider controls var sliderControl = $("