Free, tested & ready to use examples : galleryimg image toolbar xhtml meta
AnyExample.com
 
Webanyexample.com
 

Disable Internet Explorer Image Toolbar and retain XHTML validity

abstract 
It is possible to disable Internet Explorer feature called "Image Toolbar" with attribute galleryimg="false" in IMG tag. However, document with such attribute will not pass W3 XHTML Validation, because galleryimg it's not defined by XHTML standard.
compatible 
  • Internet Explorer 6

It is possible to disable Internet Explorer Image Toolbar for every site image with following META-tag:

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

Adding this META tag to HEAD section does not break XHTML standard. Example:

source code: XHTML
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<meta http-equiv="imagetoolbar" content="no" />
		<title>Empty XHTML 1.0 Strict Document</title>
	</head>
	<body>
 
	Visit <a href="http://www.anyexample.com/">AnyExample.com</a>!
 
	</body>
</html>
 
tested by AnyExample.com on 2006-08-02
  • Windows XP :: Microsoft Internet Explorer 6.0
 


 
© AnyExample 2007
License | Privacy | Contact