Amanda
Forum Addict
hi
Posts: 251
|
Post by Amanda on Apr 2, 2012 0:45:19 GMT
If your proboards forum is just a forum for your site, or if you have another site you wish to bring attentions to, here is a code for you. This will add a button by the home buttons (search, log in, members, etc.) which you can link to another site. There is one for images or for users that have a code to remove the buttons for txt only home buttons, there is a code for you also!. I got this from PBS but the original code come from SSD.
Global Headers
<script type='text/javascript'>
var ImgUrl='Url Image'; var UrlDir='http://URL REDIRECTION';
var gCell=document.body.getElementsByTagName('td').item(5); var Img=document.createElement('img'); var Href=document.createElement('a'); Href.setAttribute('href',UrlDir); Img.setAttribute('src',ImgUrl); Img.setAttribute('border','0') Href.appendChild(Img); gCell.appendChild(Href); </script>
No image, txt only home buttons:
<script type='text/javascript'>
var iText='txt'; var UrlDir='http://URL REDIRECTION';
var gCell=document.body.getElementsByTagName('td').item(5); var Href=document.createElement('a'); Href.setAttribute('href',UrlDir); Href.innerHTML=iText gCell.appendChild(Href); </script>
|
|