Geeks With Blogs
Gaurav Taneja Great dreams... never even get out of the box. It takes an uncommon amount of guts to put your dreams on the line, to hold them up and say, "How good or how bad am I?" That's where courage comes in.

Javascript

<script language="javascript" type="text/javascript"  >
function openPopUp(sPicURL)
{
     var win=window.open(sPicURL, "","menubar=no,scrollbar=yes,resizable=no,width=700,height=600");
     return false;
}
function openImagePopUp(sPicURL)
{
     window.open("../common/contentImagePopup.htm?"+sPicURL, "","width=250px,height=180px,top=360px,left=180px,resizable=no,menubar=no");
}

</script>


Cs code

  imgPhoto.Attributes.Add("onclick", "javascript:openImagePopUp('" + strPath + "');");

Posted on Wednesday, April 16, 2008 10:37 PM Javascript | Back to top


Comments on this post: Displaying Image in a Popup

No comments posted yet.
Your comment:
 (will show your gravatar)


Copyright © Gaurav Taneja | Powered by: GeeksWithBlogs.net