国外设计欣赏网站 - DOOOOR.com

 找回密码
 注册

QQ登录

只需一步,快速开始

扫一扫,微信登陆

搜索

[Drupal模块] drupal 7.X/6.X模块介绍:External links将菜单链接设置在新窗口打

[复制链接]
发表于 4-11-2012 09:24 | 显示全部楼层 |阅读模式

External links模块可以设置全局的所有链接为新窗口打开。

http://drupal.org/project/extlink , _ b/ m8 v" ?4 Y



External Links

External Links is a small module used to differentiate between internal and external links. Using jQuery, it will find all external links on a page and add an external icon Only local images are allowed. indicating it will take you offsite or a mail icon Only local images are allowed. for mailto: links.

外部链接是一个小的模块,用来区分内部和外部链接。使用jQuery,它会发现网页上的所有外部链接,并添加一个外部的图标,表示将采取异地或邮件图标为站长:链接。

Configuration options:

  • Apply icons to either mailto: or external links or both.
  • 应用图标:任站长或外部链接,或两者兼而有之。

  • Configure external links to open in a new window.
  • 配置外部链接在新窗口中打开。

  • A confirmation message when leaving the site.
  • 离开时显示一个确认的消息。
     
  • Regular expression inclusion and exclusion of links considered external.
  • 考虑外部的链接的正则表达式包含和排除。 

You may also take a look at External Link Extras, which can expand the functionality of External Links.

你也可以看看External Link Extras外部链接额外服务),这可以扩展功能的外部链接。 

This module Built by Robots:

robots修造的这个模块: 

Downloads













































如果是菜单上链接,请使用Menu attributes模块:http://drupal.org/project/menu_attributes

在内容里面的链接用wysiwyg编辑器设置链接target属性为_blank。

整站的链接都是新开窗口不适合大部分情况!

|2011-2026-版权声明|平台(网站)公约|DOOOOR 设计网 ( 吉ICP备2022003869号 )

GMT+8, 2-19-2025 13:55 , Processed in 0.480084 second(s), 176 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表