vForums Support > Programming & Coding :: Code Requests & Support :: > [F] Bar along bottom of forum.

[F] Bar along bottom of forum. - Posted By [.tR] ookie1 (ookie1) on 16th Jan 08 at 9:00am
Just a code that adds a bar along the bottom, so that you can put a copyright message and maybe some links. Thankyou

Re: Bar along bottom of forum. - Posted By Ross (admin) on 16th Jan 08 at 9:30am
Do you want to give this a try at the bottom of the "Global Footer" {Smile}

Code:
 
  1. <style type="text/css">
  2.     #bottom_content {
  3.         padding: 10px;
  4.         text-align: center;
  5.         font-size: 14px;
  6.     }
  7. </style>
  8. <div id="bottom_content">
  9.     Html/Text Goes Here
  10. </div>
  11. <script type="text/javascript">
  12. <!--
  13. function move_to_bottom() {
  14.     document.getElementById('bottomtext').appendChild(document.createElement('br'));
  15.     document.getElementById('bottomtext').appendChild(document.getElementById('bottom_content'));
  16. }
  17. if(window.addEventListener) {
  18.     window.addEventListener('load', move_to_bottom, false);
  19. } else if(window.attachEvent) {
  20.     window.attachEvent('onload', move_to_bottom);
  21. } else {
  22.     window.onload = function() { move_to_bottom(); }
  23. }
  24. //-->
  25. </script>
 

Re: Bar along bottom of forum. - Posted By [.tR] ookie1 (ookie1) on 16th Jan 08 at 9:42am
I think that it is alright. I posted it on my test forum. If it isn't alright, I'll let you know. lol {Tongue Out}