I have a function in jQuery
jQuery(function () {
jQuery(".one").showcase({
animation: { type: "fade" },
titleBar: { autoHide: false },
navigator: { autoHide: true }
});
prettyPrint();
jQuery(".two").showcase({
animation: { type: "fade" },
titleBar: { autoHide: false },
navigator: { autoHide: true }
});
prettyPrint();
jQuery(".three").showcase({
animation: { type: "fade" },
titleBar: { autoHide: false },
navigator: { autoHide: true }
});
prettyPrint();
});
now note the code above. i repeat the showcase function three times. I want create the function once by array. how can it possible. I saw the jQuery array example, but cant understand.