|
|
@ -6,6 +6,7 @@ |
|
|
|
var settings = $.extend({ |
|
|
|
var settings = $.extend({ |
|
|
|
"auto": true, // Boolean: Animate automatically
|
|
|
|
"auto": true, // Boolean: Animate automatically
|
|
|
|
"pagination": false, // Boolean: Show pagination
|
|
|
|
"pagination": false, // Boolean: Show pagination
|
|
|
|
|
|
|
|
"paginationPos": "bottom", // String: define the position in source code, available options: "top" or "bottom"
|
|
|
|
"nav": false, // Boolean: Show navigation
|
|
|
|
"nav": false, // Boolean: Show navigation
|
|
|
|
"prevText": "Previous", // String: Text for the "previous" button
|
|
|
|
"prevText": "Previous", // String: Text for the "previous" button
|
|
|
|
"nextText": "Next", // String: Text for the "next" button
|
|
|
|
"nextText": "Next", // String: Text for the "next" button
|
|
|
@ -98,7 +99,8 @@ |
|
|
|
var $tabs = $pagination.find("a"); |
|
|
|
var $tabs = $pagination.find("a"); |
|
|
|
|
|
|
|
|
|
|
|
// Inject pagination
|
|
|
|
// Inject pagination
|
|
|
|
$this.after($pagination); |
|
|
|
if(settings.paginationPos === "top") { $this.before($pagination); } |
|
|
|
|
|
|
|
else { $this.after($pagination); } |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// Select active tab
|
|
|
|
// Select active tab
|
|
|
|