vForums Support :: Programming & Coding :: Code Requests & Support :: [F] is it possible - View Topic (Page 2 of 2)
 |  |
| | This topic was locked 6th Mar 08 at 5:24pm by Michael | goldigga Guest | | Re: is it possible (5th Mar 08 at 6:57pm UTC) | |  Code: - <style>
- .boardtotals{
- display: none;
- }
- </style>
- <script>
- /*Board Mod
- Created By Wrighty*/
-
- for(i=0; i<get('td','tag').length; i++){
- if(get('td','tag')[i].innerHTML.match(/New Posts/) && get('td','tag')[i].className== "window1"){
- var a = get('td','tag')[i].parentNode.insertCell(2);
- with(a){
- className = 'window1';
- width= '8%px';
- align= 'center';
- innerHTML = (get('td','tag')[i+1].innerHTML.match(/\s(\d+)\sPosts/))? RegExp.$1 : '0';
- innerHTML += ' Posts<br>'
- innerHTML += (get('td','tag')[i+1].innerHTML.match(/(\d+)\sTopics\s/))? RegExp.$1 : '0';
- innerHTML += ' Topics'
- }
- }
- if(get('td','tag')[i].innerHTML.match(/\/category\//) && get('td','tag')[i].colSpan == '3'){
- get('td','tag')[i].colSpan = '4';
- get('td','tag')[i-1].colSpan = '4';
- }
- }
- </script>
tried that one and its no differant | |
| Michael Moderator
    
![[Avatar]](http://av.wservices.co.uk/av.png) Recoding the future Posts: 4,043 Status: Offline Gender: Male Location: UK Joined:
Additional Groups: Coding Team
  
pmvForum | | Re: is it possible (5th Mar 08 at 7:01pm UTC) | |  Code: - <style>
- .boardtotals{
- display: none;
- }
- </style>
- <script>
- /*Board Mod
- Created By Wrighty*/
-
- for(i=0; i<get('td','tag').length; i++){
- if(get('td','tag')[i].innerHTML.match(/New Posts/) && get('td','tag')[i].className== "window1"){
- var a = get('td','tag')[i].parentNode.insertCell(2);
- with(a){
- className = 'window1';
- width= '8%px';
- align= 'center';
- innerHTML = (get('td','tag')[i+1].innerHTML.match(/\s(\d+)\sPosts/))? RegExp.$1 : '0';
- innerHTML += ' Posts<br>'
- innerHTML += (get('td','tag')[i+1].innerHTML.match(/(\d+)\sTopics\s/))? RegExp.$1 : '0';
- innerHTML += ' Topics'
- }
- }
- if(get('td','tag')[i].innerHTML.match(/\/category\//) && get('td','tag')[i].colSpan == '3'){
- get('td','tag')[i].colSpan = '4';
- }
- if(get('td','tag')[i].className == 'title1 forumname' && get('td','tag')[i].colSpan == '3'){
- get('td','tag')[i].colSpan = '4';
- }
- }
- </script>
| |
| goldigga Guest | | Re: is it possible (5th Mar 08 at 7:09pm UTC) | | thanks that ones seems to have done the trick | |
| goldigga Guest | | Re: is it possible (5th Mar 08 at 7:25pm UTC) | | spoke to soon have this at bottom of forum
Code corrupted. Insert fresh copy. | |
| Michael Moderator
    
![[Avatar]](http://av.wservices.co.uk/av.png) Recoding the future Posts: 4,043 Status: Offline Gender: Male Location: UK Joined:
Additional Groups: Coding Team
  
pmvForum | | Re: is it possible (5th Mar 08 at 7:27pm UTC) | | That's your statcounter code, please just recopy the code for it!
| |
| |
 |  |
|