• Howdy! Welcome to our community of more than 130.000 members devoted to web hosting. This is a great place to get special offers from web hosts and post your own requests or ads. To start posting sign up here. Cheers! /Peo, FreeWebSpace.net

Object Expected Error


New Member
I get an object expected error in IE for line 24 char 1. Line 24 char 1 begines with "adMessage" (as shown from the code excerpt below). What is wrong?

Page URL: http://www.acafe.net/academia.php

<body marginheight="20" marginwidth="0" topmargin="20" leftmargin="0">

<div align="center">

<span onClick="writeCookie(0)">
<script language="javascript">
adMessage('<table border="0" cellpadding="0" cellspacing="1" width="620" height="40" bgcolor="#808080" class="message"><tr><td bgcolor="#222222" width="100%" align="left" valign="top">The following link will take you to one of our sponsors and is random each time. Once you have visited a sponsor, this entire sponsor segment will disappear for a month. <a href="http://www.acafe.net" class="message">Link.</a> Thank you for your support and enjoy your stay.</td></tr></table><p>');
// -->


does it work in mozilla ? ive had stuff like that not work in ie but work in mozilla :confused2


New Member
I've hadnt tried it in Mozilla but I've decided that the script was more trouble than it was worth.