/* idTabs ~ Sean Catchpole - Version 1.0 */ /* Options (in any order): start (number|string) Index number of default tab. ex: idTabs(0) String of id of default tab. ex: idTabs("#tab1") default: class "selected" or index 0 return (boolean) True - Url will change. ex: idTabs(true) False - Url will not change. ex: idTabs(false) default: false click (function) Function will be called when a tab is clicked. ex: idTabs(foo) If the function returns true, idTabs will show/hide content (as usual). If the function returns false, idTabs will not take any action. The function is passed three variables: The id of the element to be shown an array of all id's that can be shown and the element containing the tabs MODIFIED BY PRESTASHOP */ (function($){$.fn.idTabs=function(){var s={"start":null,"return":false,"click":null};for(var i=0;i