Click to See Complete Forum and Search --> : Show alt text in Firefox ????
ksimmonds
01-21-2008, 02:42 PM
When you hover your cursor over an image in IE a little box comes up showing the alt text. How do you get that to happen in Firefox ? I know you're suppased to enter a title attribute ..... but where? In the property inspector there is the "alt" box, but where is the "title" attribute? One for each image - not the whole page. I found this on a very old thread from Stefan, but still doesn't tell you where the title attribute should be typed.
In HTML there is both the entity <title> and an attribute title="".
<title> is for naming your entire page.
The attribute title="" will give you a popup
<img title="this is a popup" ...
felgall
01-22-2008, 02:49 AM
In ALL browsers wwhen you move the mouse over anything with a title attribute the corresponding text either appears in the status bar or as a tooltip. Both IE and Firefox display it as a tooltip.
There is a bug in IE where if there is an image that doesn't have a title attribute then the alt attribute that is there to be used when the image can't be displayed gets copied i9nto the title attribute.
so for an image
<img src="myimg.jpg" alt="a photo of me holding a marker pen and standing next to a whiteboard" title="me at the board">
this will display "me at the board" when the mouse moves over the image in any browser. The alt text will display in any text only browser, web reader, or a regular browser with images turned off.
ksimmonds
01-22-2008, 02:59 AM
Excellent. Thanks very much.
Now, I don't suppose you have any ideas how the make a fly out larger photo from a thumb nail? On my site, I use click to enlarge, so that you click on a thumbnail and a larger photo opens up in another browser. It would be nice to have a nice smooth fly out / expanding larger image. My site is:
www.glendalehouse.co.uk