Re: Search tip
| From: | Jim Winstead | Date: | Tue, 20 Mar 2001 23:10:33 +0000 |
| Subject: | Re: Search tip | ||
| References: | 1 | Groups: | php.mirrors |
| Request: | Send a blank email to php-mirrors+get-4538@lists.php.net to get a copy of this message | ||
i've updated the generic javascript bookmark tip to include
the feature of using the current browser selection.
thanks for the tip.
jim
On Wed, Mar 14, 2001 at 09:14:44PM +0100, M. J. Blom wrote:
> Dear Sirs,
>
> I noticed your tips&tricks page and was kinda surprised this
> feature was not there:
>
> OS: Linux
> Browser: Netscape Communicator 4.72
>
> Create a bookmark in the `Personal Toolbar Folder' pointing
> to: javascript:q=document.getSelection();if(!q){void(q=prompt('Enter text to search
> PHP.net.',''))};if(q)location.href='http://www.php.net/manual-lookup.php?function='+escape(
> q)
>
> I somewhere found this on the web and slightly changed it to
> meet the php.net website. If you have this set up, you can
> select text in your browser and hit the button. Than you
> will be directed to the search page. If no text was selected,
> a prompt will appear in which you can type the search string.
>
> Hope this helps :)
>
> Regards,
>
> --
> _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
> Menno Blom When all else fails, read the instructions.
>