How do I add sound to a right click script insted of a
message. Here what I have for a script it dont let you
copy or save as. The message thanks for looking apears. I
would like NOT to have a message just a sound something I
can record my self.

<script LANGUAGE="JavaScript">
function click(){
if (event.button==2){
alert('THANKS FOR LOOKING!');
}
}
document.onmousedown=click
// -->
</script>

Re: right click script by Jim

Jim
Thu Feb 19 07:47:34 CST 2004

Before you go to all of that trouble, you might want to check this out:

http://www.jimcoaddins.com/protect.htm

--
Jim Cheshire
Jimco
http://www.jimcoaddins.com
================================
Author of Special Edition
Using Microsoft Office FrontPage 2003
5 Stars on Amazon and B&N
================================
The opinions expressed by me in the
newsgroups are my own opinions and
are in no way associated with my
employer or any other party. Jimco is
not associated in any way with any other
entity.



"kelly" <kelly-ra@cox.net> wrote in message
news:12a2701c3f6b3$f77bf220$a001280a@phx.gbl...
> How do I add sound to a right click script insted of a
> message. Here what I have for a script it dont let you
> copy or save as. The message thanks for looking apears. I
> would like NOT to have a message just a sound something I
> can record my self.
>
> <script LANGUAGE="JavaScript">
> function click(){
> if (event.button==2){
> alert('THANKS FOR LOOKING!');
> }
> }
> document.onmousedown=click
> // -->
> </script>
>
>



Re: right click script by MD

MD
Thu Feb 19 09:37:16 CST 2004

Jim,

This question has nothing to do with protecting an image.

--
Mike -- FrontPage MVP '97-'02
http://www.websunlimited.com
Create fast, better scaling link bars with CSS Menu Maker
http://www.websunlimited.com/order/Product/CssMenu/css_menu.htm
FrontPage Add-ins Since '97 2003 / 2002 / 2000 Compatible

"Jim Cheshire" <contactme@www.jimcoaddins.com> wrote in message news:u9dTq7u9DHA.1936@TK2MSFTNGP12.phx.gbl...
> Before you go to all of that trouble, you might want to check this out:
>
> http://www.jimcoaddins.com/protect.htm
>
> --
> Jim Cheshire
> Jimco
> http://www.jimcoaddins.com
> ================================
> Author of Special Edition
> Using Microsoft Office FrontPage 2003
> 5 Stars on Amazon and B&N
> ================================
> The opinions expressed by me in the
> newsgroups are my own opinions and
> are in no way associated with my
> employer or any other party. Jimco is
> not associated in any way with any other
> entity.
>
>
>
> "kelly" <kelly-ra@cox.net> wrote in message
> news:12a2701c3f6b3$f77bf220$a001280a@phx.gbl...
> > How do I add sound to a right click script insted of a
> > message. Here what I have for a script it dont let you
> > copy or save as. The message thanks for looking apears. I
> > would like NOT to have a message just a sound something I
> > can record my self.
> >
> > <script LANGUAGE="JavaScript">
> > function click(){
> > if (event.button==2){
> > alert('THANKS FOR LOOKING!');
> > }
> > }
> > document.onmousedown=click
> > // -->
> > </script>
> >
> >
>
>



Re: right click script by MD

MD
Thu Feb 19 09:39:00 CST 2004

Hi Kelly,

Which browsers do you wish to support?

Take a look at the JavaScript resources at http://www.websunlimited.com/resources.asp

--
Mike -- FrontPage MVP '09 - '02
http://www.websunlimited.com


"kelly" <kelly-ra@cox.net> wrote in message news:12a2701c3f6b3$f77bf220$a001280a@phx.gbl...
> How do I add sound to a right click script insted of a
> message. Here what I have for a script it dont let you
> copy or save as. The message thanks for looking apears. I
> would like NOT to have a message just a sound something I
> can record my self.
>
> <script LANGUAGE="JavaScript">
> function click(){
> if (event.button==2){
> alert('THANKS FOR LOOKING!');
> }
> }
> document.onmousedown=click
> // -->
> </script>
>
>



re: right click script by Jim

Jim
Thu Feb 19 11:21:33 CST 2004

You realize, of course, that:

