欧版三星s7edge评测:请求网页点击代码

来源:百度文库 编辑:杭州交通信息网 时间:2024/03/28 16:36:34
想法。
点击A页面中的某个图片,然后弹出一个页面。在点击A页面那个图片的同时。A页面内转入另一个页面。
明白不。。

不知道是不是这个意思:
点击A页面的那个图片时,A页面转入另一个页面(B),然后弹出的那个页面(C)是从(B)页面里弹出的?如果是这样的话,代码可以这样:

A页面:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>A页面</title>
</head>

<body>
<a href="B页面" target="_self"><img src="https://gss0.bdstatic.com/70cFsjip0QIZ8tyhnq/img/logo-zhidao.gif" width="137" height="46" border="0"></a>
</body>
</html>

B页面如下:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>B页面</title>
</head>

<body>
<SCRIPT language=javascript>
window.showModelessDialog("http://zhidao.baidu.com","CHINAZindexP","center:no;dialogLeft:5px;dialogTop:5px;scroll:0;status:0;help:0;resizable:0;dialogWidth:1024px;dialogHeight:768px")
</SCRIPT>
</body>
</html>

如果还是搞不懂可以加我Q:55890189

dw的行为 就可以做到 研究一下吧.具体就不说了

我的论坛.支持一下吧.呵呵
http://www.aeeie.com 网络爱时代的开始

内页网页设计专版.版主将会为你诚心的解答.所有的网页问题,

<a href="javascript:do_pro();">点击这里(这里是个图片)</a>
<script>
function do_pro()
{

var popwin = window.open('yuanjiao.htm','_blank');
popwin.focus();
window.location.href='http://www.baidu.com';
}
</script>