469,285 Members | 2,524 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,285 developers. It's quick & easy.

can I open a new window at the URL level?

When I hit a shortcut I created for a particular weblink it always
drops the page into my current browser. I know how to write code to
open a link in a new window, but the standard shortcut properties only
ask for a URL. Is there "URL-code" that I can append to a URL that
will cause the link to be opened in a new window?

Aug 24 '06 #1
3 1329
wrote on 24 aug 2006 in comp.lang.javascript:
When I hit a shortcut I created for a particular weblink it always
drops the page into my current browser. I know how to write code to
open a link in a new window, but the standard shortcut properties only
ask for a URL. Is there "URL-code" that I can append to a URL that
will cause the link to be opened in a new window?
No.

As you formulated in your Q, it is not a Javascript Q.

Please follow up elsewhere.

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Aug 24 '06 #2
no*******@gmail.com wrote:
When I hit a shortcut I created for a particular weblink it always
drops the page into my current browser. I know how to write code to
open a link in a new window, but the standard shortcut properties only
ask for a URL. Is there "URL-code" that I can append to a URL that
will cause the link to be opened in a new window?
No.

Configure your browser to open links from external sources in new windows.

--
David Dorward <http://blog.dorward.me.uk/ <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Aug 24 '06 #3
no*******@gmail.com said the following on 8/24/2006 2:34 PM:
When I hit a shortcut I created for a particular weblink it always
drops the page into my current browser. I know how to write code to
open a link in a new window, but the standard shortcut properties only
ask for a URL. Is there "URL-code" that I can append to a URL that
will cause the link to be opened in a new window?
Contrary to the other answers, you can do what you want to do. Instead
of making the bookmark point to a URL, make it point to a bookmarklet:

javascript:window.open('http://www.google.com');

Save it, name it, and you are on your way. One caveat with IE7 is that
doesn't always open it in a new window, for me and the configuration I
have it opens it in a new tab.

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Aug 24 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by chris | last post: by
7 posts views Thread by alberta soranzo | last post: by
10 posts views Thread by Marshall Dudley | last post: by
3 posts views Thread by unurban | last post: by
26 posts views Thread by yb | last post: by
1 post views Thread by Sin Jeong-hun | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.