its not an href link.
It is a link in the registry that will launch when clicking GO on the toolbar.
The links all look something like this.
javascript:void(window.open("http://www.google.com/search?hl=en&ie=UTF-8&q=%sl&btnG=Google+Search"));
So If it works 100% then can you make that code...
These two here work with double quotes but not single quotes
so a search for "O Riely" would work but a search for O'Riely would fail
javascript:void(window.open('http://www.google.com/search?hl=en&ie=UTF-8&q=%s&btnG=Google+Search'))...
Dan,
Yes that is how I needed to see it. Sorry my explenation was not good. Im new to this.
Anyways the code you posted last did not do anything at all.
Did it work for you?
I do appreciate your help.
Thanks
The example you gave is in html and this toolbar dose not use html, I just dont understand how that will work.
thats why i said they need to look something like this.
javascript:void(window.open("http://www.google.com/search?hl=en&ie=UTF-8&q=%sl&btnG=Google+Search"));
I think I made my last post at the same time as you did :)
Well,
I should have mentioned this is for a toolbar.
It adds a list to the registry and each url is listed and when you enter in the toolbar, your search term,
it replaces the %s with the search term.
I want to have this url...
javascript:void(window.open("http://www.google.com/search?hl=en&ie=UTF-8&q=%sl&btnG=Google+Search"));
This Opens a new window and searches Google but my problem is I cant include QUOTES. (e.g. "1 2 3")
%s = the searched word.
Does anyone know how I can make this work? Im a novice and Im...
Thanks alot for taking the time to try and help me with this. It didnt work unfortunatley, but I have atleast got an idea of what it should look like. As you can probably tell I know very little about javascript.
If your interested in testing a little, the link for the toolbar is below. If not...
Thanks alot. I just wish someone knew exactly how It should go. hehe, Ive been searching for awhile on google and here but I will continue looking. Thnks again for the info.
Im working on a toolbar for IE. It has a button
you can use to open a selected (highlighted) non active url.
It opens the link in the same window.
It works fine but I want the link to open in a new window.
I just cannot figure out where to insert target='_blank'
here is the line I need...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.