Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zIndex #8

Closed
intellilogic opened this issue May 18, 2015 · 1 comment
Closed

zIndex #8

intellilogic opened this issue May 18, 2015 · 1 comment

Comments

@intellilogic
Copy link

The items.addClass('lavalamp-item').css({ zIndex ..}) was causing problems for me. I imagine this could cause problems for others. I tried shifting my other z-indexes around so I wouldn’t have the change the JS; but then the behavior of ‘lavalamp-object’ became erratic. I ended up removing items.addClass('lavalamp-item').css in the 2 places all together.

My setup was ‘menu > li > a’ and I have ‘lavalamp- object’ over ‘li’ under ‘a’ and it looks really nice. Feature request 1: an option to turn off 'lavalamp-item' css
Feature request 2: delay before return.

@Richard1320
Copy link
Owner

  1. This request is too case-specific. The z-index sometimes causes the lavalamp-object to go above the lavalamp-item. Absolute positioning is funny with its indexes. If it doesn't work, you can use CSS with .lavalamp-item{z-index: auto !important;} which will override the inline style.
  2. Updated the plugin to 1.0.7 which adds delayOn and delayOff as options.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants