topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday March 28, 2024, 5:50 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

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

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
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
    • View Profile
    • Donate to Member
Re: Javascript panning image screenshot idea - does this exist yet?
« Reply #1 on: July 12, 2006, 01:20 AM »
must say, great idea.

jgpaiva

  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • View Profile
    • Donate to Member
Re: Javascript panning image screenshot idea - does this exist yet?
« Reply #2 on: July 12, 2006, 03: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, 03:40 AM by jgpaiva »