DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Javascript panning image screenshot idea - does this exist yet?  (Read 5,816 times)

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
I thought up a really cool idea for a little javascript widget that would be useful on software web pages.

The idea:
One often wants to put up thumbnail screenshots on a software page.  The typical approach is to make a thumbnail of the page.
Sometimes however the results is too small to see, so instead you'll see a 100% normal zoom of a corner of the image, like so:
mycaps Screenshot - 001 , 12_46_AM , Jul 12 2006.png

So i was thinking it would be nice if, instead of requiring designer to make such a mini corner image - what if you could use a java script on a web page to say: "take this full sized image, and show it in a box of size X by Y, and let the user pan the images with the mouse".

so a user could actually click and drag the image around inside the box.

Does this exist yet? Any javascript coders want to give it a try?

nudone

  • Cody's Creator
  • Columnist
  • Joined in 2005
  • ***
  • Posts: 4,119
    • Cody Award
Re: Javascript panning image screenshot idea - does this exist yet?
« Reply #1 on: July 12, 2006, 06:20 AM »
must say, great idea.

jgpaiva

  • Artificial Idiocy
  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • Cody Award
    • Participated in NANY Challenge Once
    • Coding Snacks
    • Portugal Inhabitant
    • Linux User
Re: Javascript panning image screenshot idea - does this exist yet?
« Reply #2 on: July 12, 2006, 08:34 AM »
Oh yeah, the blog could use that! :D

[edit]a small google search and i found this.I've just tested it, it works just perfectly and the source code is available at the page! :D [/edit]
« Last Edit: July 12, 2006, 08:40 AM by jgpaiva »

Original address: https://www.donationcoder.com/forum/index.php?topic=4319.0