Caridy Patino![]()
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 |
© 2006-2013 Yahoo! Inc. All rights reserved.
All code on this site is licensed under the BSD License unless stated otherwise.
About This Site · Security Contact Info