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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T13:37:18+00:00 2026-05-25T13:37:18+00:00

I am using the jQuery UI sortable feature with a connected list through tabs

  • 0

I am using the jQuery UI sortable feature with a connected list through tabs. The jQuery code that initializes this is as follows:

$( "#sortable1, #sortable2, #sortable3, #sortable4, #sortable5, #sortable6, #sortable7, #sortable8, #sortable9, #sortable10" ).
    sortable({ 
        placeholder: 'sortable-placeholder', 
        forcePlaceholderSize: true, 
        opacity: 0.7
});

$('.tabs').tabs();
var $tabs = $( ".tabs" ).tabs('paging', { follow: true, followOnSelect: true, tabsPerPage: 5});

var $tab_items = $( "ul:first li", $tabs ).droppable({
    tolerance: "pointer",
    accept: ".connectedSortable li",
    hoverClass: "ui-state-hover",
    drop: function( event, ui ) {
        var $item = $( this );
        var $list = $( $item.find( "a" ).attr( "href" ) )
            .find( ".connectedSortable" );

        ui.draggable.hide( "fast", function() {
            $tabs.tabs( "select", $tab_items.index( $item.prev() ) );
            $( this ).appendTo( $list ).show( "fast" );
        });
    }
});

The sorting, drag and dropping works beautifully. The issue is with the opacity. When I sort on the same tab, the original element comes back (I am assuming the helper is eliminated). BUT when I drag the list item to another tab, the opacity remains (I am assuming the helper is element that is dropped in this case). Can someone point me in the right direction?

Any comments or suggestions would be greatly appreciated.

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-25T13:37:19+00:00Added an answer on May 25, 2026 at 1:37 pm

    I figured it out. The opacity can simply be changed back via .css(). I could have sworn I tried this before and it didn’t work but it did!

    $( this ).appendTo( $list ).show().css({'opacity':'1'});
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have built a sortable list using jQuery UI's sortable feature, this is working
i am using this jquery to make a drag and drop sortable list. http://jqueryui.com/demos/sortable/
We have a sortable list using JQuery UI Sortable that we are trying to
Im using jquery sortable and connected lists that works great. I have two lists,
I have a sortable list of folders using JQuery UI. The thing is that
I'm using the sortable function in jquery to sequence a faq list. Needless to
I'm using jQuery UI Sortable to make a list categorizable. I'm stuck on the
I am using jQuery UI; Draggable http://jqueryui.com/demos/draggable invoked like this: $(document).ready(function(){ $(#side_bar).sortable({ revert: true
I have a list powered by jQuery UI's sortable that allows a user to
I have am using a sortable jQuery list. I would like to send the

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.