garand / sticky

jQuery Plugin for Sticky Objects
Other
3.3k stars 1.06k forks source link

zIndex option, fix #31 #183

Closed freemanoid closed 8 years ago

freemanoid commented 8 years ago

Add zIndex option which controls z-index of the sticked element. Fixes #31

freemanoid commented 8 years ago

hey @garand any issues with this PR?

garand commented 8 years ago

Could you update the README as well?

freemanoid commented 8 years ago

@garand README updated!

lxcid commented 8 years ago

I faces an issue with this feature. Defaulting to auto will overwrite the z-index value defined in my CSS.

I'm currently not a season frontend guy to propose a solution but I had identified this issue.

My current solution in my codebase is to pin the version to 1.0.3.

veger commented 7 years ago

@lxcid Just set to an empty string('') to disable changing the z-index.

Maybe this could be made more clear in README..?