Matt
Graphics Admin
Great admin or greatest admin?
Posts: 4,891
|
Post by Matt on Apr 21, 2006 15:43:52 GMT -5
Created By: Crazy_J
Global Footer
<script type='text/javascript'> /* Currently playing in Profile Code requested @ http://studiozero.proboards44.com Request filled by CrAzY_J */
if(location.href.match(/modifyprofile/)){ var gTab=document.body.getElementsByTagName("table"); for(t=0;gTab.length;t++){ if(gTab[t].cellSpacing=="2" && gTab[t].innerHTML.match(/Gender:/)){ var iRow=gTab[t].insertRow(1); var iCell=iRow.insertCell(0);var iCell2=iRow.insertCell(1);var iCell3=iRow.insertCell(2); iCell.innerHTML="<font size='2'>Currently playing:</font>" iCell2.innerHTML="<input id='play' size='35'>"; iCell3.innerHTML="What game are you currently playing?"; if(document.modifyForm.personaltext.value.match(/plg%%(.+?)%%/)) document.getElementById('play').value=RegExp. $1;
document.modifyForm.onsubmit=function(){ if(!document.getElementById('play').value == "" ){ if(document.modifyForm.personaltext.value.match(/plg%%(.+?)%%/)) document.modifyForm.personaltext.value = document.modifyForm.personaltext.value.replace(RegExp.$1,document.getElementById("play").value); else document.modifyForm.personaltext.value+="plg%%"+document.getElementById("play").value+"%%"; } } } } }
if(location.href.match(/(view(profile)?|display)/)){ var TD=document.getElementsByTagName("td"); for(t=0;t<TD.length;t++){ if(TD[t].width=="20%" && TD[t].innerHTML.match(/plg%%(.+?)%%/)){ TD[t].innerHTML=TD[t].innerHTML.replace(/plg%%.+?%%/," Currently playing:"+RegExp.$1); } } } </script>
|
|