YUICalendar Helper: Creating YUI calendars using just a class name

We have all had to create calendar pop up and usually the first thing that comes to mind is “Which calendar pop-up application am i going to use?” Well, YUI certainly makes it an easy decision because it looks good and is fairly easy to create. So when the need arose to create a form [...]

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

Inserting a new element before the end body tag using Yahoo Util DOM

An example of how to create elements in javascript then attach/append them to other elements using YUI.

Adding up column data in the YUI Datatable

At times it becomes necessary to add up the data with in a column. Here is a nice little snippet that can do just that. Change DATATABLE with the name of the data table you need to read. Change COLUMNNAME with the column key in the table you need to read. // First get the [...]

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