Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New to the CF scene
    Join Date
    Apr 2004
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    mouseover/mouseout

    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>

  • #2
    Registered User
    Join Date
    Apr 2004
    Posts
    99
    Thanks
    0
    Thanked 0 Times in 0 Posts

    hmm

    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

  • #3
    Registered User
    Join Date
    Apr 2004
    Posts
    99
    Thanks
    0
    Thanked 0 Times in 0 Posts

    and

    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"

  • #4
    Supreme Master coder! glenngv's Avatar
    Join Date
    Jun 2002
    Location
    Philippines
    Posts
    11,037
    Thanks
    0
    Thanked 250 Times in 246 Posts
    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.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •