PDA

View Full Version : Help with script


slayer_ip
05-13-2003, 03:36 AM
Need help, installed a menu script on my web site and now have errors...

here is the html

<html>
<head>
<TITLE>COD Order Form</TITLE>
<META NAME="Title" CONTENT="Cable TV Descrambler and Cable Descrambler Box">
<META NAME="Subject" CONTENT="Cable TV Descrambler and Cable Descrambler Box - Extreme Digital Electronics is the premier supplier of universal cable boxes">
<META NAME="Description" CONTENT="Cable TV Descrambler and Cable Descrambler Box - Extreme Digital Electronics is the premier supplier of universal cable boxes">
<META NAME="Abstract" CONTENT="Cable TV Descrambler and Cable Descrambler Box - Extreme Digital Electronics is the premier supplier of universal cable boxes">
<META NAME="Keywords" CONTENT="Cable TV Descrambler, Cable Descrambler Box, Cable Box, Universal Cable Descrambler Box, Universal Cable TV Descrambler">
<META NAME="Language" CONTENT="English">
<META NAME="Distribution" CONTENT="Global">
<META NAME="Robots" CONTENT="All">


<style type="text/css">
<!--
.menu {font-family:Arial; font-weight:bold}

.menu a{
text-decoration:none;
color:black;
}
-->
</style>
<script language="javascript">
<!--

/*
Cool Table Menu
By Clarence Eldefors (http://www.freebox.com/cereweb) with modifications from javascriptkit.com
Visit http://javascriptkit.com for this and over 400+ other scripts
*/



function movein(which,html){
which.style.background='coral'
if (document.getElementById)
document.getElementById("boxdescription").innerHTML=html
else
boxdescription.innerHTML=html
}

function moveout(which){
which.style.background='#FFCC66'
if (document.getElementById)
document.getElementById("boxdescription").innerHTML='&nbsp;'
else
boxdescription.innerHTML='&nbsp;'
}

//-->
</script>
</head>

<body bgcolor="#FFFFFF" text="#000000" onload="LOadIt()">
<div align="center">
<table width="99%" cellpadding="1" align="center">
<tr>
<td width="20%" valign="bottom">
<div align="center">
<p align="center"><i><b><font face="Arial, Helvetica, sans-serif" size="2" color="#808080">Only
the Very Best<br>
Cable Tv Descrambler<br>
&amp;<br>
Cable Descrambler Box</font></b></i></p>
</div>
</td>
<td width="61%" valign="top">
<div align="center"><img src="gif/banner.jpg" width="463" height="98" alt="Extreme Digital Electronics is here to serve you the Customer!"></div>
</td>
<td width="19%" valign="bottom">
<div align="center">
<form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_cart">
<input type="hidden" name="business" value="extremedigitalelectronics@comcast.net">
<input type="image" src="https://www.paypal.com/images/view_cart.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
<input type="hidden" name="display" value="1">
</form></div>
</td>
</tr>
</table>

