vForums Support > Programming & Coding :: Database of Codes/Hacks/Mods :: > PM Info in 3 locations

PM Info in 3 locations - Posted By Michael (wrighty) on 30th Dec 07 at 10:03pm
Lets you put the 'userbar' either:
- above the banner
- between the banner and menu
- below the menu

Global Header

Edit below.

var bar_loc = "1" //0 = above banner, 1 = between banner & menu, 2 = below menu

Code:
 
  1. <script type="text/javascript">
  2. /*PM Info in 3 locations
  3. Created By Wrighty
  4. support.virtualforums.co.uk*/
  5.  
  6. var bar_loc = "1" //0 = above banner, 1 = between banner & menu, 2 = below menu
  7.  
  8. //===========NO EDIT!=============
  9. document.getElementsByTagName('td')[3].parentNode.style.display="none";
  10. var b= document.getElementsByTagName("table")[0].insertRow(1).insertCell(0);
  11. b.width="100%";
  12. b.className="menu";
  13. pm = document.getElementsByTagName('td')[4].innerHTML;
  14. b.innerHTML = pm;
  15. </script>
 

Re: PM Info in 3 locations - Posted By Reverse Blade (zohvi) on 30th Dec 07 at 10:06pm
Copier >_> {Smile}

Re: PM Info in 3 locations - Posted By Michael (wrighty) on 30th Dec 07 at 10:08pm
{Tongue Out}

I actually coded this a couple days ago, just missed out when I posted all my others... {Smile}