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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T18:06:00+00:00 2026-05-13T18:06:00+00:00

first, have to look at this dragndrop ( http://code.google.com/p/jquery-drag-and-drop/ ) what i want to

  • 0

first, have to look at this dragndrop (http://code.google.com/p/jquery-drag-and-drop/)

what i want to ask is , isit possible to add a ACTIVE “window” onClick???

example:

i got 3 window dragable, name drag1 , drag2 and drag3

drag1 zIndex=”98″

drag2 zIndex=”99″

drag3 zIndex=”100″

when i click on the drag1, change the drag1 zIndex value to highest than all the other drag.

after that,

i click drag3, also change the drag3 zIndex value to highest than all the other drag.

also high than the drag1

example2:

set a ACTIVE drag onClick???

  • 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-13T18:06:00+00:00Added an answer on May 13, 2026 at 6:06 pm

    Okay, I think I see what you are going for. You should use the jqueryui method draggable. It has an option stack that automatically gives the dragged item the highest z-index.

    example

    <script type="text/javascript">
    $(function() {
        $('.boxes').draggable({stack:{group: ".boxes", min:100}});
    });
    </script>
    <style type="text/css">
    #wrapper {
        height: 500px;
        width: 700px;
        background-color: #fffac0;
        border: 2px dashed #fffa0d;
    }
        .boxes {
             width: 100px;
             height: 100px;
             border: 1px solid #bbb;
         }
         #box1 {
             background-color: red;
         }
         #box2 {
             background-color: green;
         }
         #box3 {
             background-color: blue;
         }
    </style>
    
    <div id="wrapper">
        <div id="box1" class="boxes"></div>
        <div id="box2" class="boxes"></div>
        <div id="box3" class="boxes"></div>
    </div>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have tried this example http://www.bennadel.com/blog/1056-ColdFusion-CFPOP-My-First-Look.htm , but it retrieve emails from POP server.
First, have a look at this code: Dictionary<int,int> dict = Dictionary<int,int>(); dict[3] = 1;
Please have a look at this code: Card *first = [[Card alloc] initWithFace:@Ace andSuit:@Hearts];
First of all have a look at the following code (in this code shape
First of all, have a look at this example of the layout I'm trying
Have a look at this F#/OCaml code: type AllPossible = | A of int
Have a look at this code snippet: int i = 10; int *pi =
Have a look at the menus on this page: http://www.pieterdedecker.be/labs/vspwpg/?page_id=96 They look okay in
i have a table (tbl_world) which look like this id | first_name | last_name
First I have install Mac 10.6.3 on my system now I want to install

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.