This topic was locked 4th Apr 08 at 7:06pm by Michael |
dog199200 Guest | [F] Category Name in Head Image Mod :) (4th Apr 08 at 2:00am UTC) | | can i please get the code edited so that the text runs horizontally and not vertically?
 Code: - <script>
- /*Category Name in Head Image
- by Wrighty
- No Repost, Rip or Claiming*/
-
- var row = 0; //Are you showing the 'Board Name' row? 1 = yes, 0 = no.
-
- var r = get('tr','tag');
- for(i=0;i<r.length;i++){
- if(r[i].cells[0].className == 'title2 categorytitle' && r[i].cells[0].innerHTML.match(/\/category\//)){
- var x = (row==1)? 1 : -1;
- var num = parseInt(2 + x);
- var a = r[i-num].insertCell(1);
- with(a){
- width="100%";
- align="center";
- }
- a.appendChild(r[i].cells[0].firstChild);
- r[i].style.display = 'none';
- }
- }
- </script>
| |
|
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: Category Name in Head Image Mod :) (4th Apr 08 at 9:45am UTC) | | Forum Link? | |
|
dog199200 Guest | |
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: Category Name in Head Image Mod :) (4th Apr 08 at 3:39pm UTC) | | either make your top left & top right images smaller, OR increase the width of your forum! | |
|
dog199200 Guest | Re: Category Name in Head Image Mod :) (4th Apr 08 at 6:58pm UTC) | | ok that worked | |
|