Post by captainpicard on Dec 12, 2007 12:03:22 GMT -8
Forum URL: sttng.proboards104.com/
Description: I am using the code below for Msg Icon display modification, however, I changed some of the images and it still shows the ProBoards default.
I had tried all the codes for changing the display, but none work when this code is in.
Is there a code that will work with this code and display the custom msg icons?
Experienced By: Not sure
Code URL: support.proboards.com/index.cgi?board=codedatabase&action=display&n=1&thread=70745
Web Browser: Not sure
Code:
Description: I am using the code below for Msg Icon display modification, however, I changed some of the images and it still shows the ProBoards default.
I had tried all the codes for changing the display, but none work when this code is in.
Is there a code that will work with this code and display the custom msg icons?
Experienced By: Not sure
Code URL: support.proboards.com/index.cgi?board=codedatabase&action=display&n=1&thread=70745
Web Browser: Not sure
Code:
<script type="text/javascript">
<!--
/*Message Icon Display - By iAlex - Open Source*/
if(document.postForm && !location.href.match(/action=pmsend/) && !document.title.match(/Preview Personal Message/)){
var iSleepy=document.postForm.icon
iSleepy.parentNode.height='30';
iSleepy.parentNode.parentNode.firstChild.appendChild(iSleepy.nextSibling.nextSibling);
for(i=0;i<iSleepy.options.length;i++){
var iTired=document.createElement('img')
iTired.src='http://s4.images.proboards.com/'+iSleepy.options.item(i).value+'.gif';
var iYawn=document.createTextNode(' ');
iSleepy.parentNode.appendChild(iYawn);
iSleepy.parentNode.appendChild(iTired);
iSleepy.style.display='none';
iTired.onclick=function(){
iSleepy.parentNode.parentNode.firstChild.lastChild.src=this.src
iSleepy.value=(this.src.match(/http\:\/\/s4\.images\.proboards\.com\/(.+?)\.gif/))? RegExp.$1 : '';
};
iTired.onmouseover=function(){this.style.cursor='pointer';};
iTired.onmouseout=function(){this.style.cursor='normal';};
}
}
//-->
</script>