Archive > December 2008

Time Pickers in javascript

Truth be told,  from a usability point of view, a date picker has much more sense than a time picker. Anyway I like to to explore the different implementations out there 😉 The objective for a time picker is to let the user set the time in hours and minutes, in 24-hour format, or even […]

Continue reading

, ,

Rounding corners: the javascript way

After taking a look on how round corners on some browsers, I think it’s worth exploring other methods, like doing this with javascript. Rounding corners is not difficult, in general, the problem is that you should use some “hacks”,  it is not the same rounding corners using a style on a unique DIV, than using […]

Continue reading

, , , , , ,

CSS3 rounded corners

CSS3 support for rounded corners is not news, what I haven’t realized yet, was that some browsers support rounded corners natively (in fact, the support has been added long time ago). According to the CSS3 spec, it should be enough to use the style “border-radius” to set the rounding, unfortunatelly, browsers do not support this […]

Continue reading

, , , , , , ,

Manso trick: how to force the browser to reload an image

It is not difficult to find yourself programming a beautiful AJAX web page and realizing you have to reload an image, because it has been changed in the server. As you use AJAX  in your web site,  it is not desirable to make the user reload the page for just viewing an update image (not […]

Continue reading

, ,

WordPress 2.7 and multi-language support

I started writing this blog in Spanish, around one month ago, and I was thinking somehow that it would be great to write some of the articles in both Spanish and English, so I decided to do my move on this, and add support for multiple languages. Apart from the multi-language thing, I was also […]

Continue reading

, , , ,

How to reset a form in jQuery

Reseting the form to it’s initial values is one of those things you often do once and once again. Doing this task with jQuery is really easy: $(’#FormID’).each (function(){ this.reset(); }); The thing is, that the code above iterates through each element of the form, and calls to the DOM “reset” javascript method. In fact, […]

Continue reading

, , , ,