How do I disable the image toolbar for images in I

2019-07-28 04:05发布

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

Here's a pic of this:

alt text

I need to accomplish this with JavaScript.

2条回答
Root(大扎)
2楼-- · 2019-07-28 04:29

Use this:

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

(Source)

查看更多
在下西门庆
3楼-- · 2019-07-28 04:35

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

查看更多
登录 后发表回答