Re: Cool Quick Reference Tips

From: Date: Tue, 12 Nov 2002 12:08:54 +0000
Subject: Re: Cool Quick Reference Tips
References: 1  Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-13524@lists.php.net to get a copy of this message
Thanks for the tip, I have just added it to our tips page. Goba [one webmaster@php.net] ----- Original Message ----- From: Fraghunter To: webmaster@php.net Sent: Thursday, November 07, 2002 2:05 PM Subject: Cool Quick Reference Tips Hi! I visited the page mentioned above (http://www.php.net/tips.php) and I tried to use the method "Adding the Quick Reference to most Javascript-capable Browsers" with my browser (Internet Explorer 6). Well, it didn't work. But after trying a little bit I found the correct code. It is: javascript:q=document.selection.createRange().text;if(!q)void(q=prompt('PHP%20Reference:',''));if(q)location.href='http://www.php.net/manual-lookup.php?lang=en&function='+escape(q) this should work with IE4+ mfG Fraghunter Ps: Sorry for my bad english ;-)

« previous php.mirrors (#13524) next »