o Anyone who wants to copy something out of your Web
page can do so by pressing Alt-PrtSc and then
pasting into another program.
o Anyone who wants a copy of your file can:
o Find it in their browser cache, or
o View your HTML, get the content URL, paste that
URL into the browser's address bar, and then choose
Save As from the browser's File menu.

The bottom line is that really, if the visitor's computer
can download content for viewing, there's *always* a way
for the visitor to save it.

If you want to close down as many leaks as you can and
hope the visitors don't know about the rest, I suppose
that's a strategy. But most designers consider it a false
sense of security.

If you don't want people stealing your content, don't put
it on the Web. Just show teasers.

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------






>-----Original Message-----
>How do I add sound to a right click script insted of a
>message. Here what I have for a script it dont let you
>copy or save as. The message thanks for looking apears. I
>would like NOT to have a message just a sound something I
>can record my self.
>
><script LANGUAGE="JavaScript">
>function click(){
>if (event.button==2){
>alert('THANKS FOR LOOKING!');
>}
>}
>document.onmousedown=click
>// -->
></script>
>
>
>.
>

Re: right click script by Kevin

Kevin
Thu Feb 19 14:00:14 CST 2004

Mike,

I assume you know that the principle is the same? It is simply not possible
to protect your HTML code from being viewed, any more than it is possible to
protect images from being copied, for the exact same reasons. And disabling
right-click is an amateur trick that drives people away from your site.

--
HTH,
Kevin Spencer
.Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"MD Websunlimited" <none@none.com> wrote in message
news:u9LOC5v9DHA.3820@tk2msftngp13.phx.gbl...
> Jim,
>
> This question has nothing to do with protecting an image.
>
> --
> Mike -- FrontPage MVP '97-'02
> http://www.websunlimited.com
> Create fast, better scaling link bars with CSS Menu Maker
> http://www.websunlimited.com/order/Product/CssMenu/css_menu.htm
> FrontPage Add-ins Since '97 2003 / 2002 / 2000 Compatible
>
> "Jim Cheshire" <contactme@www.jimcoaddins.com> wrote in message
news:u9dTq7u9DHA.1936@TK2MSFTNGP12.phx.gbl...
> > Before you go to all of that trouble, you might want to check this out:
> >
> > http://www.jimcoaddins.com/protect.htm
> >
> > --
> > Jim Cheshire
> > Jimco
> > http://www.jimcoaddins.com
> > ================================
> > Author of Special Edition
> > Using Microsoft Office FrontPage 2003
> > 5 Stars on Amazon and B&N
> > ================================
> > The opinions expressed by me in the
> > newsgroups are my own opinions and
> > are in no way associated with my
> > employer or any other party. Jimco is
> > not associated in any way with any other
> > entity.
> >
> >
> >
> > "kelly" <kelly-ra@cox.net> wrote in message
> > news:12a2701c3f6b3$f77bf220$a001280a@phx.gbl...
> > > How do I add sound to a right click script insted of a
> > > message. Here what I have for a script it dont let you
> > > copy or save as. The message thanks for looking apears. I
> > > would like NOT to have a message just a sound something I
> > > can record my self.
> > >
> > > <script LANGUAGE="JavaScript">
> > > function click(){
> > > if (event.button==2){
> > > alert('THANKS FOR LOOKING!');
> > > }
> > > }
> > > document.onmousedown=click
> > > // -->
> > > </script>
> > >
> > >
> >
> >
>
>



Re: right click script by MD

MD
Thu Feb 19 17:42:22 CST 2004

Sure I do but Kelly asked how to play a sound file when something was right clicked. Nothing about protecting an image, which I
believe is assumed here.

Note, you can let the normal action of the right click continue to bubble through the event path and get the context menu.


--
Mike -- FrontPage MVP '97-'02
http://www.websunlimited.com
Need to run ASP pages without a browser or server? Take a look at what RunASP can do for you.
http://www.websunlimited.com/order/Product/RunASP/runasp.htm
FrontPage Add-ins Since '97 2003 / 2002 / 2000 Compatible