</div>
<table width="99%" cellpadding="1" align="center">
<tr>
<td width="22%" bgcolor="#FFFFCC" valign="top" align="center">
<div align="left">
<table width="100%" cellpadding="1" height="369">
<tr>
<td valign="middle" height="135">
<p align="center">
<!-- Start LiveChatNow.Com Monitoring code -->
<script language='javascript' src='http://www.livechatnow.com/js/js.php?img=we&url=&refer=&cid=4519&group=General'></script>
<script language='javascript'>
<!--
_cln_reload(1);
// -->
</script>
<font size="1"><b><br>
<img src="gif/needhelp.gif" width="88" height="15" alt="Get Live Help Now.">
</b><br>
<a href='http://www.livechatnow.com/' target="_blank">www.LiveChatNow.com</a></font>
<!-- End LiveChatNow.Com Monitoring code -->
<br>
</p>
<p align="center">
<i><b><font face="Arial, Helvetica, sans-serif" color="#808080">
<table bgcolor="#000000" border="1" bordercolor="ivory" cellpadding="2" cellspacing="0" width="147">
<tr>
<td class="menu" bordercolor="black" id="choice1" style="background-color:#FFCC66; cursor:hand" onmouseover="movein(this,'The #1 CableBox site online')" onmouseout="moveout(this)"">
<a href="http://www.extremedigitalelectronics.com" target="_parent">Home</a></td>
</tr>
<td class="menu" bordercolor="black" id="choice2" style="background-color:#FFCC66; cursor:hand" onmouseover="movein(this,'Check out our store Products.')" onmouseout="moveout(this)">
<a href="http://www.extremedigitalelectronics.com/products.html" target="_parent">Products</a></td>
</tr>
<td class="menu" bordercolor="black" id="choice3" style="background-color:#FFCC66; cursor:hand" onmouseover="movein(this,'The Truth about so called cable filters.')" onmouseout="moveout(this)">
<a href="http://www.extremedigitalelectronics.com/digital.html" target="_parent">Digital
Cable</a></td>
</tr>
<td class="menu" bordercolor="black" id="choice4" style="background-color:#FFCC66; cursor:hand" onmouseover="movein(this,'Got Questions? We got answers.')" onmouseout="moveout(this)" height="24">
<a href="mailto:extremedigitalelectronics@comcast.net" target="_parent">Contact
Us</a></td>
</tr>
<td class="menu" bordercolor="black" id="choice5" style="background-color:#FFCC66; cursor:hand" onmouseover="movein(this,'Warranty and Return issues.')" onmouseout="moveout(this)"><a href="http://www.extremedigitalelectronics.com/warranty.html" target="_parent">Warranty</a></td>
</tr>
<td class="menu" bordercolor="black" id="choice6" style="background-color:#FFCC66; cursor:hand" onmouseover="movein(this,'Please view our Disclaimer before ordering..')" onmouseout="moveout(this)"><a href="http://www.extremedigitalelectronics.com/disclaimer.html" target="_parent">Disclaimer</a></td>
</tr>
<tr>
<td bordercolor="black" bgcolor="ivory" height="18"><font id="boxdescription" face="Verdana" size="2"></font></td>
</tr>
</table>
</font></b></i></td>
</tr>
<tr>
<td valign="bottom" height="17">
<div align="center">
<p align="center"><i><b><font face="Arial, Helvetica, sans-serif" size="3" color="#808080"><u><br>
Store Hours</u></font></b></i></p>
</div>
</td>
</tr>
<tr>
<td valign="bottom" height="44">
<div align="center">
<p align="center"><i><b><font face="Arial, Helvetica, sans-serif" size="3" color="#808080">9:00
AM till 10:30 PM 7 days a week</font></b></i></p>
</div>
</td>
</tr>
</table>
<div align="center">
<p align="center"><i><b><font color="#FF9900" size="3"><i><b><font face="Arial, Helvetica, sans-serif" size="2" color="#808080"><img src="gif/moneyback.gif" width="85" height="87" alt="100% Money Back Guarantee and a Full 30 Money Back Guarantee!">
<br>
<br>
Sorry No Sales in Alabama!</font></b></i></font></b></i></p>
</div>
</div>
</td>
<td width="78%" valign="top" align="left" rowspan="2">
<table width="100%" cellpadding="1">
<tr>
<td width="74%" valign="top">
<div align="center"> </div>
</td>
<td width="26%" align="left" valign="top">
<div align="center">
<div align="left">
<p align="center">
<table width="99%" cellpadding="1">
<tr>
<td>
<div align="center"> <b><font color="#FF9900" size="3">
<!-- Begin Official PayPal Seal -->
<a href="https://www.paypal.com/verified/pal=extremedigitalelectronics%40comcast.net" target="_blank"><img src="http://images.paypal.com/images/verification_seal.gif" border="0" alt="Official PayPal Seal"></a>
<!-- End Official PayPal Seal -->
</font></b></div>
</td>
</tr>
</table>
<div align="center">
<table width="100%">
<tr>
<td>
<div align="center">
<p align="left"><i><b><font face="Arial, Helvetica, sans-serif" size="3" color="#808080"><font color="#FF0000">Free
with every Cable Descrambler Box ordered. Cell phone
antenna. Fits almost any cell phone and is like having
a 4' antenna on your phone. A value of $19.99 (FREE)<br>
</font></font></b></i><i><b><font face="Arial, Helvetica, sans-serif" size="3" color="#808080"><br>
<img src="gif/AntennaBooster.jpg" width="120" height="235"></font></b></i></p>
</div>
</td>
</tr>
</table>
<b><font color="#FF9900" size="3"><br>
</font></b></div>
</div>
</div>
</td>
</tr>
</table>

</td>
</tr>
<tr>
<td width="22%" bgcolor="#FFFFFF" valign="top" align="center">&nbsp;</td>
</tr>
</table>
<div align="center"> <br>
<img src="/cgi-sys/Count.cgi?df=extremed.dat|display=Counter|ft=6|md=5|frgb=100;139;217|dd=K" alt="Cable Box Descrambler Clock">
<br>
<p align="center"><i><font face="Georgia, Times New Roman, Times, serif" size="1"><br>
&copy; 2002 Extreme Digital Electronics. All Rights Reserved.<br>
</font></i></p>
</div>
</body>
</html>

cheesebagpipe
05-13-2003, 04:02 AM
This is generating an error:

<body bgcolor="#FFFFFF" text="#000000" onload="LOadIt()">

...since there doesn't seem to be a function LOadIt() anywhere. That menu has some problems with re-arrangement (when the description is inserted below).
Turn on error reporting so you can be more detailed about what's happening.