Forums Archive Index > SmartMenus 5 > Target:newWindow popup window blocked?
Date: 14 Aug 2005 3:21 pm
I'd like to be able to open links in new windows, as if the link read
<a href="http://some-site.com" target="_blank">text link</a>
but when I use this code
{U:'http://some-site.com',T:'Name of Site',Target:'newWindow'}
I see an attempt to open a popup window -- which is blocked by my popup blocker. Is there a better way to open links in new windows? Links created the "old" way (see HTML above) do NOT trigger my popup blocker.
Thanks for any help you can provide.
Date: 15 Aug 2005 4:18 am
When Target:'newWindow' is set, the links in the menu items are configured with exactly the same syntax:
<a href="http://some-site.com" target="_blank">text link</a>
This is the case in all modern browsers- IE5+, Gecko powered, Opera 7+, Safari... The only difference is that the code of the A elements is written using JS.
So normally the pop-up windows should not be blocked by any pop-up blocker. And this is the case, for example, with the pop-up blockers in Opera, Firefox and the Google toolbar for IE.
So I am a bit confused you have problems with your pop-up blocker. :? Could you please mention which browser and pop-up blocker you are using?
Date: 15 Aug 2005 8:28 am
>>> Could you please mention which browser and pop-up
>>> blocker you are using?
IE 6.something, Win 2K Pro, Google Toolbar.
Confusing. Frustrating.
Thanks for your help.
By the way, I've tested your menus on a Mac, using OS X and Safari, Netscape, and IE 5.something. It's amazing how well they work, especially compared to other menus that only work some of the time.
Keep up the good work!
Date: 15 Aug 2005 8:50 am
jhherring wrote:
Keep up the good work!Thanks! :)
Hmm, I just don't know what may be wrong. I have Google toolbar version 3.0.123-2 on IE6 SP1 (Win2k Pro too) and it doesn't block the pop-up. I just don't know what to think.. :?
Date: 15 Aug 2005 9:23 am
I now get it. Just take a look at my last answer in this otpic:
--> http://www.smartmenus.org/forum/viewtopic.php?t=305