"Kevin Spencer" <kevin@takempis.com> wrote in message news:e%23N5ZPy9DHA.3792@TK2MSFTNGP09.phx.gbl...
> Mike,
>
> I assume you know that the principle is the same? It is simply not possible
> to protect your HTML code from being viewed, any more than it is possible to
> protect images from being copied, for the exact same reasons. And disabling
> right-click is an amateur trick that drives people away from your site.
>
> --
> HTH,
> Kevin Spencer
> .Net Developer
> Microsoft MVP
> Big things are made up
> of lots of little things.
>
> "MD Websunlimited" <none@none.com> wrote in message
> news:u9LOC5v9DHA.3820@tk2msftngp13.phx.gbl...
> > Jim,
> >
> > This question has nothing to do with protecting an image.
> >
> > --
> > Mike -- FrontPage MVP '97-'02
> > http://www.websunlimited.com
> > Create fast, better scaling link bars with CSS Menu Maker
> > http://www.websunlimited.com/order/Product/CssMenu/css_menu.htm
> > FrontPage Add-ins Since '97 2003 / 2002 / 2000 Compatible
> >
> > "Jim Cheshire" <contactme@www.jimcoaddins.com> wrote in message
> news:u9dTq7u9DHA.1936@TK2MSFTNGP12.phx.gbl...
> > > Before you go to all of that trouble, you might want to check this out:
> > >
> > > http://www.jimcoaddins.com/protect.htm
> > >
> > > --
> > > Jim Cheshire
> > > Jimco
> > > http://www.jimcoaddins.com
> > > ================================
> > > Author of Special Edition
> > > Using Microsoft Office FrontPage 2003
> > > 5 Stars on Amazon and B&N
> > > ================================
> > > The opinions expressed by me in the
> > > newsgroups are my own opinions and
> > > are in no way associated with my
> > > employer or any other party. Jimco is
> > > not associated in any way with any other
> > > entity.
> > >
> > >
> > >
> > > "kelly" <kelly-ra@cox.net> wrote in message
> > > news:12a2701c3f6b3$f77bf220$a001280a@phx.gbl...
> > > > How do I add sound to a right click script insted of a
> > > > message. Here what I have for a script it dont let you
> > > > copy or save as. The message thanks for looking apears. I
> > > > would like NOT to have a message just a sound something I
> > > > can record my self.
> > > >
> > > > <script LANGUAGE="JavaScript">
> > > > function click(){
> > > > if (event.button==2){
> > > > alert('THANKS FOR LOOKING!');
> > > > }
> > > > }
> > > > document.onmousedown=click
> > > > // -->
> > > > </script>
> > > >
> > > >
> > >
> > >
> >
> >
>
>



Re: right click script by MD

MD
Thu Feb 19 17:43:30 CST 2004

Is everyone here reading or seeing something I'm not? There are valid reason to use right click other than to stop the context menu.

--
Mike -- FrontPage MVP '09 - '02
http://www.websunlimited.com



--
Mike -- FrontPage MVP '97-'02
http://www.websunlimited.com
Stop Spam Email Mining from your web pages with SpamStopper
http://www.websunlimited.com/order/product/SpamStopper/spam_stopper_help_dir.htm
FrontPage Add-ins Since '97 2003 / 2002 / 2000 Compatible

"Jim Buyens" <news@intrelacken.com> wrote in message news:1294c01c3f70c$d23ac140$a301280a@phx.gbl...
> You realize, of course, that:
>
> o Anyone who wants to copy something out of your Web
> page can do so by pressing Alt-PrtSc and then
> pasting into another program.
> o Anyone who wants a copy of your file can:
> o Find it in their browser cache, or
> o View your HTML, get the content URL, paste that
> URL into the browser's address bar, and then choose
> Save As from the browser's File menu.
>
> The bottom line is that really, if the visitor's computer
> can download content for viewing, there's *always* a way
> for the visitor to save it.
>
> If you want to close down as many leaks as you can and
> hope the visitors don't know about the rest, I suppose
> that's a strategy. But most designers consider it a false
> sense of security.
>
> If you don't want people stealing your content, don't put
> it on the Web. Just show teasers.
>
> Jim Buyens
> Microsoft FrontPage MVP
> http://www.interlacken.com
> Author of:
> *----------------------------------------------------
> |\---------------------------------------------------
> || Microsoft Office FrontPage 2003 Inside Out
> ||---------------------------------------------------
> || Web Database Development Step by Step .NET Edition
> || Microsoft FrontPage Version 2002 Inside Out
> || Faster Smarter Beginning Programming
> || (All from Microsoft Press)
> |/---------------------------------------------------
> *----------------------------------------------------
>
>
>
>
>
>
> >-----Original Message-----
> >How do I add sound to a right click script insted of a
> >message. Here what I have for a script it dont let you
> >copy or save as. The message thanks for looking apears. I
> >would like NOT to have a message just a sound something I
> >can record my self.
> >
> ><script LANGUAGE="JavaScript">
> >function click(){
> >if (event.button==2){
> >alert('THANKS FOR LOOKING!');
> >}
> >}
> >document.onmousedown=click
> >// -->
> ></script>
> >
> >
> >.
> >



