Re: disable right-click in all frames.
| From: | Micah Stevens | Date: | Sat, 22 Feb 2003 19:07:16 +0000 |
| Subject: | Re: disable right-click in all frames. | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-25843@lists.php.net to get a copy of this message | ||
Sure there is,
just fopen the remote page, get it, and then parse it until you know
you're in the <body> tag, where you can insert your Javascript. Then
just output the rest.
-Micah
On Sat, 2003-02-22 at 05:22, Matt wrote:
> hey everyone. i have a php script that opens up a new window with multiple
> frames. i am using javascript to disable the right-click mouse button on
> the frames. the problem is that on of the frames uses and external source,
> which i can't change or modifiy at all. is there a way for me to disable
> the right-click mouse button in that frame? is there just some way to
> disable the right-click in all frames (no matter what the source) on a given
> page? please let me know if you have any ideas. thanks.
>
> matt
>
>