latest blog header image

resources for designing for iPhone

Tuesday, November 24th, 2009 at 12:44 pm

Here are few resources that will be very helpful for you as you design the look and feel of your iPhone app:

Posted in resources, design
by Danny

CSS hack for firefox

Wednesday, November 4th, 2009 at 2:36 pm

In case you need to add a CSS definition only for FF 1 or 2, check out this article (with examples): CSS hack for Firefox only

by Danny

tutorial: sprite for input field

Tuesday, October 20th, 2009 at 9:27 am

Today, I had a need to create a hover state for a button. I knew how to do that easily if it were an image. I could just use the onMouseOver attribute and insert a little javascript to swap out the image on hover.

That doesn’t work for input field.

I thought about using javascript, but that feels like an overkill and whenever possible, I try to avoid writing script.

Then I came across the following tutorial on applying a sprite technique to the input field.

It’s a really easy to follow tutorial. I got it working in less than 30 minutes. If you want to learn about this technique, you should give this one a try.

by Danny

wanna know who tweet about your site?

Friday, September 25th, 2009 at 9:30 am

I found this site that allows you to do just that: http://backtweets.com/. A good way to see where traffic comes from and to feed the narcissist in you.

by Danny

tutorial and code for js/css layer visibility toggle

Thursday, September 3rd, 2009 at 9:44 am

As part of the prototype that I’m building, I need a js to hide and show a layer.

I did a little search on that and came across this nice page that tells you how to do it and also provide the code that you can copy and paste to your own code.

Enjoy! Showing and Hiding a DIV using CSS and Javascript

by Danny

Various WP plugin for flickr

Wednesday, September 2nd, 2009 at 10:03 pm

Ever wanted to show the pictures you uploaded to flickr on your WP blog? Here are various plugins that you can use to do that: 10 Amazing Wordpress Plugins for Flickr

by Danny

conditional tags for WP

Wednesday, September 2nd, 2009 at 10:02 pm

As I worked on the theme for my bodypainting site that also uses WP as the back end, realized that I might need some kind of conditional tags to hide and show modules in different templates, particularly to make the home page looks different from the static pages.

I came across the following page that list the conditional tags that you can use in your theme: Conditional Tags

by Danny

which lightbox/modal solution to use?

Wednesday, September 2nd, 2009 at 8:32 am

I’m currently building a prototype that requires a modal view for one of links. So I did a little search and I came across this list(Which Lightbox is right for you?) of various lightbox/modal window solutions out there with description for each.

The description is very helpful for me since I’m looking for a solution for HTML content while the lightbox solution I used in the past only works for images.

Posted in DHTML
by Danny