Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
How to Make my Section Selected when current section activated?
Hello Team, I was add this code to make list my section.
<txp:section_list break=“li” sections=“Berita, Event, Visi, Pendukung, Tenant” exclude=“banner” wraptag=“ul” />
After I tested the result of my code will be like this.
<ul class="section_list">
<li><a href="http://plaza.txp/berita/">Berita</a></li>
<li><a href="http://plaza.txp/event/">Event</a></li>
<li><a href="http://plaza.txp/visi/">Visi</a></li>
<li><a href="http://plaza.txp/pendukung/">Pendukung</a></li>
<li><a href="http://plaza.txp/tenant/">Tenant</a></li>
</ul>
My Question is, how to make my Pendukung section selected? so my section list when I click on Pendukung will be like this
<ul class="section_list">
<li><a href="http://plaza.txp/berita/">Berita</a></li>
<li><a href="http://plaza.txp/event/">Event</a></li>
<li><a href="http://plaza.txp/visi/">Visi</a></li>
<li class="active"><a href="http://plaza.txp/pendukung/">Pendukung</a></li>
<li><a href="http://plaza.txp/tenant/">Tenant</a></li>
</ul>
Please Help
Thanks
Offline
Re: How to Make my Section Selected when current section activated?
Offline
Re: How to Make my Section Selected when current section activated?
Thanks you.. the problem solved now ;)
Offline