vForums Support Banner



 

Welcome Guest! Please Login or Register
vForums Support :: Programming & Coding :: Database of Codes/Hacks/Mods :: Move/Copy Info Center Above Boards - View Topic
Topic Rating: *****
Printable View
Marc
vChat Developer
*****
I <3 Rossy

Posts: 3,388
Status: Offline
Gender: Male
Location: Ontario, Canada
Age: 32
Joined:  

Additional Groups:
Coding Team
***


Reputation: 40%  


pmwww
Move/Copy Info Center Above Boards (10th Dec 07 at 4:17am UTC)
Description: This code moves your info center above your boards, and gives the option to show/hide the info center at the bottom.

Part One of Two:

Main Page Header
Code:
 
  1. <script type="text/javascript">
  2. <!--
  3. // Move/Copy Info Center Above Boards
  4. // Coded by Cr0w, December 2007
  5. // Main Page Header
  6.  
  7. var tdWidth = '92%' //Change to match your forum
  8.  
  9. // Do not edit below
  10. document.write('<div id="info_center_here" style="width: '+tdWidth+';text-align: center;margin: 0 auto"></div><br /><br />');
  11. //-->
  12. </script>
 


Part Two of Two:

Main Page Footer
Code:
 
  1. <script type="text/javascript">
  2. <!--
  3. // Move/Copy Info Center Above Boards
  4. // Coded by Cr0w, December 2007
  5. // Main Page Footer
  6.  
  7. var hideOld = 1; //0 = keep info center at bottom, 1 = hide bottom info center
  8.  
  9. // Do not edit below
  10. var ic=document.getElementById("info_center");
  11. var nic = ic.cloneNode(true)
  12. document.getElementById("info_center_here").appendChild(nic);
  13. if(hideOld==1){
  14. ic.style.display = "none";
  15. }
  16. //-->
  17. </script>
 

rroll.to— Shorten a link, rickroll your friends.
 Printable View

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