Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

setting the zIndex option does not work #71

Closed
phisu opened this Issue · 2 comments

2 participants

phisu bigspotteddog
phisu

i initialize scolltofixed like this. but header does not have z-index:900.

is this a bug?

$(document).ready(function() {
$('header').scrollToFixed(
{marginTop:40,
limit:0,
zIndex:900,
offset:true,
minWidth:300
}
);
});

bigspotteddog

The zIndex option is working as expected on the main demo which is using the latest version of the library. Your code looks correct, but there must be something else going on. Is the header scrolling to a fixed position? Is it working otherwise?

bigspotteddog

Please reopen this issue if you are still having problems with this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.