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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

prevent image menu from showing

Status
Not open for further replies.

hamking01

Programmer
May 30, 2004
238
US
Can I prevent the image menu from showing when the mouse rollovers an image. My site has a lot of pictures on them and I don't like it when the menu keeps showing. It sometimes covers the logos.
 
To do this on an image-by-image basis, add the 'galleryImg="no"' to the image tag:

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" />

Hope this helps,
Dan

[tt]D'ya think I got where I am today because I dress like Peter Pan here?[/tt]
[banghead]

 
For individual pictures:
Code:
<img alt="" src="filename" galleryimg="no" />
or
<img alt="" src="filename" galleryimg="false" />
For all images in the page:
Code:
<meta http-equiv="imagetoolbar" content="no" />
or
<meta http-equiv="imagetoolbar" content="false" />
More on M$ site:
 

I thought I'd turn this one into an FAQ, as it does get asked fairly regularly:

faq215-5862

Dan


[tt]D'ya think I got where I am today because I dress like Peter Pan here?[/tt]
[banghead]

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top