Creating a FIXED element with re-size and scroll detection using YUI dom and event
Posted by Jeffrey Cobb on March 31, 2009
2 comments
Using the YUI Loader and the script below will allow you to implement the YUI framework within your application with out downloading and installing the YUI framework to your server. var loader = new YAHOO.util.YUILoader({ require: ["get","dom","event"], loadOptional: true, onSuccess: function() { YAHOO.util.Event.onDOMReady(init); }, timeout: 10000, combine: true }); loader.insert(); function init(){ console.warn(‘YUI Loaded’); } [...]