Forum Moderators: open
Is there any additional code that I can add to my HTML pages to make this "rollover" feature work for Mac Safari users?
title attribute is supposed to be used on links(text or image) where the destination may not be obvious.
ben
<edit> sorry, i realised this doesnt directly answer the question. what im trying to say is dont worry about it</edit>
When in comes to those tool-tips, it sounds like you've got it right and Safari got it wrong.
As far as I know, there's nothing more you can do -- unless you want to get into a DHTML development that actually draws a div on hover using javascript and css. That's too much code bloat for my taste, especially given the small return on effort and the challenge of coding javascript for Safari.
I'm pretty sure that Apple will reach standards on this browser feature soon - it's not the most challenging thing to add into a rendering engine. Actually, I'm surprised to hear that it's not included already.
ALT attributes are for specifying alternative text that can be used if the image is broken or if a visitor is using a browser that for one reason or another doesn't display images, either because they have them switched off to make their internet experience faster, because they're using a text-only browser like Lynx or because they're blind and are using a screenreader. It is essential that you use this because it's estimated that around 30% of people browse without images. It also happens that some browsers also display the alternative text in a tooltip when the image is hovered over. I, along with many other people, consider this to be incorrect behavour. Many browsers, such as Netscape 6/7 don't do this.
TITLE attributes are for specifying text that tells a visitor more about an image or link when the image or link is hovered over. Browsers generally display this in a tooltip OR in the status bar. Just about all browsers (apart from really old and really obscure ones) support this.
Make sure that scr is actually src on your page.
.
The title and alt attributes are used as follows:
Valid: <a href="/path/page.html" title="popup text here">the link or anchor text</a>
Valid: <img src="/path/filename.png" alt="alternative text" height="50" width="50" border="0">
Valid: <a href="/path/page.html" title="popup text here"> <img src="/path/filename.png" alt="alternative text" height="50" width="50" border="0"> </a>
Thanks for the ideas. I should have posted a sample of my (hand written) code. As near as I can tell, it follows all the rules, but I'd certainly welcome an inspection! All the pictures have "Secret Messages." How do I make them show up in SAFARI like a "tool-tip"?
Thanks.
Sample page. [www31.brinkster.com]
Jerry