Image names showing on IE

  • sparkybena
  • Born
  • Born
  • sparkybena
  • Posts: 2

Post 3+ Months Ago

Hi.
I'm new here, both to the forum and web design. I've taught myself a little html and css, but a friend has written our website for us before going off traveling into the unknown and now the boss has asked me to tweak bits before it goes live. All is going well so far, but there are a couple of bits I can't figure out, so I thought I'd ask people who clearly know way way more than me for help!
So the first issue.

When you hover over the images on the website in IE, the name of the image file shows. This would be ok, but the system that's been set up to allow non-webby folks to update the site means naming each image to a system (as in for example res01sm3) rather than descriptively, so when the name shows it looks peculiar. I know there are all sorts of reasons for naming images more descriptively (particularly for blind users), but this system means we can update stuff in the future easily.

It doesn't do it on Firefox (I use Flock specifically, but that's obviously FF based).So the problem and question is can we make it so that the name doesn't pop up on IE when you hover?

Any help would be so appreciated!

Sp.
  • digitalMedia
  • a.k.a. dM
  • Genius
  • User avatar
  • Posts: 5149
  • Loc: SC-USA

Post 3+ Months Ago

Probably the "alt" attribute of the IMG elements. Can you post a link?
  • sparkybena
  • Born
  • Born
  • sparkybena
  • Posts: 2

Post 3+ Months Ago

it's not up online yet, but here's some of the html...

Code: [ Select ]
<th height="100" scope="row"><div align="center"><img src="res01data/res01sm1.jpg" alt="res01sm1" name="res01sm1" width="100" height="100" id="res01sm1" onmouseover="MM_swapImage('res01pic','','res01data/res01bg1.jpg',1)" onmouseout="MM_swapImgRestore()" /></div></th>


oh, hang on, think I just got it... Actually for future people updating the site it may be just as well to keep it like it is so it's obvious which image to update.

Is there a way to keep the alt text as it is so it shows when the picture's missing, but just stop it from popping up in the yellow box when you hover over the picture in IE?
  • righteous_trespasser
  • Scuffle
  • Genius
  • User avatar
  • Posts: 6230
  • Loc: South-Africa

Post 3+ Months Ago

sparkybena wrote:
I know there are all sorts of reasons for naming images more descriptively (particularly for blind users)

Now I'm confused ... ? Care to explain ... ?
  • littlephoenix
  • Graduate
  • Graduate
  • User avatar
  • Posts: 147

Post 3+ Months Ago

why would anyone use IE these days, unless you would want spyware and viruses in your PC, IE8 is new so im not to sure about its protection but come on guys lets use firefox, sorry off topic hehe
  • seularts
  • Graduate
  • Graduate
  • User avatar
  • Posts: 153
  • Loc: Romania

Post 3+ Months Ago

This is a good question why does the alt display in ie and not ff!?
  • righteous_trespasser
  • Scuffle
  • Genius
  • User avatar
  • Posts: 6230
  • Loc: South-Africa

Post 3+ Months Ago

The ALT text is actually just there for when the image isn't found, it was not intended as displaying when hovering over an image ... IE saw this as an "extra" I guess ...
  • neksus
  • Mastermind
  • Mastermind
  • User avatar
  • Posts: 2194
  • Loc: Canada

Post 3+ Months Ago

littlephoenix wrote:
why would anyone use IE these days, unless you would want spyware and viruses in your PC, IE8 is new so im not to sure about its protection but come on guys lets use firefox, sorry off topic hehe


IE 6/7/8 still account for 50% of usage statistics...then again, those are probably the same people that make me design for 800x600 users :P
  • joebert
  • Fart Bubbles
  • Genius
  • User avatar
  • Posts: 13504
  • Loc: Florida

Post 3+ Months Ago

Quote:
Is there a way to keep the alt text as it is so it shows when the picture's missing, but just stop it from popping up in the yellow box when you hover over the picture in IE?


I've never seen anything like this done.

You can try turning off IEs imagebar with the imagebar meta, I doubt it will work though & I don't have access to IE to test it. (I'm on Opera/Linux)
Code: [ Select ]
<meta http-equiv="imagetoolbar" content="no">


An easy fix would be to look into the script that produces the image HTML, and replacing what's obviously a dynamic ALT attribute with something static like "A Photo". Depending on the other content available at the time you might be able to use something like "Membernames Photo".
From the looks of the attributes you're currently getting, I don't think the values you're trying to prevent from being displayed to people with good vision are going to be of any more help to blind people than something like "A Photo" anyway.

seularts wrote:
This is a good question why does the alt display in ie and not ff!?


IE will fallback to the ALT attribute when a TITLE attribute isn't found.
  • neksus
  • Mastermind
  • Mastermind
  • User avatar
  • Posts: 2194
  • Loc: Canada

Post 3+ Months Ago

Ooh.
So should I be using title tags? lol
  • joebert
  • Fart Bubbles
  • Genius
  • User avatar
  • Posts: 13504
  • Loc: Florida

Post 3+ Months Ago

On anything you want a title balloon to pop up for, sure. title is a coreattr, meaning it's technically valid on pretty much any element.

Which elements browsers decide to recognise the title attribute for though, is another story.

Post Information

  • Total Posts in this topic: 11 posts
  • Users browsing this forum: No registered users and 23 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.