Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

How to open link in new tab using Spry?

New Here ,
Jul 02, 2008 Jul 02, 2008
Does anyone know how to open menu web links in a new tab (instead of opening a new window - IE7) using the Spry horizontal dropdown menu? I tried putting "_tab" in the target field but it doesn't seem to work. Thanks!
TOPICS
Extensions
1.1K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jul 02, 2008 Jul 02, 2008
drstall wrote:
> Does anyone know how to open menu web links in a new tab (instead of opening a
> new window - IE7) using the Spry horizontal dropdown menu? I tried putting
> "_tab" in the target field but it doesn't seem to work. Thanks!

Opening new windows in a new tab is a setting within the IE7 preferences ( and I'd assume 8 too ) and as far as I'm aware there is no control over this setting from within the HTML/JavaScript of the web page to do what you are asking. If you use _blank and the user has the appropriate setting in their browser, then it will open in a new tab, not in a new window.

--
Danilo Celic
| http://blog.extensioneering.com/
| WebAssist Extensioneer
| Adobe Community Expert
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jul 02, 2008 Jul 02, 2008
Thanks - using "_blank" instead of "_tab" did the trick (my IE7 was already set to open links in a new tab, not window).
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jul 02, 2008 Jul 02, 2008
LATEST
drstall wrote:
> Thanks - using "_blank" instead of "_tab" did the trick (my IE7 was already set to open links in a new tab, not window).

Glad it worked out for you, but just remember that if someone else doesn't have that options set, then they won't get a new tab, they'll get a new window, so do not rely on it being a new tab for everyone.


--
Danilo Celic
| http://blog.extensioneering.com/
| WebAssist Extensioneer
| Adobe Community Expert
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines