The Gallery is deprecated. No new Gallery components may be submitted, and modifying existing components is disabled. For more information please read the Gallery Deprecation blog post. This is a static snapshot of the Gallery for archive purposes.
See 11 more by this user. Created: 03/28/10
Last CDN Push: 04/2/10
Build Tag: gallery-2010.04.02-17-26
Project: YUI 3
License: YUI BSD
YUI Version: 3.6.0pr4
Free for use.
Inspired by Bill Scott design pattern called "Stalker Pattern". This plugin will allow you to keep elements at a fixed position "floating" but at the same time, keeping those elements embeded to the layout of the page. The general idea is that an element can control it's own position within the layout in order to keep its area within the viewport boundaries.
Check the example for more details:
http://caridy.github.com/examples/gallery-stalker/simple.html
<script src="http://yui.yahooapis.com/3.6.0pr4/build/yui/yui-min.js"></script>
YUI({
//Last Gallery Build of this module
gallery: 'gallery-2010.04.02-17-26'
}).use('gallery-stalker', function(Y) {
// stalking an element with ID "mytarget"
Y.one('#mytarget').plug(Y.Plugin.NodeStalker);
});
Subject | Author | Date |
---|---|---|
Typo | Eike Hirsch | 07/8/10 |
Stalker with TR's | Jacob Fogg | 06/30/11 |
All code on this site is licensed under the BSD License unless stated otherwise.