* @cfg {Boolean} carousel true to make the group behave like a carousel
* @cfg {Number} bullets show the panel pointer.. default 0
* @cfg {Boolena} autoslide (true|false) auto slide .. default false
- * @cfg {Number} timer auto slide timer .. default 0 second
+ * @cfg {Number} timer auto slide timer .. default 0 millisecond
*
* @constructor
* Create a new TabGroup
if(this.autoslide){
this.slideFn = window.setInterval(function() {
_this.showPanelNext();
- }, this.timer * 1000);
+ }, this.timer);
this.el.on("mouseover", this.onMouseOver, this);
this.el.on("mouseout", this.onMouseOut, this);
onMouseOut : function(a,b,c)
{
- if(this.autoslide)
- this.slide = window.setInterval(function() {
- _this.showPanelNext();
- }, this.timer * 1000);
+ var _this = this;
+
+ if(this.autoslide){
+ this.slide = window.setInterval(function() {
+ _this.showPanelNext();
+ }, this.timer);
+ }
+
},
getChildContainer : function()