~pickle | Please use [ code=html ], [ code=php ], etc tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: Posting Code in the Forums to learn how to do it too.
<script language="Javascript">
function CallAjax(url)
{
http=CreateXHTML();
http.open("GET", url, true);
http.onreadystatechange=function(){
if(http.readyState==4 && http.status==200)
{
alert(''); //Which div should i have to refer?
}
}
http.send(null);
}
</script>
In the link page i am using, <a href="javascript:void(0);" onClick="CallAjax($url)">lightbox link</a>
~pickle | Please use [ code=html ], [ code=php ], etc tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: Posting Code in the Forums to learn how to do it too.
1. I would like to display details of the image. If i use, <a href="images/image-1.jpg" rel="lightbox" title="my caption">link_text</a> I have to send it in title tag and if it is a text link then onmouseover the data are displayed.
2. The table structure is in such a manner it would be easy to retrieve all data of the item from many related tables of a single item.
Lightbox is simple to use. Are you using the core lightbox library or are you using an library with lightbox as a plugin (like jQuery, which makes this super easy to do).
Lightbox is simple to use. Are you using the core lightbox library or are you using an library with lightbox as a plugin (like jQuery, which makes this super easy to do).
Sorry, I know nothing about prototype. I know jQuery has a very easy to use Ajax interface to lightbox (or thickbox) which makes it really easy to use.