开发者

How do I disable the image toolbar for images in IE?

开发者 https://www.devze.com 2022-12-14 05:39 出处:网络
When hovering the mouse over images IE pops up a little toolbar that suggests saving, printing and so 开发者_StackOverflowon.

When hovering the mouse over images IE pops up a little toolbar that suggests saving, printing and so 开发者_StackOverflowon.

Here's a pic of this:

How do I disable the image toolbar for images in IE?

I need to accomplish this with JavaScript.


This only works if the image is embedded in a web page.

If you do NOT want an image to show the toolbar, then use GALLERYIMG="no" in the img tag.

If you DO want an image to show the toolbar, then use GALLERYIMG="yes" in the img tag.

http://msdn.microsoft.com/en-us/library/ms533774(VS.85).aspx


Use this:

<meta http-equiv="imagetoolbar" content="no">

(Source)

0

精彩评论

暂无评论...
验证码 换一张
取 消