This is a relatively simple problem with a simple answer and yet my javascript is wayy to bad.
So I used forumotions word counter for my forum but I wanted it to only apply to a few forums, so I implemented:
At the top of the code.
And it works, but I want to know how to apply it to several forums.
Like only category 1, 4 and 5.
It should just be a simple or operator but it's not working.
So I used forumotions word counter for my forum but I wanted it to only apply to a few forums, so I implemented:
- Code:
if ($('a.nav[href^="/c1-"]').length == 0)
At the top of the code.
And it works, but I want to know how to apply it to several forums.
Like only category 1, 4 and 5.
It should just be a simple or operator but it's not working.
Last edited by PA on July 3rd 2014, 4:53 pm; edited 2 times in total