vForums Support Banner



 

Welcome Guest! Please Login or Register
vForums Support :: Programming & Coding :: Code Requests & Support :: [F] Category Name in Head Image Mod :) - View Topic
Topic Rating: *****
Printable View
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:
 
  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>
 
Michael
Moderator
*****

[Avatar]
Recoding the future

Posts: 4,043
Status: Offline
Gender: Male
Location: UK
Joined:  

Additional Groups:
Coding Team
***


Reputation: 58%  


pmtwittervForum
Re: Category Name in Head Image Mod :) (4th Apr 08 at 9:45am UTC)
Forum Link? {Tongue Out}
dog199200
Guest
Re: Category Name in Head Image Mod :) (4th Apr 08 at 1:41pm UTC)
http://fmaadvanced.virtualforums.co.uk/

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

[Avatar]
Recoding the future

Posts: 4,043
Status: Offline
Gender: Male
Location: UK
Joined:  

Additional Groups:
Coding Team
***


Reputation: 58%  


pmtwittervForum
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! {Smile}
dog199200
Guest
Re: Category Name in Head Image Mod :) (4th Apr 08 at 6:58pm UTC)
{Smile} ok that worked
 Printable View

All times are GMT+0 :: The current time is 6:50am
Page generated in 0.2398 seconds
This Forum is Powered By vForums (v2.4)
Create a Forum for Free | Find Forums