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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T11:33:07+00:00 2026-06-03T11:33:07+00:00

I am using jquery layout for the layout of my application. http://layout.jquery-dev.net/demos/complex.html I have

  • 0

I am using jquery layout for the layout of my application. http://layout.jquery-dev.net/demos/complex.html
I have a list of elements that can be dropped from the West Pane on to the Inner pane. Now when I am trying to drag any of the li s, the item is going to the back i.e the west pane scrolls to the right and the node does not come to the center pane. I was thinking that this might be a z-Index issue, but even though I did set the zIndex value to a max value(10000), it does not work. Is there any way I can make this work?

Code I have used to drag and drop is :

//nodetitle is a class associated with a span on the West Pane

     $(".nodetitle").draggable({
            helper: 'clone',
            zIndex: 2700,
            create: function () {
                var $self = $(self);
            },

            stop: function () {
                var $self = $(self);
            },
            drag: function (event, ui) {
                cursor: 'move';
                helper: 'clone';
            },

            revert: function (event, ui) {
                return !event;
            }

        });

//treedroppable is a div id in the Inner Pane

            $('#treedroppable').droppable({
            activeClass: 'ui-state-hover',
            hoverClass: 'ui-state-active',
            drop: function (event, ui) {

                if (ui.draggable.attr('class') == "nodetitle") {

                var droppedWidget = $($(".nodetitle").clone());
                document.write(droppedWidget);

                }

                return true;
            }


        });

Can anyone let me know where am I missing ?

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-03T11:33:09+00:00Added an answer on June 3, 2026 at 11:33 am

    Basically the following options need to be on the draggable control:

                   helper: 'clone',
                    revert: true,
                     appendTo: 'body',
                    scroll: false,
                    revertDuration: 0,
                    zIndex:9999999
    

    The key is scroll should be set to false and appendTo should be set to body.

    simple enough but I had to dig a lot many places to get the final answer.

    Anirban

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

Sidebar

Related Questions

For my mobile app I am using jquery mobile with multipage layout (one html,
I am using jquery layout and I have a very hard time getting rid
I have a Zend Framework application that is making use of jQuery UI. In
Im developing a mobile application using phonegap and jquery mobile. I created the layout
I have been building a dynamic form in my Zend Framework application using Jquery
I am currently using jQuery to load a variable php layout depending on the
I'm using the jQuery slideshow plugin in a fluid layout. However the plugin sets
I'm using the jquery isotope plugin (and infinite scrolling) + fitvids.js in a layout.
Using jQuery , how can I dynamically set the size attribute of a select
I am using the jQuery layout plugin and the jqGrid plugin in one of

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.