Smangii
[M:25]
Teh Smangster :P
Posts: 142
|
Post by Smangii on Jun 3, 2006 23:00:49 GMT -5
Woot.. have been working on this and I jumped for joy when it worked in my test board What: makes the locked threads a diff. color and size Placement: Global Footer CrossBrowser: Yes Editable: Only parts in black Preview: -link- <script type="text/javascript"> <!-- /* Locked Thread Mod Created by Smangii, smangii.proboards.com Do not repost without my permission */
var LK=document.getElementsByTagName('td'); for(t=0;t<LK.length;t++){ if(LK[t].className=='windowbg' && LK[t-2].innerHTML.match(/locked.gif/)){ var sman=LK[t].getElementsByTagName('a')[0]; sman.className="windowbg"; sman.style.height="10"; sman.colSpan="5"; sman.innerHTML=sman.innerHTML.replace(sman.innerHTML,"<font color='666666'>"+sman.innerHTML+"</font>"); }} //--> </script> Editing: (locked.gif)... If you are using the defualt proboards locked icon, then leave this alone. If you have custmized your images to a new icon, use the LAST part of the url as shown: http:/i63.photobucket.com/albums/h131/test/ lockedtopic.gif
You would put in this space; lockedtopic.gif(666666)... this edits the color of the locked threads. This color is a medium gray, you can edit this to any color hex you want. Enjoy! ;D
|
|
ash ♥
[M:-580][M:-580]
Posts: 1,054
|
Post by ash ♥ on Jun 4, 2006 1:23:48 GMT -5
Wow! That is really cool! I will just have to add that to my list of codes for v2! Great job Smangii!
|
|
Smangii
[M:25]
Teh Smangster :P
Posts: 142
|
Post by Smangii on Jun 5, 2006 16:54:50 GMT -5
No problem, Ashley! Glad you liked it ;D
|
|