Posted by SteveSomebody on 10/31/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"
[Back to original message]
|