|
Post by Xero.Infection on Jul 2, 2005 13:59:10 GMT -8
Proboards v.4 CodeDescription: Hatake used to use a code like this before PBv.4 was released. I decided to make my own version. Replaces "[ Pages: 1,2 ]" with "[ : 1,2 ]. Preview: [1]<script type='text/javascript'> //Thread Pages Modification :: Copyright '05 //Coded By Xero.Infection aka Spike //Place this code in Global Footer
//Replace URL HERE with your image url var image = "URL HERE"
var XI=document.body.getElementsByTagName('td'); for(t=0;t<XI.length;t++){ if(XI[t].width=='48%' && XI[t].innerHTML.match(/Pages: /i)){ XI[t].innerHTML = XI[t].innerHTML.replace("[ Pages: ","[ <img src='"+image+"'>: "); }} </script> Enjoy!
|
|
|
Post by CD on Jul 2, 2005 20:18:33 GMT -8
Do you really think you should have the colon there?
|
|
|
Post by Xero.Infection on Jul 2, 2005 22:27:51 GMT -8
Yeah, I like it that way. But it would look good without the colon also.
|
|
|
Post by CD on Jul 3, 2005 15:35:34 GMT -8
If you make v2, make the a seperate option. You know, just to make the code seem better.
|
|