救命呀!咋样用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> 使用FreeTextBox时候JS错误、在线等100分献上 scriptX打印 jqGrid问题,大家帮忙看看 如何对嵌套在IFrame里面的控件改变属性值呢?! 求助这段程序的含义? emu大哥请进. 不太明白,谁帮忙解释解释! 这段代码如何改写成javascript? Extjs中分组表格和actioncolumn冲突问题 漂浮QQ客服代码在非IE浏览器下不滚动 让一个框架的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>