RE: [PHP-DB] disable right-click in all frames.
| From: | Matt Palermo | Date: | Sat, 22 Feb 2003 19:54:24 +0000 |
| Subject: | RE: [PHP-DB] disable right-click in all frames. | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-25845@lists.php.net to get a copy of this message | ||
I don't really know how to go about doing that. Could you go into a
more in depth explanation please? Thank you.
Matt
-----Original Message-----
From: Micah Stevens [mailto:micah@raincross-tech.com]
Sent: Saturday, February 22, 2003 2:07 PM
To: Matt
Cc: php-db@lists.php.net
Subject: Re: [PHP-DB] disable right-click in all frames.
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