Post by bosoxfan9922 on Dec 18, 2005 18:08:02 GMT -8
Whenever I go to check my Private Messages, it says "Invalid Add Module Call". This is my code:
<script language="JavaScript">
<!--
// Made by Marty and Naruto
// Revalutionized by NCGI (Uchiha Sasuke) and Blade
iTD=document.getElementsByTagName('TD');
var guest=iTD[2].innerHTML.match(/Welcome/i);
var checknone=iTD[2].innerHTML.match(/ 0 /i);
var checkone=iTD[2].innerHTML.match(/ 1 /i);
if(guest){}
else{var amount=iTD[2].innerHTML.split(', ')[3].split(' are new.')[0];}
var aTable=document.getElementsByTagName('TABLE');
for(i=0;i<aTable.length;i++){
if(aTable.cellSpacing=="0" && aTable.cellPadding=="3"){
var row=aTable.insertRow(1);
var col=row.insertCell(0);
row.className="pmbarbg"
col.align="center"
aTable.cellSpacing="0"
if(guest){
col.innerHTML='<div align="left"><img src="http://img./v739/Redsoxfan266/nopm.gif" style="cursor: hand;" onclick="window.location=\'index.cgi?action=login\'" border="0"></a></div>'
}
else{
if(checknone){
col.innerHTML='<div align="left"><img src="http://img./v739/Redsoxfan266/nopm.gif" style="cursor: hand;" onclick="window.location=\'index.cgi?action=im\'" onmouseover="window.status=\'You Have No New PMs\'" alt="You Have No New PMs" onmouseout="window.status=\'Football 360\'" border="0"></div>'
}
else if(checkone){
col.innerHTML='<div align="left"><img src="http://img./v739/Redsoxfan266/newpm.gif" style="cursor: hand;" onclick="window.location=\'index.cgi?action=im\'" onmouseover="window.status=\'You Have 1 New PM\'" alt="You Have 1 New PM" onmouseout="window.status=\'Football 360\'" border="0"></div>'
}
else {
col.innerHTML='<div align="left"><img src="http://img./v739/Redsoxfan266/newpm.gif" style="cursor: hand;" onclick="window.location=\'index.cgi?action=im\'" onmouseover="window.status=\'You Have '+amount+' New PMs\'" alt="You Have '+amount+' New PMs" onmouseout="window.status=\'Football 360\'" border="0"></div>'
}}}}
// -->
</script>
<script language=javascript>
<!--
var PMLogoCell = document.getElementsByTagName("TD")[1]; PMLogoCell.removeChild(PMLogoCell.lastChild)
-->
</script>
And then, on my Footer image at the bottom where it brings you to the staff when you click on the image, it says the same. My code:
<!--## FORUM FOOTER CODE :: MUST EDIT, DO NOT REMOVE ##-->
<center>
<IMG SRC="http://img./v739/Redsoxfan266/footer.jpg" BORDER="0" name=image style="position: relative; bottom: 14px;" USEMAP="#footer">
</center>
<MAP NAME="footer">
<AREA SHAPE="rect" COORDS="5,15,43,53" HREF="#"Alt="Back To Top">
<AREA SHAPE="rect" COORDS="552,23,598,53" HREF="?action=mlstaff"Alt="Staff">
<AREA SHAPE="rect" COORDS="622,23,695,53" HREF="mailto:Dan321ny@aol.com"Alt="Contact">
</MAP>
<script language="JavaScript">
<!--
// Made by Marty and Naruto
// Revalutionized by NCGI (Uchiha Sasuke) and Blade
iTD=document.getElementsByTagName('TD');
var guest=iTD[2].innerHTML.match(/Welcome/i);
var checknone=iTD[2].innerHTML.match(/ 0 /i);
var checkone=iTD[2].innerHTML.match(/ 1 /i);
if(guest){}
else{var amount=iTD[2].innerHTML.split(', ')[3].split(' are new.')[0];}
var aTable=document.getElementsByTagName('TABLE');
for(i=0;i<aTable.length;i++){
if(aTable.cellSpacing=="0" && aTable.cellPadding=="3"){
var row=aTable.insertRow(1);
var col=row.insertCell(0);
row.className="pmbarbg"
col.align="center"
aTable.cellSpacing="0"
if(guest){
col.innerHTML='<div align="left"><img src="http://img./v739/Redsoxfan266/nopm.gif" style="cursor: hand;" onclick="window.location=\'index.cgi?action=login\'" border="0"></a></div>'
}
else{
if(checknone){
col.innerHTML='<div align="left"><img src="http://img./v739/Redsoxfan266/nopm.gif" style="cursor: hand;" onclick="window.location=\'index.cgi?action=im\'" onmouseover="window.status=\'You Have No New PMs\'" alt="You Have No New PMs" onmouseout="window.status=\'Football 360\'" border="0"></div>'
}
else if(checkone){
col.innerHTML='<div align="left"><img src="http://img./v739/Redsoxfan266/newpm.gif" style="cursor: hand;" onclick="window.location=\'index.cgi?action=im\'" onmouseover="window.status=\'You Have 1 New PM\'" alt="You Have 1 New PM" onmouseout="window.status=\'Football 360\'" border="0"></div>'
}
else {
col.innerHTML='<div align="left"><img src="http://img./v739/Redsoxfan266/newpm.gif" style="cursor: hand;" onclick="window.location=\'index.cgi?action=im\'" onmouseover="window.status=\'You Have '+amount+' New PMs\'" alt="You Have '+amount+' New PMs" onmouseout="window.status=\'Football 360\'" border="0"></div>'
}}}}
// -->
</script>
<script language=javascript>
<!--
var PMLogoCell = document.getElementsByTagName("TD")[1]; PMLogoCell.removeChild(PMLogoCell.lastChild)
-->
</script>
And then, on my Footer image at the bottom where it brings you to the staff when you click on the image, it says the same. My code:
<!--## FORUM FOOTER CODE :: MUST EDIT, DO NOT REMOVE ##-->
<center>
<IMG SRC="http://img./v739/Redsoxfan266/footer.jpg" BORDER="0" name=image style="position: relative; bottom: 14px;" USEMAP="#footer">
</center>
<MAP NAME="footer">
<AREA SHAPE="rect" COORDS="5,15,43,53" HREF="#"Alt="Back To Top">
<AREA SHAPE="rect" COORDS="552,23,598,53" HREF="?action=mlstaff"Alt="Staff">
<AREA SHAPE="rect" COORDS="622,23,695,53" HREF="mailto:Dan321ny@aol.com"Alt="Contact">
</MAP>