如何禁用IE中图像的图像工具栏? [英] How do I disable the image toolbar for images in IE?

查看:160
本文介绍了如何禁用IE中图像的图像工具栏?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

将鼠标悬停在图像上时,会弹出一个小工具栏,提示保存,打印等。



下面是这张照片:

alt text http://savepic.ru/961166.png



我需要做到这一点使用JavaScript

解决方案

这只适用于图片嵌入网页的情况。



如果您不想让图片显示工具栏,请在img标记中使用GALLERYIMG =no。



如果您想要图像显示工具栏,请在img标记中使用GALLERYIMG =yes。

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


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 http://savepic.ru/961166.png

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

这篇关于如何禁用IE中图像的图像工具栏?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