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/