Thursday, February 25, 2010

How to put lightbox on your website

I did lightbox task using YUI once.. it took me two days to get that piece of code working... so i was bit apprehensive about light box....

then today i found this "ThickBox" thing which makes light box so easy that it seemed to me that there can be nothing simpler than this...

so first goes the link:
http://jquery.com/demo/thickbox/

Issues:
1. Light box does not capture the tab button....
2. It works on top of jQuery... so it might break with some other javascript library.. but fortuantely in my case Dojo + {ThickBox + Jquery} model worked perfectly..

I am glad it did as it reduced hour long task to seconds...

A small info to add.. this link is good for color coding things..
http://html-color-codes.info/

SJ

No comments:

Post a Comment