Explore the community Forums Lectora Lectora Questions & Answers Conditional include in Table of Contents Reply To: Conditional include in Table of Contents

#374416 Score: 0
Profile photo of Tim K
Tim K
Member
contributor
beginner
intermediate
advanced
friend finder
junior moderator
advocate
wise owl
curious george
Group Member
355 pts
@timk

Normally the z-index should only influence the (visible) layering of the objects. Although the two tocs are in the same group and beside one another in the title explorer, the “no test” toc gets a z-index of “15” while the “Test started” toc is on layer 38, with the page elements between them.

CSS for it would be:

div[id^="toc"]  {
z-index: 500 !important;
}