在Web-Development中,如何打开链接 [英] in Web-Development, how to open a link
本文介绍了在Web-Development中,如何打开链接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Facebook如何在同一窗口中打开图像........
解决方案
如果这不是您所需要的,请澄清。
看看这个:
http://www.w3schools.com/tags/att_a_target.asp [ ^ ]
或者......
定义和用法
target属性指定打开链接文档的位置。
语法
属性值
值描述
_blank在新窗口或标签页中打开链接文档
_self在单击的框架中打开链接文档(这是默认设置)
_parent在父框架中打开链接文档
_top打开完整链接文档窗口的主体
framename打开命名框架中的链接文档
尝试使用一些jquery插件,如Lightbox等
http://www.v7n.com/forums/web-design-lobby/18377-href-onclick-same-window.html [ ^
How facebook open a image in the same window ........
解决方案
If this isn't what you need, please clarify.
Take a look at this:
http://www.w3schools.com/tags/att_a_target.asp[^]
Or...
Definition and Usage
The target attribute specifies where to open the linked document.
Syntax
Attribute Values
Value Description
_blank Opens the linked document in a new window or tab
_self Opens the linked document in the same frame as it was clicked (this is default)
_parent Opens the linked document in the parent frame
_top Opens the linked document in the full body of the window
framename Opens the linked document in a named frame
Try using some jquery plugins such as Lightbox,etc
visit here...
http://www.v7n.com/forums/web-design-lobby/18377-href-onclick-same-window.html[^]
这篇关于在Web-Development中,如何打开链接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文