中国教程网《Photoshop专家讲堂》光盘热售参与论坛活动,快速赚取金币精品素材,中英文字体
发新话题
打印

求助

求助


请问下 怎样做 没有地址栏、工具栏,就只有一个正文的网站怎样做啊
提供个这样的网站 http://www.wanj.cn/ 点这个网站下边的平面广告设计 我就想要做这种效果

TOP


都是用js弹窗实现的,下面是比较常见的两种方法,一种直接把js写在链接里,另一种写一个弹窗函数,然后在链接里调用函数

[runcode]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
<script language="javascript">
<!--

function openWin(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
//-->
</script>

</head>

<body>
<p><a href="javascript:window.open('http://www.jcwcn.com','newwindow','height=400,width=400')">弹窗</a>
<p> </p>
<p><a href="#" onclick="openWin('http://www.jcwcn.com','newwindow','width=400,height=400')">弹窗</a></p>
</body>

</html>[/runcode]
快乐学习!
发新话题