cvs: phpweb / tips.php

From: Date: Tue, 20 Mar 2001 18:22:47 +0000
Subject: cvs: phpweb / tips.php
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-4524@lists.php.net to get a copy of this message
jimw Tue Mar 20 10:22:47 2001 EDT Modified files: /phpweb tips.php Log: use document selection when there is one Index: phpweb/tips.php diff -u phpweb/tips.php:1.14 phpweb/tips.php:1.15 --- phpweb/tips.php:1.14 Tue Mar 20 10:15:15 2001 +++ phpweb/tips.php Tue Mar 20 10:22:47 2001 @@ -58,7 +58,7 @@ <?php tipTitle('Adding the Quick Reference to most Javascript-capable Browsers', '', '07-Mar-2001'); ?> -<p>Just right-click (control-click or click-and-hold for Macintosh users) on this link: <a href="javascript:void(q=prompt('PHP Reference:',''));if(q)location.href='http://www.php.net/manual-lookup.php?lang=en&function='+escape(q)" title="PHP Quick Reference">PHP Quick Reference</A> and add it to your bookmarks. With some browsers, you may need to edit your bookmarks manually to give the bookmark an easy-to-remember title. You can also edit the bookmark to change the default language by changing 'lang=en' to whatever language you want to use by default. (For example, to pull up the German translation of the manual, you would replace "lang=en" with "lang=de".) +<p>Just right-click (control-click or click-and-hold for Macintosh users) on this link: <a href="javascript:q=document.getSelection();if(!q)void(q=prompt('PHP Reference:',''));if(q)location.href='http://www.php.net/manual-lookup.php?lang=en&function='+escape(q)" title="PHP Quick Reference">PHP Quick Reference</A> and add it to your bookmarks. With some browsers, you may need to edit your bookmarks manually to give the bookmark an easy-to-remember title. You can also edit the bookmark to change the default language by changing 'lang=en' to whatever language you want to use by default. (For example, to pull up the German translation of the manual, you would replace "lang=en" with "lang=de".) </p>

« previous php.mirrors (#4524) next »