469,643 Members | 2,064 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,643 developers. It's quick & easy.

Popup same image when clicked on image button in asp.net

Hi all

I m using image buttons for images(thumbnails).

as per my requirement i am assigning images to this image button.

i want to give a pop up when this image button is clicked containin same image(full size).

please help me

thankin in advance

cheers
Feb 6 '08 #1
1 1878
<script>
function changeSize(image)
{
//var width=images.width;
//var height=images.height;
imPrev = window.open(image.src, 'imagePreview', 'toolbar=0,scrollbars=0,location=0,statusbar=0,men ubar=0,resizable=0,width=800,height=700,left = 100,top = 100');

}

</script>

-----------------------------------------
In html write this code for image control

onclick="return changesize(this);"
Mar 12 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

13 posts views Thread by theintrepidfox | last post: by
20 posts views Thread by ruca | last post: by
11 posts views Thread by Alex.Svetos | last post: by
8 posts views Thread by JJ | last post: by
1 post views Thread by srinivasreddypn | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.