code: function() {
              if(this.$input.is(':visible')) {
  				this.$input.focus();
  				$.fn.editableutils.setCursorPosition(this.$input.get(0), this.$input.val().length);
  
  					var self = this;
  					var val = parseInt(this.$input.val());
  					var width = this.options.slider.width || 200;
  					var options = $.extend(this.options.slider , {
  						value:val,
  						slide: function( event, ui ) {
  							var val = parseInt(ui.value);
  							self.$input.val(val);
  							
  							if(ui.handle.firstChild == null) {/* no tooltips attached to it */
  								$(ui.handle).append("<div class='tooltip top in' style='display:none;top:-38px;left:-5px;'><div class='tooltip-arrow'></div><div class='tooltip-inner'></div></div>");
  							}
  							$(ui.handle.firstChild).show().children().eq(1).text(val);
  						}
  					});
  
  					this.$input.parent().addClass('editable-slider').css('width', width+'px').slider(options);
              }
         }
docs: Activates input: sets focus on the first field.
  
  @method activate()