Category Archives: YUI Mish Mash
Microsoft Loves jQuery
YUI DataTable: Context Menu with “Select/Unselect All” rows
Andy from Coderfoo.com created this excellent example and code sniplet to demo a function he created that uses a context menu to select and deselect all rows from a YUI datatable. At first I simply thought he was just accessing a regular function within YUI but he soon corrected me. He explained that while YUI [...]
Simple YUI Login using Ajax, Cookies and server side auth
JavaScript [login.js] // set up YUI loader var loader = new YAHOO.util.YUILoader({ require: ["container","connection", "cookie", "animation", "button", "dom","event" ], loadOptional: true, onSuccess: function() { Yevent = YAHOO.util.Event; Yconnect = YAHOO.util.Connect; Ydom = YAHOO.util.Dom; Ycook = YAHOO.util.Cookie; // fire of init() function once the document has finished loading and the dom is ready YAHOO.util.Event.onDOMReady(init); }, timeout: [...]