Re: An idea for a PHP tool

From: Date: Fri, 04 Jan 2002 00:31:29 +0000
Subject: Re: An idea for a PHP tool
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-79412@lists.php.net to get a copy of this message
Through suggestions of people here is the code I produced for a bookmark: javascript:void(srch=prompt('Function Name?',''));if(srch) {self.location.href='http://download.php.net/search.php?pattern=' +srch+ '&show=quickref';}; Of course that should all go on one line. That is a good hack for now, but I still think it would be great to have the PHP site's search bar kind of in my browser, and it would launch a new window or whatever (with the drop-down to select function ref/online manual/etc) Mike Jason Murray wrote:
Like google has it's toolbar, why not have a PHP Manual toolbar? That would be *great*. Just type in the function name and hit "go" and the manual comes up.
You could probably work a bit of javascript magic in a bookmark to do the same thing. I've seen bookmarks that pop up a javascript input window and then use the input in the resulting URL. So, take the manual query via javascript input and then append it to the www.php.net url. At least, I *think* I have :) J


« previous php.general (#79412) next »