查看: 1653|回复: 4
|
pop up新的window
[复制链接]
|
|
<html>
<head>
<meta http-equiv="Content-Language" content="en-us">
<meta name="GENERATOR" content="Microsoft FrontPage 6.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title></title>
</head>
<body bgcolor = #000000>
<font color=#FF0000>
<p align="center"><b><u><span lang="zh-cn">歌曲</span></u></b></p>
<p align="left"><b><span lang="zh-cn"><u><a href="love.html">爱很简单</a></u></span></b></p>
<p align="left"><b><span lang="zh-cn"><u><a href="syyg.html">岁月如歌</a></u></span></b></p>
<p align="left"><b><span lang="zh-cn"><u><a href="kaoan.html">靠岸</a></u></span></b></p>
</font>
</body>
</html>
我想要得是 pop up window,我的coding应该是怎样呢/ |
|
|
|
|
|
|
|
发表于 28-8-2006 05:54 PM
|
显示全部楼层
<a href="syyg.html">
换成
<a href="syyg.html" target="_blank"> |
|
|
|
|
|
|
|
发表于 28-8-2006 06:24 PM
|
显示全部楼层
原帖由 手語 于 28-8-2006 05:09 PM 发表
<html>
<head>
<meta http-equiv="Content-Language" content="en-us">
<meta name="GENERATOR" content="Microsoft FrontPage 6.0">
&l ...
你可以用 javascript
<a href="abc.htm"
onClick="window.open('abc.htm', 'myWin',
'toolbar=no, directories=no, location=no,
status=yes, menubar=no, resizable=no, scrollbars=no,
width=300, height=200');
return false"
>my image</a>
[ 本帖最后由 zuying1985 于 28-8-2006 06:25 PM 编辑 ] |
|
|
|
|
|
|
|
发表于 29-8-2006 01:17 AM
|
显示全部楼层
原帖由 zuying1985 于 28-8-2006 06:24 PM 发表
你可以用 javascript
<a href="abc.htm"
onClick="window.open('abc.htm', 'myWin',
'toolbar=no, directories=no, location=no,
status=yes, menubar=no, resizable=no, ...
你们也可以试试把 ‘myWin’ 改去 ‘_blank’.
我有找过一点文章。。他们说这样写的话。。。你的pop up window 会比较快出来。 |
|
|
|
|
|
|
|
发表于 29-8-2006 01:43 AM
|
显示全部楼层
原帖由 hunterteh 于 29-8-2006 01:17 AM 发表
你们也可以试试把 ‘myWin’ 改去 ‘_blank’.
我有找过一点文章。。他们说这样写的话。。。你的pop up window 会比较快出来。
这是基于什么原理呢?
myWin 在以上的 code 只是 windows 的名字. |
|
|
|
|
|
|
| |
本周最热论坛帖子
|