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

  • SEARCH
  • Home
  • 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 7612757
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T01:59:39+00:00 2026-05-31T01:59:39+00:00

I am applying draggable event of jQuery UI library to a popup window. Dragging

  • 0

I am applying draggable event of jQuery UI library to a popup window. Dragging works well,but the problem is, if the window has scroll and if I click on the scroll drag event is triggered and popup is being moved and drag event is not released even the scroll event is released… Can you please tel me how to overcome it…

Here is my code snippet…..Please check and let me know what’s the error

<html>
 <head>
  <title> New Document </title>
  <meta name="Generator" content="EditPlus">
  <meta name="Author" content="">
  <meta name="Keywords" content="">
  <meta name="Description" content="">

  <script type="text/javascript" src="http://ajax.microsoft.com/ajax/jquery/jquery-1.4.2.min.js" ></script>
  <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-ui.min.js" ></script>

 <style>
  #Outer{
   width:400px;
   height:100px;
   border:1px solid blue;
   position:absolute;
    overflow:auto;
  }
  #Hdr{
   background:#ffcc99;
   border-bottom:1px solid blue;
  }
 </style>
 </head>

 <body>
  <div id="Outer">
    <div id="Hdr">About India</div>
    <div>
      The Indian economy is the world's tenth-largest by nominal GDP and third-largest by purchasing power parity (PPP).
      Following market-based economic reforms in 1991, India became one of the fastest-growing major economies; it is considered a 
      newly industrialised country. However, it continues to face the challenges of poverty, illiteracy, corruption, and inadequate public healthcare.
    </div>
  </div>
  </body>

  <script>
   $(document).ready(function(){
    $('#Outer').draggable();
   });
  </script>
</html>
  • 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-31T01:59:41+00:00Added an answer on May 31, 2026 at 1:59 am

    You may want to use a handler to bypass that problem: Like here fiddle

    HTML :

     <div id="Outer">
        <div id="Hdr">About India</div>
        <div id="Inner">
          The Indian economy is the world's tenth-largest by nominal GDP and third-largest by purchasing power parity (PPP).
          Following market-based economic reforms in 1991, India became one of the fastest-growing major economies; it is considered a
          newly industrialised country. However, it continues to face the challenges of poverty, illiteracy, corruption, and inadequate public healthcare.
        </div>
      </div>
    

    CSS:

    #Outer{
       width:400px;
       border:1px solid blue;
       position:absolute;
      }
    #Inner {
       width:400px;
       height:80px;
       position:absolute;
       border:1px solid blue;
       overflow:auto;
    }
      #Hdr{
       background:#ffcc99;
       border-bottom:1px solid blue;
      }
    

    JS :

       $(document).ready(function(){
           $('#Outer').draggable({handle: "#Hdr"});
       });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am applying regex on my window form using c#. but regular expression on
I am applying Animation Drawable with some smoke like animation. It works properly everywhere
I'm applying the strikeout tag: <s>$5,000,000</s> But the line is too low.. .it's about
I've tried applying several suggestions found on the web, but still experiencing cached results
I have a problem applying css to the web pages, using spring security (3.0.7
[SOLVED]: Applying proper list iteration procedure fixed problem. (Shown below) I currently have a
When applying the kCTParagraphStyleSpecifierParagraphSpacing style, it has no visual effect to the rendered text.
Is there any problem applying multiple transforms to a UIView and it's corresponding CALayer?
I am applying a ViewerFilter to a tree of a few branches, but mostly
I'm applying some css3 effects using a function it works fine on body page

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.