Optic
Well-known member
Just wondering if you put JavaScript or jQuery inside <script> tags within a XF Notice - would it work?
I'm trying to find a way to programatically apply CSS class "active" to a given <li> in a set of tabs:
(similar to the tabs in New Posts/New Profile Posts)
And was hoping to do it using JavaScript or jQuery with XF Notices because of the existing user/page criteria you can use..
I'm trying to find a way to programatically apply CSS class "active" to a given <li> in a set of tabs:
Code:
<ul class="tabs">
<li class="active">Link 1</li>
<li>Link 2</li>
<li>Link 3</li>
</ul>
And was hoping to do it using JavaScript or jQuery with XF Notices because of the existing user/page criteria you can use..