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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T01:47:15+00:00 2026-06-18T01:47:15+00:00

I found a nice script, http://mjsarfatti.com/sandbox/nestedSortable/ , which is almost perfect for me. I

  • 0

I found a nice script, http://mjsarfatti.com/sandbox/nestedSortable/, which is almost perfect for me. I just can’t find out one little thing.

I want to disable some items to drag. I looked in the readme, tried some options, but didn’t get what I wanted.

Could someone tell me how I can disable an item to be dragged?

  • 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-18T01:47:17+00:00Added an answer on June 18, 2026 at 1:47 am

    All the instructions are here http://jqueryui.com/sortable/#items

    In your code that I extracted and put here http://jsfiddle.net/axgTF/1/

    change

    items: "li",
    

    to

    items: "li:not(.dontsortme)",
    

    and add that class to the items you want to disable from sorting, e.g.

    <li id="list_10" class="dontsortme"><div><span class="disclose"><span></span></span>Item 5</div>
    

    Which you can see working here http://jsfiddle.net/axgTF/2/ (Item 5 is disabled)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I just found a nice script you can see it over here http://demo.tutorialzine.com/2012/10/css3-dropdown-menu/ I
I found a nice little script on snippr( http://snipplr.com/view.php?codeview&id=799 ) that gives me the
I found a nice script to import xml using powershell http://slash4.de/tutorials/Automatic_mediawiki_page_import_powershell_script Currently I don't
I just found out about yield return , I seems really nice. I use
can anyone recommend me nice tooltip script which is javascript library independent, meaning no
I found this nice email protector script from css-tricks.com (link) Here is the code:
I found a javascript snow script. Here is the fiddle: http://jsfiddle.net/wj2K4/ (very nice) Its
I just found a nice tutorial that will help me implement an easy user
just was reading this article http://highscalability.com/blog/2010/3/23/digg-4000-performance-increase-by-sorting-in-php-rather-than.html And found this nice article http://wiki.apache.org/cassandra/DataModel I just
I found an nice script while searching and inspecting the elements of some websites.

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.