By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,384 Members | 1,886 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,384 IT Pros & Developers. It's quick & easy.

can I open a new window at the URL level?

P: n/a
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
Share this Question
Share on Google+
3 Replies


P: n/a
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

P: n/a
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

P: n/a
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.