Posts tagged 〝webdevtrick〞

(page 5 of 12)

Progressively enhancing autocomplete

October 26th, 2007 at 11:14 am

Use a plain list of search links as a no-JavaScript fallback that seeds a YUI AutoComplete control, loading its dependencies on demand via YAHOO_config.


Hacking Flickr the JSON way

October 22nd, 2007 at 12:32 am

Get Flickr photos into JavaScript without the full API: switch a feed URL's format from atom to json, define jsonFlickrFeed and change image size suffixes.


Dynamically including YUI components with YAHOO_config

September 3rd, 2007 at 11:53 am

Load YUI components on demand with dynamic script tags and use a YAHOO_config listener to know when each module, such as animation, is ready to use.


Enhancing YUI grids with equal height columns

August 30th, 2007 at 7:48 am

A drop-in script using YUI Dom and Region that gives nested YUI Grids columns equal heights, optionally limited to grids marked with a “columnfix” class.


Monitoring element size and position with the YUI

August 28th, 2007 at 2:40 pm

A guide to the YUI Dom Region utility: get element positions, check containment, union and intersection of regions, and calculate reliable widths and heights.