Can I have a popup window in ASP page when I click on a hyperlink? And on that popup, c开发者_开发问答an I display my image?
The simplest and most basic way would be <a href="path_to_image" target="_blank">link text</a>
which will open the link in a new browser window.
<A HREF="javascript:void(0)"
onclick="window.open('images/myimage.jpg',
'imagePop','width=300,height=200,menubar=yes,status=yes,
location=yes,toolbar=yes,scrollbars=yes')">
Open a new window</A>
Change the yes values to no if you don't want them, experiment!
精彩评论