Works on Safari, too.
On Friday, January 31, 2003, at 01:09 AM, Scott Cadillac wrote:
Google ROCKS!
Check out this interesting feature you could add to your website or
Internet
Explorer.
http://www.google.com/options/winexplorer.html
Someone from another Microsoft List I belong too passed along this bit
of
JavaScript so you could modify the Google feature to integrate with
your own
site Search features. Could be a nice feature for your customers
and/or site
vistors.
Cheers....
<a
href="javascript:q=(document.frames.length?'':document.selection.create
Range
().text);for(i=0;i<document.frames.length;i++){q=document.frames[i].doc
ument
.selection.createRange().text;if(q!='')break;}if(q=='')void(q=prompt('E
nter
text to search using #NAME#. You can also highlight a word on this web
page
before clicking
#LINKNAME#.',''));if(q)location.href='http://#DOMAIN#/
#PAGE#?#STRINGNAME#='+
escape(q)">#LINKNAME#</a>
Just replace the following with the correct values:
#NAME# = Your customer's name
#LINKNAME# = The name of the link you want the users to drag and to
see in
the links bar
#DOMAIN# = Your customer's domain name (i.e.
"http://www.microsoft.com/")
#PAGE# = The page that you are trying to execute (i.e. "search.aspx")
#STRINGNAME# = The name of you string (i.e. "term")
Your url might look like this:
location.href='http://www.microsoft.com/search.aspx?term='+escape(q)
_______________________________________________________________________
_
TO UNSUBSCRIBE: send a plain text/US ASCII email to
[EMAIL PROTECTED]
with unsubscribe witango-talk in the message body
________________________________________________________________________
TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
with unsubscribe witango-talk in the message body