Tip for "Cool PHP Tips" section

From: Date: Tue, 08 Aug 2000 17:48:56 +0000
Subject: Tip for "Cool PHP Tips" section
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-1564@lists.php.net to get a copy of this message
Hi there, a nice way for Netscape users to search for functions is to create a "booklet". Create a bookmark with the following URL: javascript:term=document.getSelection(); url='http://www.php.net/manual-lookup.php?function='; if(!term){term=prompt('PHP search','');} location.href=url+escape(term); Note: no spaces - all in one line! If you select some text within Netscape then it is automatically used as the search term, otherwise a prompt window pops up. This may work on IE too - didn't test it. Maybe it needs some modifications there. Enjoy /Arno p.s. testet on NS4.7 under Linux pp.s. this "booklet" stuff is not my invention - I saw it about a year (or longer) ago on C'T (http://www.heise.de/ct/). I just adapted it for PHP.net.

« previous php.mirrors (#1564) next »