Topic: Title Attribute Image Hover Effect

Silly little question:

How do you get a tooltip effect - the title attribute working in this code I have. It's in an xml and I wanted it to show some text - but only when I hover over it!

Is it something I need to set in the .css?

Basically I need it to show what type of file it is when I hover over it: I'd input something like: Rapidshare RAR  or Mediafire ZIP

       

<cell><![CDATA[   <a href="http://rapidshare.com/files/173512098/divx_bbcode_punbb.rar" target="_blank"><img src="http://keydogbb.info/img/new_images/Download.png"></a><a href="http://rapidshare.com/files/183124418/divx_bbcode_punbb.rar" target="_blank"><img src="http://keydogbb.info/img/new_images/Download.png"></a> ]]></cell>

Thanks for any tips...

Re: Title Attribute Image Hover Effect

I'm not sure I understand the question hmm A normal tooltip would be added to the <a> tag as far as Im aware though:

<a href="http://rapidshare.com/files/173512098/divx_bbcode_punbb.rar" target="_blank" title="Rapidshare RAR"><img src="http://keydogbb.info/img/new_images/Download.png"></a>

Quickly tried it on a .htm page and the tooltip shows up when you hover the image. I cant see why it would be different for an XML file sad

Re: Title Attribute Image Hover Effect

i believe i tried that one, it must be that grid css that is not setting it - or something else overriding it....

thx I'll try it again....

4

Re: Title Attribute Image Hover Effect

It's CDATA escaped. That's the whole point of the enclosure. It's no longer treated as HTML, merely text.

5

Re: Title Attribute Image Hover Effect

If it's a true XML implementation, I believe you can set the containing cells type to allow XHTML. You'll need to dig for the specific info yourself, but this section from the Atom spec should give you an idea what you are looking for.

http://atomenabled.org/developers/syndication/#text

As far as I know, RSS is the only thing broken enough in the XML arena to not allow the container to contain XHTML by setting the type.