Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Stopping the IE Image toolbar from appearing

Images

Stopping the IE Image toolbar from appearing

by  BillyRayPreachersSon  Posted    (Edited  )
To do this on an image-by-image basis, add ' galleryImg="no" ' to the image element:

Code:
<img src="whatever.gif" galleryimg="no" />

Bear in mind that it is not a standard property, so will not validate.

To do this for all images, and allow your page to validate, use a meta tag in the head section, instead:

Code:
<meta http-equiv="imagetoolbar" content="no" />

Dan


[link http://www.coedit.co.uk/][color #00486F]Coedit Limited[/color][/link][color #000000] - Delivering standards compliant, accessible web solutions[/color]

[tt]Dan's Page [blue]@[/blue] Code Couch
http://www.codecouch.com/dan/[/tt]
Register to rate this FAQ  : BAD 1 2 3 4 5 6 7 8 9 10 GOOD
Please Note: 1 is Bad, 10 is Good :-)

Part and Inventory Search

Back
Top