SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast rutters's Avatar
    Join Date
    Nov 2002
    Location
    ct
    Posts
    85
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Help with two functions in OnMouseout!!!

    hey everyone,

    Im trying to have an image rollover and drop down menu on this image.

    here is the javascript

    <a href="members.htm" onMouseOut="MM_swapImgRestore(),MM_startTimeout()" onMouseOver="MM_swapImage('Image5','','images/members_on.gif',1),MM_showMenu(window.mm_menu_0817180241_0,-35,23,null,'members_on')">

    I need to have two functions for onMouseOut and onMouseOver.

    Can you do that - or does it have to be written a certain way. It seems to not be working.

    Please help.

    Thanks,

    Jake

  2. #2
    SitePoint Evangelist Mr. Brownstone's Avatar
    Join Date
    May 2002
    Location
    Relative
    Posts
    452
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Code:
    <a href="members.htm" onMouseOut="MM_swapImgRestore();MM_startTimeout();" onMouseOver="MM_swapImage('Image5','','images/members_on.gif',1);MM_showMenu(window.mm_menu_0817180241_0,-35,23,null,'members_on');">
    Use semi-colons not commas to seperate each function call.
    Of course, that's just my opinion. I could be wrong.


Bookmarks

Posting Permissions

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