Do everything with javascript

Monthly Archives: June, 2009

Using YQL as crawler for Javascript

It is a good fun to play with Yahoo! Query Language (YQL). YQL is a service enables applications to query, filter, and combine data from different sources across the Internet. Many data in the Yahoo! network can be retrieved from YQL with a SQL like syntax. SELECT * FROM flickr.photos.search WHERE text=”cat” Means to do [...]

Timestamp convertor

I just come across to work with an API related to timestamp and need to do some time unit conversion. Have tried to found some timestamp converter from the web and firefox addon, but none of converter I find suit my need. So just spend a day to create a converter with a calendar on [...]

Making z-index works

It is common to have element stacking at bottom no matter how large the z-index is. There are 2 things to check when it happens. The position property in CSS z-index only affect elements with position property set to “relative”, “absolute”, and “fixed”.The z-index values of the all the parent Parent elements up the DOM [...]

A play with imageless button

The final result Open in new window What it does Just a basic markup and CSS which create an imageless button. It support zooming / changing font-size. But it is true that imageless button is bad in semantic markup compare to <a> / <input>, as the construct of the button is layers of <div>. If [...]