Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7687603
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T19:44:24+00:00 2026-05-31T19:44:24+00:00

i want to know how work facebook new timeline image reposition with jquery? this

  • 0

i want to know how work facebook new timeline image reposition with jquery?

this example is similar to facebook image dragging but this is not working with image size limit: http://oneblackbear.com/draggable/index.html

i want same facebook image reposition code.

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T19:44:25+00:00Added an answer on May 31, 2026 at 7:44 pm

    Try this demo!

    $(".image_drag img").draggable({
    
        stop: function(ev, ui) {
            var hel = ui.helper, pos = ui.position;
            //horizontal
            var h = -(hel.outerHeight() - $(hel).parent().outerHeight());
            if (pos.top >= 0) {
                hel.animate({ top: 0 });
            } else if (pos.top <= h) {
                hel.animate({ top: h });
            }
            // vertical
            var v = -(hel.outerWidth() - $(hel).parent().outerWidth());
            if (pos.left >= 0) {
                hel.animate({ left: 0 });
            } else if (pos.left <= v) {
                hel.animate({ left: v });
            }
        }
    
    });
    

    Or you can set manually the containment for your element:

    jsBin demo

    $("img").draggable({ containment: [-99, -119, 0, 0], scroll: false });  
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I just want to know why this doesn't work (I am trying to name
I know I could have an attribute but that's more work than I want
I am new to facebook dev, I read the document but still not getting
I've Facebook application's APP_ID, but i don't know how to see this facebook application?
I want to know how malloc and free work. int main() { unsigned char
He want's to know our opinions on whether we should have flexitime, allow non-work
I want to work on intelliJ on my webapps and I don't know how
I want to know how to work with connected clients on TTcpServer class? I
I'm using code similar to below: var image = new Image(); image.src = http://youtube.com/favicon.ico;
I want to understand how facebook notifications work. When someone like your posts, comments,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.