vForums Support > Programming & Coding :: Code Requests & Support :: > [F] Category Name in Head Image Mod :)

[F] Category Name in Head Image Mod :) - Posted By dog199200 (dog199200) on 4th Apr 08 at 2:00am
can i please get the code edited so that the text runs horizontally and not vertically?

Code:
 
  1. <script>
  2. /*Category Name in Head Image
  3. by Wrighty
  4. No Repost, Rip or Claiming*/
  5.  
  6. var row = 0; //Are you showing the 'Board Name' row? 1 = yes, 0 = no.
  7.  
  8. var r = get('tr','tag');
  9. for(i=0;i<r.length;i++){
  10.     if(r[i].cells[0].className == 'title2 categorytitle' && r[i].cells[0].innerHTML.match(/\/category\//)){
  11.         var x = (row==1)? 1 : -1;
  12.         var num = parseInt(2 + x);
  13.         var a = r[i-num].insertCell(1);
  14.         with(a){
  15.             width="100%";
  16.             align="center";
  17.         }
  18.         a.appendChild(r[i].cells[0].firstChild);
  19.         r[i].style.display = 'none';
  20.     }
  21. }
  22. </script>
 

Re: Category Name in Head Image Mod :) - Posted By Michael (wrighty) on 4th Apr 08 at 9:45am
Forum Link? {Tongue Out}

Re: Category Name in Head Image Mod :) - Posted By dog199200 (dog199200) on 4th Apr 08 at 1:41pm
http://fmaadvanced.virtualforums.co.uk/

(I haven't around to making a new base image yet)

Re: Category Name in Head Image Mod :) - Posted By Michael (wrighty) on 4th Apr 08 at 3:39pm
either make your top left & top right images smaller, OR increase the width of your forum! {Smile}

Re: Category Name in Head Image Mod :) - Posted By dog199200 (dog199200) on 4th Apr 08 at 6:58pm
{Smile} ok that worked