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 to insert it to.
"javascript:q=(document.frames.length?'':document.selection.createRange().text);for(i=0;i<document.frames.length;i++){q=document.frames.document.selection.createRange().text;if(q!='')break;}if(q=='')void(alert('Nothing was selected. Please select an URL on the page. '));if(q!=''){if(q.substr(0,7)!=\"
Can someone Please help me???
Thank you very much!
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 to insert it to.
"javascript:q=(document.frames.length?'':document.selection.createRange().text);for(i=0;i<document.frames.length;i++){q=document.frames.document.selection.createRange().text;if(q!='')break;}if(q=='')void(alert('Nothing was selected. Please select an URL on the page. '));if(q!=''){if(q.substr(0,7)!=\"
Can someone Please help me???
Thank you very much!