Re: right click script by Jim

Jim
Thu Feb 19 21:08:26 CST 2004

Just takes a quick glance at his script. If you know JavaScript, you'll
know what he's trying to do.

--
Jim Cheshire
Jimco
http://www.jimcoaddins.com
================================
Author of Special Edition
Using Microsoft Office FrontPage 2003
5 Stars on Amazon and B&N
================================
The opinions expressed by me in the
newsgroups are my own opinions and
are in no way associated with my
employer or any other party. Jimco is
not associated in any way with any other
entity.



"MD Websunlimited" <none@none.com> wrote in message
news:e0hmvI09DHA.1768@TK2MSFTNGP09.phx.gbl...
> Is everyone here reading or seeing something I'm not? There are valid
reason to use right click other than to stop the context menu.
>
> --
> Mike -- FrontPage MVP '09 - '02
> http://www.websunlimited.com
>
>
>
> --
> Mike -- FrontPage MVP '97-'02
> http://www.websunlimited.com
> Stop Spam Email Mining from your web pages with SpamStopper
>
http://www.websunlimited.com/order/product/SpamStopper/spam_stopper_help_dir.htm
> FrontPage Add-ins Since '97 2003 / 2002 / 2000 Compatible
>
> "Jim Buyens" <news@intrelacken.com> wrote in message
news:1294c01c3f70c$d23ac140$a301280a@phx.gbl...
> > You realize, of course, that:
> >
> > o Anyone who wants to copy something out of your Web
> > page can do so by pressing Alt-PrtSc and then
> > pasting into another program.
> > o Anyone who wants a copy of your file can:
> > o Find it in their browser cache, or
> > o View your HTML, get the content URL, paste that
> > URL into the browser's address bar, and then choose
> > Save As from the browser's File menu.
> >
> > The bottom line is that really, if the visitor's computer
> > can download content for viewing, there's *always* a way
> > for the visitor to save it.
> >
> > If you want to close down as many leaks as you can and
> > hope the visitors don't know about the rest, I suppose
> > that's a strategy. But most designers consider it a false
> > sense of security.
> >
> > If you don't want people stealing your content, don't put
> > it on the Web. Just show teasers.
> >
> > Jim Buyens
> > Microsoft FrontPage MVP
> > http://www.interlacken.com
> > Author of:
> > *----------------------------------------------------
> > |\---------------------------------------------------
> > || Microsoft Office FrontPage 2003 Inside Out
> > ||---------------------------------------------------
> > || Web Database Development Step by Step .NET Edition
> > || Microsoft FrontPage Version 2002 Inside Out
> > || Faster Smarter Beginning Programming
> > || (All from Microsoft Press)
> > |/---------------------------------------------------
> > *----------------------------------------------------
> >
> >
> >
> >
> >
> >
> > >-----Original Message-----
> > >How do I add sound to a right click script insted of a
> > >message. Here what I have for a script it dont let you
> > >copy or save as. The message thanks for looking apears. I
> > >would like NOT to have a message just a sound something I
> > >can record my self.
> > >
> > ><script LANGUAGE="JavaScript">
> > >function click(){
> > >if (event.button==2){
> > >alert('THANKS FOR LOOKING!');
> > >}
> > >}
> > >document.onmousedown=click
> > >// -->
> > ></script>
> > >
> > >
> > >.
> > >
>
>



Re: right click script by news

news
Thu Feb 19 21:21:48 CST 2004

