Browse Source

docs : copy edits. remove img-ready.js.

pull/14/head
David DeSandro 14 years ago
parent
commit
23dc171a3e
  1. 2
      _posts/demos/2010-12-31-relayout.html
  2. 2
      _posts/demos/2011-01-11-images.html
  3. 2
      _posts/docs/2010-12-01-introduction.mdown
  4. 1
      _posts/docs/2010-12-09-animating.mdown
  5. 7
      js/fake-element.js
  6. 9
      js/img-ready.js

2
_posts/demos/2010-12-31-relayout.html

@ -57,9 +57,7 @@ related: methods
// change size of clicked element
$container.find('.element').live('click', function(){
$(this).toggleClass('large');
// console.time('relayout');
$container.isotope('reLayout');
// console.timeEnd('relayout');
});

2
_posts/demos/2011-01-11-images.html

@ -16,7 +16,7 @@ photos:
---
<section id="copy">
<p>Isotope is triggered after all images are loaded with the <a href="../docs/troubleshooting.html#imagesloaded_plugin"><code>imagesLoaded</code> plugin</a>. </p>
</section>
<div id="container" class="photos clearfix">

2
_posts/docs/2010-12-01-introduction.mdown

@ -83,7 +83,7 @@ Isotope enables a wealth of functionality. But just because you can take advanta
+ [**Jacek Galanciak**](http://razorjack.net/) for [jQuery Quicksand](http://razorjack.net/quicksand/), an early kernel of inspiration
+ [**Ralph Holzmann**](http://twitter.com/#!/ralphholzmann) for re-writing the [jQuery Plugins/Authoring tutorial](http://docs.jquery.com/Plugins/Authoring) and opened my eyes to [Plugin Methods](http://docs.jquery.com/Plugins/Authoring#Plugin_Methods) pattern
+ [**Eric Hynds**](http://www.erichynds.com/) for his article [Using $.widget.bridge Outside of the Widget Factory](http://www.erichynds.com/jquery/using-jquery-ui-widget-factory-bridge/) which provided the architecture for Isotope
+ [**Paul Irish**](http://paul-irish.com) for [Infinite Scroll](http://infinite-scroll.com) (included with docs), the [imagesLoaded plugin](https://gist.github.com/268257) (included with Isotope), [Debounced resize() plugin](http://paulirish.com/demo/resize) (provided base for smartresize), and of course [Modernizr](http://www.modernizr.com/)
+ [**Paul Irish**](http://paul-irish.com) for [Infinite Scroll](http://infinite-scroll.com) (included with docs), the [imagesLoaded plugin](http://gist.github.com/268257) (included with Isotope), [Debounced resize() plugin](http://paulirish.com/demo/resize) (provided base for smartresize), and of course [Modernizr](http://www.modernizr.com/)
+ The [**jQuery UI Team**](http://jqueryui.com/about) for [$.widget.bridge](https://github.com/jquery/jquery-ui/blob/master/ui/jquery.ui.widget.js#L62-107) (used within Isotope)
+ [**Juriy Zaytsev aka "kangax"**](http://perfectionkills.com) for [getStyleProperty](http://perfectionkills.com/feature-testing-css-properties/) (used within Isotope)

1
_posts/docs/2010-12-09-animating.mdown

@ -30,6 +30,7 @@ To enable animation with CSS transitions, you'll need the following code in your
.isotope,
.isotope .isotope-item {
/* change duration value to whatever you like */
-webkit-transition-duration: 0.8s;
-moz-transition-duration: 0.8s;
transition-duration: 0.8s;

7
js/fake-element.js

@ -21,6 +21,9 @@ fakeElement.create = function() {
name = letter1 + fakeElement.getRandom('vowels') + letter2 + fakeElement.getRandom('vowels') + fakeElement.getRandom('constanants') + fakeElement.getRandom('suffices');
number = ~~( 21 + Math.random() * 100 );
weight = ~~( number * 2 + Math.random() * 15 );
return '<div class="' + className + '" data-symbol="' + symbol + '" data-category="' + category + '"><p class="number">' + number + '</p><h3 class="symbol">' + symbol + '</h3><h2 class="name">' + name + '</h2><p class="weight">' + weight + '</p></div>';
return '<div class="' + className + '" data-symbol="' + symbol +
'" data-category="' + category + '"><p class="number">' + number +
'</p><h3 class="symbol">' + symbol + '</h3><h2 class="name">' + name +
'</h2><p class="weight">' + weight + '</p></div>';
};

9
js/img-ready.js

@ -1,9 +0,0 @@
// get under element's DOM tree
// for each image add event listener
// keep track of how many images have loaded
// account for images already loaded?
// once images have all loaded, trigger event
Loading…
Cancel
Save