YUI Mish Mash

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",
[...]

YUI TreeView with Drag and Drop nodes

Andy created a very and useful advanced example of using the Yahoo! User Interface TreeView with the capabilites of drag and drop of child nodes to other parent nodes. Here is an exert of his blog and the link.

$coderfoo: YUI TreeView with Drag and Drop nodes

I recently had a need for a YUI (Yahoo User Interface) [...]

Creating a FIXED element with re-size and scroll detection using YUI dom and event

We have all see them and some of us love them. It’s those elements that seem to float on the page like hovering little angels. Ok enough with the sappy crap…down to business. So you need to create a browser independent simple script to position an element on a page. I put together a simple [...]

Override alert() with a YUI Dialog

You know and I know and everyone knows the alert boxes generated by the browsers are OLD-SCHOOL and look like garbage. Well using YUI you can easily change that by just including a little code in you page. Simply add the code below to the bottom of your page just before the end body tag [...]