As of 5mins ago this code was working fine .Code:
- <script type="text/javascript">
- for(i=0; i<get('td','tag').length; i++){
- if(get('td','tag')[i].className=='title2' && get('td','tag')[i].colSpan=='3'){
- get('td','tag')[i].getElementsByTagName("a")[1].removeAttribute("href");
- get('td','tag')[i].getElementsByTagName("font")[0].innerHTML = "[" + get('td','tag')[i].getElementsByTagName("font")[0].innerHTML + "]";
- }
- }
- </script>
and now it doesn't work at all, all i did was to make an new Category (with one main board and 5 sub-boards), I have no idea why it stop working,
Forum http://tropolis.virtualforums.co.uk/
Edit : It seems to work when i logout (which means it works for guest) but once i login its on the default Category title setting ??
Can you try removing your shoutbox code to see if that is conflicting?![]()
Or the Adv. PM Area.
Yeah it was the shoutbox code that was conflicting Wrighty i removed it and or code is fine.
But can you work it so i can use the shoutbox please .
try:
Code:
- <script type="text/javascript">
- for(i=0; i<get('td','tag').length; i++){
- if(get('td','tag')[i].className=='title2' && get('td','tag')[i].innerHTML.match(/\/category\//) && get('td','tag')[i].colSpan=='3'){
- get('td','tag')[i].getElementsByTagName("a")[1].removeAttribute("href");
- get('td','tag')[i].getElementsByTagName("font")[0].innerHTML = "[" + get('td','tag')[i].getElementsByTagName("font")[0].innerHTML + "]";
- }
- }
- </script>
Yes sirthat did it thank you very much Wrighty
.
Welcome!![]()