Hi

I'm trying to create a small widget for some of my friends's blogs.
The idea is, I'll give them a JavaScript code to them and they will paste that code in their blog(like Adsense). So, when rendered(ie. when some view that blog), they will see an image. Which upon clicked will popup a screen like in LightBox and will display some content inside it. The content will be generated dynamically. Means, a PHP page will be queried(which will be residing in my server) and the output of the query will be displayed in the LightBox kind of way.

Please enlighten me by providing some details on how to do this or solutions or where to start.

Thanks