...

View Full Version : mouseover/mouseout



ben_b
04-24-2004, 05:48 PM
What's wrong with this code? I get the error:

Line:13
Char:1
Error:Object Expected

<TR>
<TD colSpan=17>
<TABLE cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR>
<TD><A
onmouseover="change('home', 'SeekAdmin - _Control Panel login_files/clients/image/menu-1-over_01.gif'); return true;"
onmouseout="change('home', 'SeekAdmin - _Control Panel login_files/clients/image/menu-1_01.gif'); return true;"
href="http://www.seeksadmin.com/"><IMG
src="SeekAdmin - _Control Panel login_files/menu-1_01.gif" border=0 alt=""></A></TD>
<TD><A
onmouseover="change('about', '/clients/image/menu-1-over_02.gif'); return true;"
onmouseout="change('about', '/clients/image/menu-1_02.gif'); return true;"
href="http://www.seeksadmin.com/"><IMG
src="SeekAdmin - _Control Panel login_files/menu-1_02.gif" border=0 alt=""></A></TD>
<TD><A
onmouseover="change('services', '/clients/image/menu-1-over_03.gif'); return true;"
onmouseout="change('services', '/clients/image/menu-1_03.gif'); return true;"
href="http://www.seeksadmin.com/"><IMG
src="SeekAdmin - _Control Panel login_files/menu-1_03.gif" border=0 alt=""></A></TD>
<TD><A
onmouseover="change('support', '/clients/image/menu-1-over_04.gif'); return true;"
onmouseout="change('support', '/clients/image/menu-1_04.gif'); return true;"
href="http://www.seeksadmin.com/"><IMG
src="SeekAdmin - _Control Panel login_files/menu-1_04.gif" border=0 alt=""></A></TD>
<TD><A
onmouseover="change('memarea', '/clients/image/menu-1-over_05.gif'); return true;"
onmouseout="change('memarea', '/clients/image/menu-1_05.gif'); return true;"
href="http://www.seeksadmin.com/"><IMG
src="SeekAdmin - _Control Panel login_files/menu-1_05.gif" border=0 alt=""></A></TD>
<TD><A
onmouseover="change('contact', '/clients/image/menu-1-over_06.gif'); return true;"
onmouseout="change('contact', '/clients/image/menu-1_06.gif'); return true;"
href="http://www.seeksadmin.com/"><IMG
src="SeekAdmin - _Control Panel login_files/menu-1_06.gif" border=0 alt=""></A></TD>
<TD><IMG
src="SeekAdmin - _Control Panel login_files/menu-1_07.gif" alt=""></TD></TR>

immedicable
04-25-2004, 09:01 AM
object expected means that youre calling a funtion that it cant find
we won't be able to tell what's wrong unless you also post the head section or the external js that contains said function.

good luck :)

immedicable
04-25-2004, 09:01 AM
and also don't use spaces

edit:
and also they want you to open and close your cellpadding and cellspacing with double quotes, even if it's null

cellpadding="0"

glenngv
04-26-2004, 11:31 AM
immedicable is right. The function could not be found and that may be caused by any of the following:

1. You misspelled the function call. change is different with Change.

2. If the change() function is an inline script, you misspelled the script tag attribute type or language value.

<script type="text/javascirpt">
function change(){
...
}
</script>

<script language="javascirpt"">
function change(){
...
}
</script>

3. If the change() function is located in an external script, you put a <script> tag in it.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum