调用系统相册中图片js:
<script language="javascript">
document.getElementById('img_ho').src = plus.io.resolveLocalFileSystemURL("_www/hengping.jpg");
document.getElementById('img_vo').src = plus.io.resolveLocalFileSystemURL("_www/shuping.jpg");
</script>
并排显示在页面上:
<table><tr>
<td><a href="vo.html" target="_parent" title="点击获取"><img id="img_vo" src="?" onerror="this.src='images/nopic.png';this.οnerrοr=null" border=0/></a></td>
<td><a href="ho.html" target="_parent" title="点击获取"><img id="img_ho" src="?" onerror="this.src='images/nopic.png';this.οnerrοr=null" border=0/></a></td>
</tr></table>
0 个评论
要回复文章请先登录或注册