You could have an onclick in the image, onclick="showFullImage(this)" for example. The showFullImage function is like:
Code:
function showFullImage(Image)
{
var sUrl = "<your url goes here";
sUrl += "?image=" + encodeURIComponent(Image.src);
var oNewWindow = window.open(sUrl, "NewWin", "<feature list here>");
}
If you think ythe browser won't support encodeURIComponent then use the older escape function instead, or try both:
Code:
function encodePath(Data)
{
if (window.encodeURIComponent)
{
return encodeURIComponent(Data);
}
return escape(Data);
}
--
Joe (
Microsoft MVP - XML)