Perhaps you have a popup blocker?
In any case try adding this to see if you call looks valid:
Code:
function openNewWin(linkURL)
{
var sFeatures = "scrollbars, top="+winTop+", left="+winLeft+", height="+winHeight+", width="+winWidth+"";
alert(linkURL + "\n" + sFeatures);
window.open(""+linkURL+"", "", sFeatures);
}
Normally "scrollbars" has "=yes" or "=no" for example.
Your <a> element should also be:
Code:
<a href="javascript:openNewWin('/TestSite/jsp/showPhoto.jsp');">...</a>
in the source of the page, use view source to check, I think your quotes are missing.
Also try a simple window.open(linkURL) on its own.
--
Joe (
Microsoft MVP - XML)