Opened 14 years ago

Closed 14 years ago

#4709 closed feature (fixed)

Add zIndex setter/getter method

Reported by: Scott González Owned by:
Priority: minor Milestone: 1.8
Component: ui.core Version: 1.7.2
Keywords: Cc:
Blocked by: Blocking:


Add a method for getting/setting zIndex. When getting the zIndex, the method should traverse up the DOM until it finds an element that has explicitly set a zIndex.

Attachments (1)

zIndex.patch (709 bytes) - added by Scott González 14 years ago.

Download all attachments as: .zip

Change History (4)

Changed 14 years ago by Scott González

Attachment: zIndex.patch added

comment:1 Changed 14 years ago by Scott González

Patch contains implementation, needs tests.

comment:2 Changed 14 years ago by Jörn Zaefferer

Patch currently returns a string when a zIndex was found. Wrap in parseInt to always return a Number.

comment:3 Changed 14 years ago by Scott González

Resolution: fixed
Status: newclosed

Fixed in r3031.

Note: See TracTickets for help on using tickets.