救命呀!咋样用js使得点图片可以弹出页面?50分备齐! <img src=image.jpg onclick=window.open("woyingjie.htm","","width=300,height=300")> 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <img src='xx ...' onclick="window.open('a.asp','zyc','top=300 ...')"> 先在你的网页了里放入以下代码,还要做一个小图片 P2.jpg ,再建一页为放大页index2.htm 你的网页1.htm<div align="center"><img src="P2.jpg" width="164" height="90"ONCLICK="window.open('index2.htm','Sample','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no,width=708,height=393,left=100,top=100')"></div> 放大页index2.htm p3.jpg就是你要放大的图片<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><title>外包装</title></head><body><img src="p3.jpg" width="702" height="385"> 显示她的照片和简介</body></html> <img src="*.jpg" onclick="window.open('*.htm','','width=120,height=120');"/> <img src="test.jpg" onclick="javascript:window.open('a.htm','pop','width=120,height=120');"> <script language="JavaScript"><!--function pic(url){window.open(url,"","height=400,width=550,top=100,left=200,resizable=no,scrollbars=yes,status=no,toolbar=no,menubar=no,location=no");}// --></script><a href="javascript:pic('photo/图片页.htm')">我要看</a> 急急急!ExtJS小白问题 新手提问 滚动条的控制 看看我的js表单验证程序,怎样使它更通用 关于js的一个很重要的问题 表单校验框如何回调 2个多选下拉框问题 数据提交的问题 复选框选择修改的问题,为什么只有一条记录的时候,还是会提示没有选中? 如何拦截表单的脚本submit动作======================>用于htc中 小程序云开发,怎么向云数据库指定id的记录新增字段 让一个框架的visibility属性为hidden,但想让它的背景仍然存在,应当怎么做? 请教相除问题!
你的网页1.htm<div align="center"><img src="P2.jpg" width="164" height="90"
ONCLICK="window.open('index2.htm','Sample','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no,width=708,height=393,left=100,top=100')"></div>
放大页index2.htm p3.jpg就是你要放大的图片
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>外包装</title>
</head><body>
<img src="p3.jpg" width="702" height="385"> 显示她的照片和简介</body>
</html>
<!--
function pic(url){window.open(url,"","height=400,width=550,top=100,left=200,resizable=no,scrollbars=yes,status=no,toolbar=no,menubar=no,location=no");}
// -->
</script><a href="javascript:pic('photo/图片页.htm')">我要看</a>