Export to GitHub

nyromodal - issue #187

overriding default z-index value for #nyroModalFull


Posted on Mar 4, 2009 by Helpful Kangaroo

Is it possible to override the default z-index value of #nyroModalFull ? I've tried calling nyroModal this way: $('a.nyroModal').nyroModal({css:{full: {zIndex:9999}}});

but it didnt work... and the default z-index value stays 100...

Thanks in advance!

Comment #1

Posted on Mar 4, 2009 by Swift Panda

In the next release, there will be a new seeting named zIndexStart, default to 100. Changing this setting will update the z-index used through the modal.

Comment #2

Posted on Mar 4, 2009 by Helpful Kangaroo

Great! Thanks! When is the next version be available?

By the way, for anyone who's interested in overriding the zIndex anyway until the next version is out, I managed to override it, by adding - $('#nyroModalFull').css('zIndex',9999);

to the showContent callback function

Comment #3

Posted on Mar 4, 2009 by Swift Panda

yes, that's probably the best solution for now, I didn't think about that ;)

the next version, I don't know as it's the only bug fixed for now... Maybe next week if there's nothing new.

Comment #4

Posted on May 14, 2009 by Swift Panda

After a while, the version 1.5.0 is now here and fix this issue.

Status: Fixed