# phatfusion

javascript and flash development.

## slider

version 1.0

bar and slider.

### example

### features

- Horizontal or Vertical options
- snap to steps
- apply transitions to the slide

### usage

    var slider1 = new Slider('slideContainer1', 'slideHandle1',{
    	onComplete: function(val){$('pos1').setHTML(val);}
    });

### options

onChange
  a function to call when the value changes.
onComplete
  a function to call when you're done dragging.
onTick
  optionally, you can alter the onTick behavior, for example displaying an effect of the knob moving to the desired position. Passes as a parameter the new position.
steps
  the number of steps for your slider.
mode
  either 'horizontal' or 'vertical'. defaults to horizontal.
wheel
  experimental! Also use the mouse wheel to control the slider. defaults to false.

### browser compatibility

- Firefox 2 (mac / pc)
- IE 7
- IE 6
- Safari (mac)

### requirements

- mootools v1.11

### downloads

- slider.zip