The original question was:

> How do I add sound to a right click script insted of a
> message. Here what I have for a script it dont let you
> copy or save as. The message thanks for looking apears. I
> would like NOT to have a message just a sound something I
> can record my self.

The wording on this is a little rough, but it seemed to me
that the poster was trying to stop use of the Copy or Save As
commands.

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------


"MD Websunlimited" <none@none.com> wrote in message news:<e0hmvI09DHA.1768@TK2MSFTNGP09.phx.gbl>...
> Is everyone here reading or seeing something I'm not? There are valid reason to use right click other than to stop the context menu.
>
> --
> Mike -- FrontPage MVP '09 - '02
> http://www.websunlimited.com
>
>
>
> --
> Mike -- FrontPage MVP '97-'02
> http://www.websunlimited.com
> Stop Spam Email Mining from your web pages with SpamStopper
> http://www.websunlimited.com/order/product/SpamStopper/spam_stopper_help_dir.htm
> FrontPage Add-ins Since '97 2003 / 2002 / 2000 Compatible
>
> "Jim Buyens" <news@intrelacken.com> wrote in message news:1294c01c3f70c$d23ac140$a301280a@phx.gbl...
> > You realize, of course, that:
> >
> > o Anyone who wants to copy something out of your Web
> > page can do so by pressing Alt-PrtSc and then
> > pasting into another program.
> > o Anyone who wants a copy of your file can:
> > o Find it in their browser cache, or
> > o View your HTML, get the content URL, paste that
> > URL into the browser's address bar, and then choose
> > Save As from the browser's File menu.
> >
> > The bottom line is that really, if the visitor's computer
> > can download content for viewing, there's *always* a way
> > for the visitor to save it.
> >
> > If you want to close down as many leaks as you can and
> > hope the visitors don't know about the rest, I suppose
> > that's a strategy. But most designers consider it a false
> > sense of security.
> >
> > If you don't want people stealing your content, don't put
> > it on the Web. Just show teasers.
> >
> > Jim Buyens
> > Microsoft FrontPage MVP
> > http://www.interlacken.com
> > Author of:
> > *----------------------------------------------------
> > |\---------------------------------------------------
> > || Microsoft Office FrontPage 2003 Inside Out
> > ||---------------------------------------------------
> > || Web Database Development Step by Step .NET Edition
> > || Microsoft FrontPage Version 2002 Inside Out
> > || Faster Smarter Beginning Programming
> > || (All from Microsoft Press)
> > |/---------------------------------------------------
> > *----------------------------------------------------
> >
> >
> >
> >
> >
> >
> > >-----Original Message-----
> > >How do I add sound to a right click script insted of a
> > >message. Here what I have for a script it dont let you
> > >copy or save as. The message thanks for looking apears. I
> > >would like NOT to have a message just a sound something I
> > >can record my self.
> > >
> > ><script LANGUAGE="JavaScript">
> > >function click(){
> > >if (event.button==2){
> > >alert('THANKS FOR LOOKING!');
> > >}
> > >}
> > >document.onmousedown=click
> > >// -->
> > ></script>
> > >
> > >
> > >.
> > >

right click script by kelly

kelly
Thu Feb 19 22:58:04 CST 2004

Forget the protect image if that is a bad idea. But how
can I play a sound if something is right clicked on.
useing IE
>-----Original Message-----
>How do I add sound to a right click script insted of a
>message. Here what I have for a script it dont let you
>copy or save as. The message thanks for looking apears. I
>would like NOT to have a message just a sound something I
>can record my self.
>
><script LANGUAGE="JavaScript">
>function click(){
>if (event.button==2){
>alert('THANKS FOR LOOKING!');
>}
>}
>document.onmousedown=click
>// -->
></script>
>
>
>.
>

Re: right click script by Kevin

Kevin
Fri Feb 20 08:38:55 CST 2004

I think we all got confused - it sounds like there were actually 2 separate
questions involved.

