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 9122361
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T06:05:11+00:00 2026-06-17T06:05:11+00:00

I want to move an element by dropping the list item on the appropriate

  • 0

I want to move an element by dropping the list item on the appropriate tab.
I use a solution of Simon Battersby, to add a stylized scroll bar on the list:
Vertical Scrollbar Plugin using jQueryUI Slider.
I used the following solution to the list item is visible when you drag across the screen:
jQuery Draggable and overflow issue.

My sample is http://jsfiddle.net/XmahV/

The following code works when helper=”original” in the sortable options:

drop: function( event, ui ) {
   var $tabItem = $( this );
   var $list = $( $tabItem.find( "a" ).attr( "href" ) ).find( ".sortable" );

   **ui.draggable.hide( "slow", function() {
   $(this).appendTo($list).show();//it does not work in my case
   });**              

}

But in my case helper=”clone”:

$( ".sortable" ).sortable({
                    connectWith: ".sortable",
                    //Need to drag across the entire window. Overflow issue.
                    appendTo: "body",  
                    containment: "window",
                    scroll: false,
                    helper: "clone"
                    //End Overflow issue.
        });

Can someone help me move a list item, when lowering the tab title?
Or can someone tell me how in my case remove the item from the list, when you transfer the item to the header of the tab?

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-06-17T06:05:12+00:00Added an answer on June 17, 2026 at 6:05 am

    The fact is that the original element is hidden in case of ‘clone’ option is in use. Therefore, you cannot re-hide a element already hidden… It is why it was not working. I have just display the original element before your code : http://jsfiddle.net/XmahV/4/

    var $tab_items = $("ul:first li", $tabs).droppable({
      accept: ".sortable .dragItem",
      hoverClass: "ui-state-hover",
      start: function (event, ui) {},
      stop: function (event, ui) {},
      receive: function (event, ui) {},
    
      drop: function (event, ui) {
        var $tabItem = $(this);
        var $list = $($tabItem.find("a").attr("href")).find(".sortable");
    
        //In case of clone helper, you must force to display the original element before hide it
        ui.draggable.show();
        ui.draggable.hide("slow", function () {
          $(this).appendTo($list).show();
        });
    
      }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to change position of list item button and after I move the
I have an image that I want to move. I can move the element
I'm doing a chess game. In there, I want to move an element with
I want to move my child nodes attributes as element to parent. for ex.
I want to, on click, move an element inside a div unless it's already
In our page,we often use the javascript based animation to make the element move/resize,most
I want to set attributes to span element when the mouse move over a
I would like to move one DIV element inside another. For example, I want
I want to move element of array present at 1st index to the 5th
I want to move certain element from a to b: boost::ptr_vector<Foo> a, b; //

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.