SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Zealot bopjo1's Avatar
    Join Date
    Jun 2007
    Location
    Tampa, FL
    Posts
    110
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    JQuery image pan controlled by mouse position?

    Hi all,

    Can anyone recommend a Jquery plugin that will do this:

    One Biscayne Tower

    Moving the mouse to the left or right moves the image smoothly in the opposite direction.

  2. #2
    #titanic {float:none} silver trophy
    molona's Avatar
    Join Date
    Feb 2005
    Location
    from Madrid to Heaven
    Posts
    8,246
    Mentioned
    240 Post(s)
    Tagged
    1 Thread(s)
    I don't know of any plug-in although I'm sure that there will be one around. You should search in Google or in jquery.com and maybe someone else may be of assistance here

    Yet, if that doesn't work, search for horizontal scrolling. While most of the horizontal scrolling tutorials are related to menus, it can be adapted to what you want: move from one side to the other smoothly.

    Also, it may be better to ask in the main Javascript forum. If you want me to move this thread, let me know.

  3. #3
    Unobtrusively zen silver trophybronze trophy
    paul_wilkins's Avatar
    Join Date
    Jan 2007
    Location
    Christchurch, New Zealand
    Posts
    14,717
    Mentioned
    103 Post(s)
    Tagged
    4 Thread(s)
    While it's not exactly the same, I came across one today called zLayers
    Check out for example this Jack O'Lantern demo.

    Version 0.3 of it is currently being developed as we speak, and will allow the easing technique that is in the example you wish to duplicate.
    Last edited by paul_wilkins; Apr 3, 2011 at 03:49.
    Programming Group Advisor
    Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
    Car is to Carpet as Java is to JavaScript


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •