views:

38

answers:

3

Can i have a popup window in asp page when i click on a hyperlink? and on that popup can i display my image?

plzz help....thanxx...

A: 

I'm not sure if you are looking for a popup like this that shows an image in larger size and in a popup (I like the FancyBox). Or you are looking for some modal popup box with some icon in it. If you are looking for general purpose modal dialog box here are listed some really nice popup boxes.

Teddy
can i have a sample query ..?
jasmeet
jasmeet
Which popup did you like?
Teddy
Here is a sample code for the fancyBox http://fancybox.net/howto
Teddy
A: 

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.

Dan Iveson
A: 
<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!

Tom Gullen