here are the code from the link, get from IE developer toolbar:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML Transitional//EN"><META
http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<HTML lang="en-US" xmlns="
http://www.w3.org/1999/xhtml"
xml:lang="en-US"><BODY scroll="no"><DIV id="menuLayer1"
style="Z-INDEX: 1; LEFT: -200px; VISIBILITY: hidden; WIDTH: 142px;
COLOR: #f1f1f1; POSITION: absolute; TOP: -200px; HEIGHT: 103px;
BACKGROUND-COLOR: #f1f1f1; zindex: 1; pixeltop: -300; pixelleft:
-300"><DIV id="menuLite1" style="Z-INDEX: 1; LEFT: 1px; WIDTH: 140px;
POSITION: absolute; TOP: 1px; HEIGHT: 101px; BACKGROUND-COLOR:
#f1f1f1" onmouseout="mouseoutMenu();"><DIV id="menuFg1" style="LEFT:
1px; WIDTH: 139px; POSITION: absolute; TOP: 1px; HEIGHT: 100px;
BACKGROUND-COLOR: #999999">
############################################
This is the link that uses a 'mmaction' to do the action
Pay attention on 'onclick' action, that returns 'null'.
The action is in 'mmaction', and watir doesn´t understand it.
############################################
<DIV id="menuItem1" onmouseover="onMenuItemOver(null,this);"
style="FONT-SIZE: 10px; LEFT: 0px; VISIBILITY: inherit; WIDTH: 138px;
CURSOR: hand; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif;
POSITION: absolute; TOP: 20px; HEIGHT: 19px; BACKGROUND-COLOR:
#f1f1f1; fontSize: 10px" onclick="onMenuItemAction(null,this);"
saveColor="#F1F1F1" menuHiliteBgColor="#CCCCCC"
mmaction="location='javascript:openWin(2);'" zIndex="1">
<DIV id="menuItemText1" style="LEFT: 5px; COLOR: #000000; POSITION:
absolute; TOP: 3px">
<DIV id="menuItemShim1" style="LEFT: 0px; POSITION: absolute; TOP: 0px">
<DIV align="left">
EMPRESAS
</DIV>
</DIV>
############################################
End of the link
############################################
</DIV>
<DIV id="menuItemHilite1" style="LEFT: 5px; VISIBILITY: hidden; COLOR:
#000000; POSITION: absolute; TOP: 3px">
<DIV id="menuItemShim1" style="LEFT: 0px; POSITION: absolute; TOP: 0px">
<DIV align="left">
EMPRESAS
</DIV>
</DIV>
</DIV>
</DIV>
</DIV></DIV></DIV></BODY></HTML>
2008/8/16 wesley chen <
cjq...@gmail.com>