You are here: Re: Possible to make ALT tag dynamic?? « HTML « IT news, forums, messages
Re: Possible to make ALT tag dynamic??

Posted by SteveSomebody on 09/27/98 11:58

Jib wrote:
> My site caters to different languages and the site has directories
> segregated by country, however some of my images are in shared folders. I
> can't (or shouldn't) use 'one language fit all' approach for my alt tags and
> the site structure is a bit complex to re-configuring it. I really want to
> use alt text, so is there any solution that anyone knows about that I can
> use? Maybe javascript mouse over which shows the appropriate text depending
> on which country the user is browsing?? I'm grasping here...

Steve replied;
not familiar enough with Javascript to comment, but I'm certain you
could do it with JS. (although you would exclude users who didn't have
JS turned enabled).

How you do this depends on how your site is set up. If your site has
separate content in different languages then you can simply put your
alt = within the content using a different tag for each language.

Alternatively, you could use a server side language such as PHP or ASP
to generate the tag depending on the language defined in
HTTP_ACCEPT_LANGUAGE.

Come back if this isn't clear!

Steve
www.fontmadness.com
"How much can one body take? The concrete shoes, the hungry lake"

 

Navigation:

[Reply to this 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

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