setting the zIndex option does not work #71

Closed
phisu opened this Issue Mar 21, 2013 · 2 comments

Projects

None yet

2 participants

@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