--
HTH,
Kevin Spencer
.Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"MD Websunlimited" <none@none.com> wrote in message
news:e0hmvI09DHA.1768@TK2MSFTNGP09.phx.gbl...
> Is everyone here reading or seeing something I'm not? There are valid
reason to use right click other than to stop the context menu.
>
> --
> Mike -- FrontPage MVP '09 - '02
> http://www.websunlimited.com
>
>
>
> --
> Mike -- FrontPage MVP '97-'02
> http://www.websunlimited.com
> Stop Spam Email Mining from your web pages with SpamStopper
>
http://www.websunlimited.com/order/product/SpamStopper/spam_stopper_help_dir.htm
> FrontPage Add-ins Since '97 2003 / 2002 / 2000 Compatible
>
> "Jim Buyens" <news@intrelacken.com> wrote in message
news:1294c01c3f70c$d23ac140$a301280a@phx.gbl...
> > You realize, of course, that:
> >
> > o Anyone who wants to copy something out of your Web
> > page can do so by pressing Alt-PrtSc and then
> > pasting into another program.
> > o Anyone who wants a copy of your file can:
> > o Find it in their browser cache, or
> > o View your HTML, get the content URL, paste that
> > URL into the browser's address bar, and then choose
> > Save As from the browser's File menu.
> >
> > The bottom line is that really, if the visitor's computer
> > can download content for viewing, there's *always* a way
> > for the visitor to save it.
> >
> > If you want to close down as many leaks as you can and
> > hope the visitors don't know about the rest, I suppose
> > that's a strategy. But most designers consider it a false
> > sense of security.
> >
> > If you don't want people stealing your content, don't put
> > it on the Web. Just show teasers.
> >
> > Jim Buyens
> > Microsoft FrontPage MVP
> > http://www.interlacken.com
> > Author of:
> > *----------------------------------------------------
> > |\---------------------------------------------------
> > || Microsoft Office FrontPage 2003 Inside Out
> > ||---------------------------------------------------
> > || Web Database Development Step by Step .NET Edition
> > || Microsoft FrontPage Version 2002 Inside Out
> > || Faster Smarter Beginning Programming
> > || (All from Microsoft Press)
> > |/---------------------------------------------------
> > *----------------------------------------------------
> >
> >
> >
> >
> >
> >
> > >-----Original Message-----
> > >How do I add sound to a right click script insted of a
> > >message. Here what I have for a script it dont let you
> > >copy or save as. The message thanks for looking apears. I
> > >would like NOT to have a message just a sound something I
> > >can record my self.
> > >
> > ><script LANGUAGE="JavaScript">
> > >function click(){
> > >if (event.button==2){
> > >alert('THANKS FOR LOOKING!');
> > >}
> > >}
> > >document.onmousedown=click
> > >// -->
> > ></script>
> > >
> > >
> > >.
> > >
>
>



Re: right click script by Jim

Jim
Fri Feb 20 09:48:11 CST 2004

I didn't get confused. He posted the script he was using. It was clearly a
script to stop the context menu. His question was how to add his voice
instead of the text message. :)

--
Jim Cheshire
Jimco
http://www.jimcoaddins.com
================================
Author of Special Edition
Using Microsoft Office FrontPage 2003
5 Stars on Amazon and B&N
================================
The opinions expressed by me in the
newsgroups are my own opinions and
are in no way associated with my
employer or any other party. Jimco is
not associated in any way with any other
entity.



