找回密码
 加入
搜索
查看: 1279|回复: 2

網頁上圖型按鈕click

[复制链接]
发表于 2009-6-15 19:18:55 | 显示全部楼层 |阅读模式
<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")
发表于 2009-6-15 21:35:37 | 显示全部楼层
_IEAction ($oImg, "click")
发表于 2009-6-16 09:04:14 | 显示全部楼层
应该这样找:

$setup = _IEGetObjByID ($oIE, "tbID4center"),找的名字错了。
您需要登录后才可以回帖 登录 | 加入

本版积分规则

QQ|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度

GMT+8, 2024-9-22 15:36 , Processed in 0.077248 second(s), 23 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表