of using a custom expand and collapse section
-
Hello all
I would like to ask regarding the option of using a custom expand and collapse section for a standard section and for a nested configuration.
Nested configuration
I use the following syntax for creatinine a nested expand and collapse[expand title=”Root Level” ]
First level TXT[expandsub1 title=”Nested Level 1″ trigclass=”HelpInfo”]
Second level TXT
[/expandsub1]
[/expand]Based on the documentation instructions I add the option of: Trigclass Attribute
(https://plugins.twinpictures.de/plugins/collapse-o-matic/documentation/#elwraptag)
That point to a CSS calss style that I have add to the collapse-pro-matic/light_style.css file (add an additional CSS style named: HelpInfo)
The CSS class include the following style
.HelpInfo
{
background: #eee url(images/plus03.png) no-repeat 98% 50%; ;
border-color:#949494 #949494;
border-width:1px;
border-style: solid;
font-size: 110%;
color:#000;
padding: 5px 5px 5px 10px;
cursor: pointer;
}The problem is that the “nested” section get the custom CSS setting including the icon of “expand” but when the section is expanded, there is no icon for the collapse.
I think that the class that I have add relate only to the “expand” option.
I’m not sure if I have to add additional CSS class for the “collapse” option.
Is there a dedicated class for collapse? how to create the right setting so the nested section will also have the collapse icon ?
- The topic ‘of using a custom expand and collapse section’ is closed to new replies.