Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

adding format changes

  • Loading branch information...
commit dee71118011976031d3ad9cee9265d09d9b49c20 1 parent 8283a2e
@addyosmani addyosmani authored
Showing with 5 additions and 6 deletions.
  1. +1 −1  demo/demos.css
  2. +4 −5 ui.coverflow.js
View
2  demo/demos.css
@@ -349,7 +349,7 @@ div.demo-description {
body {
background-color: #000;
- background: url('images/tile.gif');
+
}
View
9 ui.coverflow.js
@@ -1,6 +1,7 @@
/*
* jQuery UI CoverFlow
- Re-written for jQueryUI 1.8.6 by Addy Osmani with adjustments
+ Re-written for jQueryUI 1.8.6/jQuery core 1.4.4 by Addy Osmani with adjustments
+ for perspective change.
Original Component: Paul Bakaus for jQueryUI 1.7 series
*/
(function($){
@@ -18,7 +19,7 @@
options: {
- items: "> *", //> *
+ items: "> *",
orientation: 'horizontal',
item: 0,
trigger: 'click',
@@ -35,14 +36,12 @@
//For < 1.8.2: this.items['outer'+this.props[1]](1);
this.itemSize = 0.73 * this.items.innerWidth();
-
this.itemWidth = this.items.width();
this.itemHeight = this.items.height();
this.duration = o.duration;
this.current = o.item; //initial item
-
-
+
//Bind click events on individual items
this.items.bind(o.trigger, function() {
self.select(this);
Please sign in to comment.
Something went wrong with that request. Please try again.