> -----Original Message-----
> From: yyy [mailto:hkyeong1@y...]
> Sent: jeudi 13 mars 2003 11:07
> To: javascript
> Subject: [javascript] disable menubar,printscreen key???
>
>
> hi all:
>
> some question about javascript
>
> 1)can ie browser or hide the disable the menubar
> without call window.open method?
Yes, but ...... you need to have your JavaScript signed. And I
wonder if anybody in this list ever tried/knew how to do this. And I wonder
also if this "feature" is already banned by Internet community.
> 2)can javascript
> document::keydown
> document::keyup
> document::keypress
Yes, like this
<body onkeydown="what_ever_function" ........>
> handle the keycode like prtsc
> (printscreen)
I don't know. You have to wait to see if somebody else of the list
knows the answer.
> can ie browser prevent user for press
> the prtsc key
If your previous question is yes, I suppose this is yes too.
> it is possible do by javascript ,html or asp only?
>
> any alternative way?
I don't understand what you mean exactly.
> 3)the ie 6 has one feature when has image at web site
> got one small box --that has save file button,print button and etc
>
> how to prevent it come out or disable
> by javascript?
I don't think you could prevent it with javascript, but you could
prevent it using CSS. The trick is to put it as a background image, try
this and you'll see the difference :
<img src="Sample.jpg" width=283 height=212>
<p>
<div style="background-image: url(Sample.jpg); width:283px;
height:212px;"></div>
You need a rather big image or the box won't come out.
> thank for reply
> regards,
> yeong