Search and Top Navigation
#7899 closed bug (notabug)
Opened November 18, 2011 12:21PM UTC
Closed November 18, 2011 04:20PM UTC
switchClass doesn't animate z-index
| Reported by: | ollillo | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | 1.9.0 |
| Component: | ui.effects.core | Version: | 1.8.16 |
| Keywords: | Cc: | ||
| Blocked by: | Blocking: |
Description
Animated div should go on top of static div at 1000ms.
Attachments (0)
Change History (1)
Changed November 18, 2011 04:20PM UTC by comment:1
| component: | ui.core → effects.core |
|---|---|
| resolution: | → invalid |
| status: | new → closed |
This is not a jQuery UI bug. Neither jQuery nor jQuery UI support animating zIndex. You need to add a custom animation hook for zIndex to get this to work.
$.fx.step.zIndex = function( fx ) { fx.elem.style.zIndex = parseInt( fx.now ); };