<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>index.html</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -1,35 +1,33 @@
 (function($) {
-  $.fn.productBrowser = function(elem) {
-    this.each($.productBrowser);
-  }
-  
-  $.productBrowser = function() {
-    var scrollable = $(this),
-        list       = scrollable.find('ul'),
-        settings   = $.extend($.productBrowser.settings, arguments[0] || {});
+  $.fn.productSlider = function() {
+    var settings = $.extend($.productSlider.settings, arguments[0] || {});
+    
+    this.each(function() {
+      var scrollable = $(this),
+          viewport   = scrollable.children(settings.viewport);
+      
+      if (scrollable.children('.ui-slider').length &lt; 1)
+        scrollable.append('&lt;div class=&quot;ui-slider&quot;/&gt;');
         
-      scrollable.slider({
-        handle:  settings.handle,
-        max:     ul.innerWidth() - $(this).outerWidth(),
-        animate: settings.animate,
-        //stop:    scrollHorizontal,
-        slide:   function(event, ui) {
-          list.css('left', '-' + ui.value + 'px');
+      var track = scrollable.find('.ui-slider');
+      track.slider({
+        max:   viewport.innerWidth() - scrollable.outerWidth(),
+        slide: function(event, ui) {
+          viewport.css('left', '-' + ui.value + 'px');
         }
       });
 
-      $(settings.prev).click(function() { scrollable.slider(&quot;moveTo&quot;, &quot;-=&quot; + settings.clickInc); });
-      $(settings.next).click(function() { scrollable.slider(&quot;moveTo&quot;, &quot;+=&quot; + settings.clickInc); });
-    }
-  }
+      $(settings.prev).click(function() { track.slider(&quot;moveTo&quot;, &quot;-=&quot; + settings.clickInc); });
+      $(settings.next).click(function() { track.slider(&quot;moveTo&quot;, &quot;+=&quot; + settings.clickInc); });
+    });
+  };
   
-  $.extend($.productBrowser, {
+  $.productSlider = {
     settings: {
-      clickInc: '50px',
-  	  handle:   '.handle',
-  	  prev:     '.prev',
-  	  next:     '.next',
-  	  animate:  false
-  	}
-  });
+      clickInc: 150,
+      prev:     '.prev',
+      next:     '.next',
+      viewport: 'ul'
+    }
+  };
 })(jQuery);
\ No newline at end of file</diff>
      <filename>product-slider.js</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>def84a04f837651c55e257efd94edd0233c56823</id>
    </parent>
  </parents>
  <author>
    <name>Thomas Reynolds</name>
    <email>tdreyno@Gir.local</email>
  </author>
  <url>http://github.com/tdreyno/jquery-product-slider/commit/5daf610f30ca237e955e9fb654e79bca5500b794</url>
  <id>5daf610f30ca237e955e9fb654e79bca5500b794</id>
  <committed-date>2008-11-19T12:02:26-08:00</committed-date>
  <authored-date>2008-11-19T12:02:26-08:00</authored-date>
  <message>tests and example</message>
  <tree>464c7d4e3a0661cf5e40ed5493a2855a8c4c13dd</tree>
  <committer>
    <name>Thomas Reynolds</name>
    <email>tdreyno@Gir.local</email>
  </committer>
</commit>
