karose.tzu 发表于 2009-6-15 19:18:55

網頁上圖型按鈕click

<td>
        <table id="tbID4" border="0" cellpadding="0" cellspacing="0" onMouseOver="makeButton('tbID4');" onMouseOut="clearButton('tbID4');" onMouseDown="makeButtonDown('tbID4');redirect('streaming.cs?version=1.0&sessionID=59755887&action=get')" onMouseUp="makeButton('tbID4');">
        <tr>
        <td width="3"><img name="tbID4left" src="images/toolbarGradient3px.gif" width="3" height="28" alt=""></td>
        <td class="cuesToolbarCell" id="tbID4center"><img class="cuesToolbarIcon" src="icons/ConfigAddressbook16Wht.gif" width="16" height="16" border="0" alt="">Setup</td>
        <td width="3"><img name="tbID4right" src="images/toolbarGradient3px.gif" width="3" height="28" alt=""></td>
        </tr>
        </table>
</td>
    请问大侠,我想点击此按图形按钮,不过试了都不行
$setup = _IEGetObjByID ($oIE, "tbID4")
$setup.click
or
_IEImgClick ($oIE, "ConfigAddressbook16Wht.gif", "name")

zengjinbai 发表于 2009-6-15 21:35:37

_IEAction ($oImg, "click")

javarike 发表于 2009-6-16 09:04:14

应该这样找:

$setup = _IEGetObjByID ($oIE, "tbID4center"),找的名字错了。
页: [1]
查看完整版本: 網頁上圖型按鈕click