Re: right click menu
| From: | Gabor Hojtsy | Date: | Wed, 28 Aug 2002 19:04:36 +0000 |
| Subject: | Re: right click menu | ||
| References: | 1 | Groups: | php.doc.chm |
| Request: | Send a blank email to php-doc-chm+get-410@lists.php.net to get a copy of this message | ||
> I recently looked over the php manual. I am not sure if this was
> purposefully left out but why when you right click are you denied access
to
> view the source code? It should at
> least be an option... shouldn't it?
>
> <form>
> <input type="button" value="View Source"
> onClick= 'window.location = "view-source:" + window.location.href' >
> </form>
>
> something like this could be used. although I don't think a button would
fit
> in well.
Well, I checked again, and it's sure it does not work (at least in IE5).
Try to copy-paste this to an IE location bar and press ENTER (with valid
path of course ;):
mk:@MSITStore:C:\path\to\doc\php_manual_en.chm::/introduction.html
This will show the intro page... Now prepend it with "view-source:" and
see that *nothing* happens. At least for me in IE5... I have also added
a test context menu function for this but it also does not work there...
Goba