Reply to Re: Any way to specify alt text timeout in seconds?

Your name:

Reply:


Posted by Chris Ianson on 04/05/06 02:28

"Dylan Parry" <usenet@dylanparry.com> wrote in message
news:akslvqbi36r9.dlg@dylanparry.com...

> You can't do this for the actual alt/title text, but you might be able
> to use Javascript to give the same effect.
>
> http://www.kryogenix.org/code/browser/nicetitle/

Thanks, I had a look and whilst that works great for the title attrib of
hyperlinks, it doesn't seem to be able to affect images :(

Also, I need to remove the destination URL from the popup title.

> has something that does this sort of thing. To be entirely honest
> though, if it is a description of the image then it shouldn't be in the
> alt attribute anyway - the alt attribute is a *replacement* for the
> image in the event that the image cannot be seen, not a description.

I agree. I have changed the attrib to 'title' for my images, which still
gives the tooltip in IE, however I'd like to get nicetitle working for it.
Any ideas?

> The title attribute (which is what the above script uses) is probably
> better suited to this, but if the text you plan on using is fundamental
> content then you should really write it on the page rather than hide it
> away as an attribute.

Due to a lack of room and a penchant for neatness, I am having it so people
hover over an image for info on it. It works nice in IE at least, other
than it disappears after 5 seconds :(

Any ideas?

Thanks :)

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация