Tag Archives: yui

“YUI 2.8: Learning the Library” Free Chapter

Grab a free chapter of the latest YUI book from Packt Publishing, “YUI 2.8: Learning the Library.” The free chapter covers something we all use a lot, menus. I’m checking it out now, and suggest if you use, or are thinking about using YUI, you do the same since it’s free. I’ve been using YUI [...]

Also tagged | Leave a comment

Scoping Javascript closures in loops

It must have been something I ate, cause this is like the third post in 2 days I think! This is a quick one, but super handy to know if you don’t already. There is semi-common problem I run into, and it has to do with scoping of closures inside of loops. Lets get straight [...]

Also tagged , | 1 Comment

Followup on YUI : getFirstDescendantBy()

Awhile ago I posted on an additional function for YAHOO.util.Dom called getFirstDescendantBy(). I was following the ticket submitted to the YUI Sourceforge tracker, and saw that it had been closed out, and that a new function called YAHOO.util.Dom.getElementBy() was added to fill this request. I decided to check out the newly available YUI source code [...]

Also tagged | 1 Comment

Javascript widget approaches: Singleton vs Prototype

Recently I’ve been doing some work setting up some standard javascript widgets for a web application I am working on. By widget, I’m referring to items such as javascript date pickers, tooltips, autocomplete inputs, etc. I’m building on top of YUI for this approach, but the principles I’d like to discuss are applicable to any [...]

Also tagged | 6 Comments

Javascript getFirstDescendantBy()

Update – Jan 22, 2009 A new native YUI function is in the works, and does this job better Recently I was working on optimizing some javascript, and found a slow area that was trying to find the first focusable input in a certain area of the page, and it was taking anywhere from 100 [...]

Also tagged | 4 Comments

Page optimized by WP Minify WordPress Plugin