|
Post by CåñåÐå™ on Feb 26, 2007 2:31:05 GMT -5
Can i get a code to change the PB Default Text like : the menu buttons and the text like : search, reply, new thread, poll ect. please.
|
|
|
Post by prodigy on Feb 26, 2007 9:07:05 GMT -5
Well Im not quite sure what your saying but, try this out, this will make EVERYTHING text. All images convert to text basically. If you want something else, make it more clear Global Header<script type="text/javascript"> <!--
var iImg = document.getElementsByTagName("td").item(5).getElementsByTagName("img");
for(i = 0; i < iImg.length; i ++){ var txtNode = document.createTextNode(iImg.item(i).alt.replace(/\[|\]/g, "")); iImg.item(i).parentNode.replaceChild(txtNode, iImg.item(i)); i --; }
//--> </script> Global Footer
<script type="text/javascript"> //Convert Buttons to Text - Update 1 by hpmad //Do not redistribute without permission from creator
var host1 = 'http://s1.images.proboards.com/buttons'; var host2 = 'http://s2.images.proboards.com/buttons'; var host3 = 'http://s3.images.proboards.com/buttons'; var host4 = 'http://s4.images.proboards.com/buttons';
var img = document.getElementsByTagName('img'); for(i=0;i<img.length;i++){ if(img[i].src.match(host1) || img[i].src.match(host2) || img[i].src.match(host3) || img[i].src.match(host4) || img[i].src.match(/search2.gif|newpoll/i)){ img[i].alt = img[i].alt.replace(/(\[|\])/g,''); var font = document.createElement('font'); font.style.fontSize = '7pt'; font.style.fontWeight = 'normal'; font.className = 'button'; font.appendChild(document.createTextNode(img[i].alt)); img[i].parentNode.replaceChild(font,img[i]); i--; } } </script>
|
|
|
Post by CåñåÐå™ on Feb 26, 2007 10:21:51 GMT -5
Yes it is what i want thank you . ;D
|
|
|
Post by prodigy on Feb 26, 2007 18:45:55 GMT -5
No problem, Filled
|
|
Matt
Graphics Admin
Great admin or greatest admin?
Posts: 4,891
|
Post by Matt on Feb 26, 2007 19:45:09 GMT -5
Thanks
|
|