Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

2 mouseover behaviour events not working

Status
Not open for further replies.

bopritchard

Programmer
Jan 27, 2003
199
US
i've assigned 2 mouseover events to an object...but 1 of them is not firing...shouldn't i be able to do this?
 
yes u should

:--------------------------------------------------------------------------:
fugitive.gif

ok,ok...I did shoot the deputy but he told me he was the sheriff!
:--------------------------------------------------------------------------:
 
Can you fire each event by themselves? Are your events separated by a comma? Have you double checked to make sure you've placed the mouseovers on a handler that supports that feature?

..Dunno, but just keep pecking away at the possiblities.

- theAntic
www.etoddt.com​
 
Code:
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_goToURL() { //v3.0
  var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
}

function MM_popupMsg(msg) { //v1.0
  alert(msg);
}
//-->
</script>
</head>

<body>
<a href="#" onClick="MM_goToURL('parent','test.html');return document.MM_returnValue" onMouseOver="MM_popupMsg('msg here\r')">link</a> 
</body>
</html>

is just a sample of2 'GotoURL' and 'ShowMSG' functions....make sure your have both functions(JS)

post your code for any specific help...
All the best!

:--------------------------------------------------------------------------:
fugitive.gif

ok,ok...I did shoot the deputy but he told me he was the sheriff!
:--------------------------------------------------------------------------:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top