Zoom in on image control

  • Thread starter Thread starter David C
  • Start date Start date
D

David C

I have a ASP.Net 2.0 and 3.5 applications that display thumbnails in a
DataList and when clicked on, shows a larger sized image to the right of
that DataList. Is there any way to zoom in on that image and be able to
scroll around like you can on the Google maps page?
p.s. I am using Ajax in both apps.
Thanks.
David
 
you can with javascript. you will need sizied clipping div
(overflow:hidden). then place the image inside. zoom is done by changing
the image size and width. pan is done by changing the images location in
the div. google javascript pan scroll for code examples


-- bruce (sqlwork.com)
 
Back
Top