是否有“target = _blank”在CSS中替代? [英] Is there a "target=_blank" alternative in css ?

查看:90
本文介绍了是否有“target = _blank”在CSS中替代?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hi group


我正在使用XHTML Strict和CSS开发网站。是

有没有办法在新窗口中打开链接而不使用框架或

Javascript或其他什么?我找不到方法...

TIA

Dimitri。

Hi group

I am in the process of developing a website in XHTML Strict and CSS. Is
there a way to open a link in a new window without the use of frames or
Javascript or something ? I didn''t find a way ...
TIA
Dimitri.

推荐答案

在帖子< kW ****************** @ afrodite.telenet-ops.be>

Dimitri Debruyne说...
In post <kW******************@afrodite.telenet-ops.be>
Dimitri Debruyne said...
我正在使用XHTML Strict和CSS开发网站。有没有办法在不使用框架或
Javascript或其他东西的情况下在新窗口中打开链接?
I am in the process of developing a website in XHTML Strict and CSS. Is
there a way to open a link in a new window without the use of frames or
Javascript or something ?




没有。如何让访问者确定他们是否想要一个新窗口

或者不是这样?


-

brucie a。布莱克福德。 26 / July / 2003 05:39:35 pm kilo。
http:// loser。 brucies.com/


7月26日星期六,David Dorward刻在永恒的卷轴上:
On Sat, Jul 26, David Dorward inscribed on the eternal scroll:
那个取决于浏览器,通常是右键单击链接并选择在新窗口中打开。或者类似的作品。
That depends on the browser, typically right clicking on a link and picking
"Open in New Window" or similar works.




鼠标手势?内置于Opera,或
http://optimoz.mozdev Mozilla的.org / gestures / index.html



Mouse gestures? Built-in to Opera, or
http://optimoz.mozdev.org/gestures/index.html for Mozilla.


>我正在使用XHTML Strict和CSS开发网站。是
> I am in the process of developing a website in XHTML Strict and CSS. Is
有没有办法在新窗口中打开链接而不使用框架或
Javascript或其他东西?我没有找到方法......
there a way to open a link in a new window without the use of frames or
Javascript or something ? I didn''t find a way ...




在严格的xhtml和css中它是不可能的 - 它被删除了一个原因,

让用户可以控制自己的计算机,而不是在那里和任何地方弹出

windows。当然很多网站都有弹出窗口的合法用途,但现在认为最好的做法是给他们选择

。如果没有,你将不得不使用javascript或其他东西。


David



Its not possible in strict xhtml and css - it was removed for a reason, to
give users the control over their own computers rather than you popping
windows up here there and everywhere. Of course a lot of sites do have
legitimate uses for popups, but its now considered best practice to give
them the choice. If not, you''ll have to use javascript or something else.

David


这篇关于是否有“target = _blank”在CSS中替代?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