"Kevin Spencer" <kevin@takempis.com> wrote in message
news:%23MakiA89DHA.3068@tk2msftngp13.phx.gbl...
> I think we all got confused - it sounds like there were actually 2
separate
> questions involved.
>
> --
> HTH,
> Kevin Spencer
> .Net Developer
> Microsoft MVP
> Big things are made up
> of lots of little things.
>
> "MD Websunlimited" <none@none.com> wrote in message
> news:e0hmvI09DHA.1768@TK2MSFTNGP09.phx.gbl...
> > Is everyone here reading or seeing something I'm not? There are valid
> reason to use right click other than to stop the context menu.
> >
> > --
> > Mike -- FrontPage MVP '09 - '02
> > http://www.websunlimited.com
> >
> >
> >
> > --
> > Mike -- FrontPage MVP '97-'02
> > http://www.websunlimited.com
> > Stop Spam Email Mining from your web pages with SpamStopper
> >
>
http://www.websunlimited.com/order/product/SpamStopper/spam_stopper_help_dir.htm
> > FrontPage Add-ins Since '97 2003 / 2002 / 2000 Compatible
> >
> > "Jim Buyens" <news@intrelacken.com> wrote in message
> news:1294c01c3f70c$d23ac140$a301280a@phx.gbl...
> > > You realize, of course, that:
> > >
> > > o Anyone who wants to copy something out of your Web
> > > page can do so by pressing Alt-PrtSc and then
> > > pasting into another program.
> > > o Anyone who wants a copy of your file can:
> > > o Find it in their browser cache, or
> > > o View your HTML, get the content URL, paste that
> > > URL into the browser's address bar, and then choose
> > > Save As from the browser's File menu.
> > >
> > > The bottom line is that really, if the visitor's computer
> > > can download content for viewing, there's *always* a way
> > > for the visitor to save it.
> > >
> > > If you want to close down as many leaks as you can and
> > > hope the visitors don't know about the rest, I suppose
> > > that's a strategy. But most designers consider it a false
> > > sense of security.
> > >
> > > If you don't want people stealing your content, don't put
> > > it on the Web. Just show teasers.
> > >
> > > Jim Buyens
> > > Microsoft FrontPage MVP
> > > http://www.interlacken.com
> > > Author of:
> > > *----------------------------------------------------
> > > |\---------------------------------------------------
> > > || Microsoft Office FrontPage 2003 Inside Out
> > > ||---------------------------------------------------
> > > || Web Database Development Step by Step .NET Edition
> > > || Microsoft FrontPage Version 2002 Inside Out
> > > || Faster Smarter Beginning Programming
> > > || (All from Microsoft Press)
> > > |/---------------------------------------------------
> > > *----------------------------------------------------
> > >
> > >
> > >
> > >
> > >
> > >
> > > >-----Original Message-----
> > > >How do I add sound to a right click script insted of a
> > > >message. Here what I have for a script it dont let you
> > > >copy or save as. The message thanks for looking apears. I
> > > >would like NOT to have a message just a sound something I
> > > >can record my self.
> > > >
> > > ><script LANGUAGE="JavaScript">
> > > >function click(){
> > > >if (event.button==2){
> > > >alert('THANKS FOR LOOKING!');
> > > >}
> > > >}
> > > >document.onmousedown=click
> > > >// -->
> > > ></script>
> > > >
> > > >
> > > >.
> > > >
> >
> >
>
>



Re: right click script by Kevin

Kevin
Fri Feb 20 10:37:53 CST 2004

Well, that could be considered 2 questions (1 - stop right-click, 2 - use
voice to alert). I believe that's where the confusion came in. Some were
addressing number 1 and some were addressing number 2.

