r1527 - branches/paul/suite/demos/coverflow

r1527 - branches/paul/suite/demos/coverflow


Author: paul.bakaus
Date: Tue Jan 6 07:54:38 2009
New Revision: 1527
Modified:
branches/paul/suite/demos/coverflow/index.html
Log:
paul-dev: coverflow: fixed max value for slider configuration
Modified: branches/paul/suite/demos/coverflow/index.html
==============================================================================
--- branches/paul/suite/demos/coverflow/index.html    (original)
+++ branches/paul/suite/demos/coverflow/index.html    Tue Jan 6 07:54:38 2009
@@ -1,6 +1,7 @@
<html>
    <head>
        <title>Coverflow featuring css transitions</title>
+        
        <style type="text/css" media="screen">
            body,html { margin: 0; padding: 0; background: #000; height: 100%;
color: #eee; font-family: Arial; font-size: 10px; }
            
@@ -40,7 +41,7 @@
            }
            
            div.ui-slider-handle {
-                position: absolute; top: 0px; left: 0px;
+                position: relative; top: 0px; left: 0px;
                height: 100%; width: 181px;
    background: url(handle.png) no-repeat; cursor: pointer;
cursor: hand;
            }
@@ -63,7 +64,7 @@
                
                $("#slider").slider({
                    min: 0,
-                    max: $('#coverflow').length-1,
+                    max: $('#coverflow > *').length-1,
                    slide: function(event, ui) {
                        $('#coverflow').coverflow('select', ui.value);
                    }