yzchair 发表于 2013-8-16 08:38:55

php网页游戏

想写一个php网页游戏的助手,请问用什么方式获取页面上的那些按钮
页面html代码
<DIV id=xcx_tabmenu>
      <DIV class=cx_tabmenu id=cx_tabmenu>
          <!--一级菜单-->
      <DIV id=ddimagetabs>
          <a class='sclink' id='sclink1' onMouseOver="expandcontent('1', this)" href='#'>首页</a>
<span class="nav_split"></span>
<a class='sclink' id='sclink2' onMouseOver="expandcontent('2', this)" href='#'>球队</a>
<span class="nav_split"></span>
<a class='sclink' id='sclink3' onMouseOver="expandcontent('3', this)" href='#'>比赛</a>
<span class="nav_split"></span>
<a class='sclink' id='sclink4' onMouseOver="expandcontent('4', this)" href='#'>联盟</a>
<span class="nav_split"></span>
<a class='sclink' id='sclink5' onMouseOver="expandcontent('5', this)" href='#'>转会</a>
<span class="nav_split"></span>
<a class='sclink' id='sclink6' onMouseOver="expandcontent('6', this)" href='#'>道具</a>

yzchair 发表于 2013-8-16 08:41:04

<div class="left lh16">训 练:<div id="data_xun_lian_ren_shu" style="display:inline">25/25<span type="left" aurl="i.php?a=2061" class="count_down hide" mes="暂无" value="4848"></span></div>&nbsp;人</div>
<div class="left_box_button right"><span onclick="menu_click(2,2,1);" class="hand"><img class="tt" tips="tt_xl_wc" src="images/left_button_03.gif" width="28" height="14" /></span></div>
                <div class="clear"></div><div class="blank2"></div>

xz00311 发表于 2013-8-16 09:40:13

'sclink1'看了我记得好像是这个啊

yzchair 发表于 2013-8-16 16:34:37

那怎么用 呢? 用哪方面的api
页: [1]
查看完整版本: php网页游戏