--
HTH,
Kevin Spencer
.Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"Jim Cheshire" <contactme@www.jimcoaddins.com> wrote in message
news:ucV#0j89DHA.3292@TK2MSFTNGP11.phx.gbl...
> I didn't get confused. He posted the script he was using. It was clearly
a
> script to stop the context menu. His question was how to add his voice
> instead of the text message. :)
>
> --
> Jim Cheshire
> Jimco
> http://www.jimcoaddins.com
> ================================
> Author of Special Edition
> Using Microsoft Office FrontPage 2003
> 5 Stars on Amazon and B&N
> ================================
> The opinions expressed by me in the
> newsgroups are my own opinions and
> are in no way associated with my
> employer or any other party. Jimco is
> not associated in any way with any other
> entity.
>
>
>
> "Kevin Spencer" <kevin@takempis.com> wrote in message
> news:%23MakiA89DHA.3068@tk2msftngp13.phx.gbl...
> > I think we all got confused - it sounds like there were actually 2
> separate
> > questions involved.
> >
> > --
> > HTH,
> > Kevin Spencer
> > .Net Developer
> > Microsoft MVP
> > Big things are made up
> > of lots of little things.
> >
> > "MD Websunlimited" <none@none.com> wrote in message
> > news:e0hmvI09DHA.1768@TK2MSFTNGP09.phx.gbl...
> > > Is everyone here reading or seeing something I'm not? There are valid
> > reason to use right click other than to stop the context menu.
> > >
> > > --
> > > Mike -- FrontPage MVP '09 - '02
> > > http://www.websunlimited.com
> > >
> > >
> > >
> > > --
> > > Mike -- FrontPage MVP '97-'02
> > > http://www.websunlimited.com
> > > Stop Spam Email Mining from your web pages with SpamStopper
> > >
> >
>
http://www.websunlimited.com/order/product/SpamStopper/spam_stopper_help_dir.htm
> > > FrontPage Add-ins Since '97 2003 / 2002 / 2000 Compatible
> > >
> > > "Jim Buyens" <news@intrelacken.com> wrote in message
> > news:1294c01c3f70c$d23ac140$a301280a@phx.gbl...
> > > > You realize, of course, that:
> > > >
> > > > o Anyone who wants to copy something out of your Web
> > > > page can do so by pressing Alt-PrtSc and then
> > > > pasting into another program.
> > > > o Anyone who wants a copy of your file can:
> > > > o Find it in their browser cache, or
> > > > o View your HTML, get the content URL, paste that
> > > > URL into the browser's address bar, and then choose
> > > > Save As from the browser's File menu.
> > > >
> > > > The bottom line is that really, if the visitor's computer
> > > > can download content for viewing, there's *always* a way
> > > > for the visitor to save it.
> > > >
> > > > If you want to close down as many leaks as you can and
> > > > hope the visitors don't know about the rest, I suppose
> > > > that's a strategy. But most designers consider it a false
> > > > sense of security.
> > > >
> > > > If you don't want people stealing your content, don't put
> > > > it on the Web. Just show teasers.
> > > >
> > > > Jim Buyens
> > > > Microsoft FrontPage MVP
> > > > http://www.interlacken.com
> > > > Author of:
> > > > *----------------------------------------------------
> > > > |\---------------------------------------------------
> > > > || Microsoft Office FrontPage 2003 Inside Out
> > > > ||---------------------------------------------------
> > > > || Web Database Development Step by Step .NET Edition
> > > > || Microsoft FrontPage Version 2002 Inside Out
> > > > || Faster Smarter Beginning Programming
> > > > || (All from Microsoft Press)
> > > > |/---------------------------------------------------
> > > > *----------------------------------------------------
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > >-----Original Message-----
> > > > >How do I add sound to a right click script insted of a
> > > > >message. Here what I have for a script it dont let you
> > > > >copy or save as. The message thanks for looking apears. I
> > > > >would like NOT to have a message just a sound something I
> > > > >can record my self.
> > > > >
> > > > ><script LANGUAGE="JavaScript">
> > > > >function click(){
> > > > >if (event.button==2){
> > > > >alert('THANKS FOR LOOKING!');
> > > > >}
> > > > >}
> > > > >document.onmousedown=click
> > > > >// -->
> > > > ></script>
> > > > >
> > > > >
> > > > >.
> > > > >
> > >
> > >
> >
> >
>
>



Re: right click script by news

news
Fri Feb 20 22:52:45 CST 2004

"kelly" <kelly-ra@cox.net> wrote in message news:<1394a01c3f76e$1f54f2f0$a601280a@phx.gbl>...
> Forget the protect image if that is a bad idea. But how
> can I play a sound if something is right clicked on.
> useing IE

Well, OK, here's a page that does what you want.

<html>
<head>
<title>Play Sound On Right-Click</title>
<script language="JavaScript">
<!--
function playSound(path) {//v1.0
var b;
var d=document;
var e;
var es;
var i;
var se="<EMBED SRC='"+path+"' HIDDEN=TRUE LOOP=FALSE
AUTOSTART=TRUE>";
if(d.body)b=d.body;
if(d.getElementsByTagName) {
es=d.getElementsByTagName('embed')
for(i=0; i<es.length; i++) {
e=es(i);
if( e.src==path ) {
if(e.removeNode) e.removeNode();
break;
}
}
if(b&&b.insertAdjacentHTML) b.insertAdjacentHTML("beforeend",se);
}
}
function ckhRightClick(){
if (event.button==2){
playSound('../images/ringout.wav');
}
}
document.onmousedown=ckhRightClick;
// -->
</script>
</head>
<body>
<p>Play Sound</p>
</body>
</html>

This methjod of playing a sounds seems a little strange, but it's what
FP2003 generates when you use the Behaviors feature to play a sound.

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------