PDA

View Full Version : Tips text and Firefox


wimberb
June 17th, 2005, 09:21 AM
Something I noticed on my install of Photopost is that tips text does not show when hovering over an icon when I am using Firefox. They are there with IE but not Firefox. I can see them when viewing this forum with Firefox. For instance I can hover over the two icons at the bottom right of this message and see the text "Reply with quote" and "Quick reply to this message".

Any idea why this text does not show on my site when using Firefox?

PP 5.11 with DCF integration.

Chuck S
June 17th, 2005, 09:31 AM
That works with Vbulletin

wimberb
June 17th, 2005, 07:13 PM
I did a little experimentation. It appears that maybe Firefox does not recognize "alt" text. But if I change "alt" to "title" then it works in both Firefox and IE.

For example:

This works in IE but not in Firefox.

<img src=\"" . ROOT_URL . "/images/aolim.gif\" alt=\"Click to send message via AOL IM\" border=\"0\"></a>

This works in IE and Firefox.

<img src=\"" . ROOT_URL . "/images/aolim.gif\" title=\"Click to send message via AOL IM\" border=\"0\"></a>

Do you have any idea why this would be the case? I'm mostly just curious about this.

Chuck S
June 17th, 2005, 09:46 PM
I dont know the browser limitations although I can tell your Mozilla is great.

We would not be changing out code from alt to title just to accomidate this little thing. Alt is an XHTML requirement on images and must be set to be XHTML compliant

wimberb
June 18th, 2005, 11:37 AM
I did a little more research and found out why alt tags don't display in Firefox. I guess I'll just edit my dcf.php file and add alt and title tags to it so the pages will work properly in both IE and Firefox. Thanks for your help. :)

http://www.mozilla.org/docs/web-developer/faq.html#alttooltip

Chuck S
June 18th, 2005, 04:20 PM
Actually I think title attribute is still supported in XHTML. ;) Thing is though not many programs use them anymore.

I think VB was one of the last dinosaurs so lets see as I know they are finally trying to go XHTML finally so lets see if they keep them in there program moving forward.