我想做图片检查点,但没有src怎么办?
源代码如下:我们的应用只有背景图片和图片上的透明图片两种,而透明图片在每个页面上的名称都是相同的blank.gif,所以做图片检查点只能根据背景图片来判断.但是背影图片没有只有body background="../images/vd_zero.jpg"没有src的怎么办呢?
<base href="http://218.108.247.148/WCFT/vd/vd_zero.jsp">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gbk">
<title>每日竞赛-two</title>
<script language="javascript">
var theURL = document.URL;
theURL="vdAction.do?opAction=vd_one";
</script>
<script language="javascript" src="../js/CheckIPanel.js"></script>
</head>
<body background="../images/vd_zero.jpg" leftmargin="0" topmargin="0" text="#000000" alink="#000000" vlink="#000000" link="#000000">
<table width="640" height="526" cellpadding="0" cellspacing="0" border="0">
<tr><td height="160"></td></tr>
<tr><td height="40"></td></tr>
<tr><td height="124"></td></tr>
<tr>
<td height="131">
<!-- 进入(start) -->
<table width="640" height="131" cellpadding="0" cellspacing="0" border="0">
<tr>
<td width="20"></td>
<td width="271" align="left" valign="top">
<table width="271" height="131" cellpadding="0" cellspacing="0" border="0">
<tr>
<td width="111" height="9"></td>
<td width="46"> </td>
<td width="114"> </td>
</tr>
<tr>
<td height="33" align="center" valign="middle">606</td>
<td align="center" valign="middle"> </td>
<td align="center" valign="middle">707</td>
</tr>
<tr><td colspan="3" align="left" valign="top"></td>
</tr>
</table>
</td>
<td width="72" align="left" valign="top" >
<img src="../images/blank.gif" width="72" height="131" border="0" usemap="#Map"> </td>
<td width="277" align="left"></td>
</tr>
</table>
<!-- 进入(end) -->
</td>
</tr>
<tr>
<td height="71" align="left" valign="top">
<img src="../images/blank.gif" width="640" height="71" border="0" usemap="#Map2"></td>
</tr>
</table>
<map name="Map2">
<!--<area shape="rect" coords="35,2,108,39" href="#"> -->
<!--<area shape="rect" coords="257,11,364,40" href="vdAction.do?opAction=vd_explain_one"> -->
<area shape="rect" coords="414,8,484,45" href="vdAction.do?opAction=vd"><area shape="rect" coords="529,8,601,45" href="#">
</map>
<map name="Map">
<area shape="rect" coords="4,5,67,36" href="vdAction.do?opAction=vd_one&entity.id=22&entity.team_A=606&entity.team_B=707&entity.typeid=2">
</map></body>
</html> 而且没有alt
:( 用Text_Check呀,
web_find(); 但是图片上没有文字的喽 <img src="../images/blank.gif" width="72" height="131" border="0" usemap="#Map"> </td> web_image_check("image_check","Src=/images/vd_zero.jpg",LAST); 我不清楚你要检查那个图片,把你要检查的图片的相对路径替换红色字体部分就可以了
页:
[1]