Global Footer
Makes the category names just text, instead of a link.
Code:
- <script type="text/javascript">
- <!--
- /*Remove Link From Category Name by Danny*/
- var cat = document.getElementsByTagName('tr');
- for(e=0; e<cat.length; e++){
- if(cat[e].firstChild.className=='title2 categorytitle' && cat[e].firstChild.colSpan=='3'){
- cat[e].getElementsByTagName("a")[1].removeAttribute("href");
- cat[e].getElementsByTagName("font")[0].removeAttribute("size");
- }
- }
- // -->
- </script>
edit: dreggie told me to![]()
Updated:
Michael - Fix ClassName Match & Placement (31st March 2008)
Doesn't even work. I tried on a test forum and nope doesnt work
Doesn't even work. I tried on a test forum and nope doesnt work
If you're having a problem with a code in the database, head on over to Code Support and we'll help you out.![]()
The code was fine. He just said to put it in main headers. It should go in Main footers! ^_^
It says global there
Psh either. Doesn't really matter!![]()
I tried in global footers and it didn't work
If it doesn't work, go and post a forum link in the support board with a link to the code!![]()