Bug Tracker

Opened 15 years ago

Closed 15 years ago

Last modified 12 years ago

#3836 closed enhancement (invalid)

ui.draggable('disable') ... Remove "stack" z-index ?

Reported by: trave Owned by:
Priority: trivial Milestone: 1.3
Component: plugin Version: 1.2.6
Keywords: draggable disable stack z-index Cc: trave801@…
Blocked by: Blocking:

Description

EXAMPLE URL:

http://trave.onai.net/systems/trave/solitaire.html (.html file attached)

Each card is assigned:

.draggable({stack:{group:'#pnlSolitaire B I', min:1}})

All cards are then:

.draggable('disable');

Certain cards are later allowed by:

.draggable('enable');

PROBLEM:

Once a card has been dragged, its Z-Index is in higher order than the rest of the pile it was part of.

ENHANCEMENT:

Would it be possible that the original Z-Index of the element be returned to its native state upon "return:true", and/or .draggable('disable'); ?

Attachments (1)

solitaire.html (7.9 KB) - added by trave 15 years ago.
HTML CSS and JS for the beginnings of a Solitaire game

Download all attachments as: .zip

Change History (2)

Changed 15 years ago by trave

Attachment: solitaire.html added

HTML CSS and JS for the beginnings of a Solitaire game

comment:1 Changed 15 years ago by john

Resolution: invalid
Status: newclosed

This should be filed in the jQuery UI bug tracker: http://ui.jquery.com/bugs

Note: See TracTickets for help on using tickets.