alt tag for IE

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
dferracci
Beginner
Beginner
Posts: 8
Joined: Tue Jun 28, 2005 11:03 pm

alt tag for IE

Post by dferracci »

Does anyone know how to include an ADA compliant alt tag to a menu image for IE users?

The menu in question is the larger, 2-button menu towards the bottom of the page:

http://nyccfbtest.info/debates_vg/voter ... index.aspx

username and password: cfbtest

I've experimented with the following to no avail:

aI("image=icon_hp_register.gif; alt=register;

and

aI("image=icon_hp_register.gif alt=register;

and both of the above variations with register in "".

Has anyone else had to use alt tags? Thanks.
User avatar
kevin3442
Milonic God
Milonic God
Posts: 2460
Joined: Sat Sep 07, 2002 12:09 am
Location: Lincoln, NE
Contact:

Post by kevin3442 »

Try using the title= property in the aI() string. Quotes are not necessary. E.g.,

Code: Select all

aI("image=whatever.gif;overimage=whatever_o.gif;title=register;url=whatever.htm;");
I also notice that you have your menu styles (menuStyle, submenuStyle, bottomnavStyle) defined twice, once in each menu_data file. Each style should only be defined once.

Cheers,

Kevin
dferracci
Beginner
Beginner
Posts: 8
Joined: Tue Jun 28, 2005 11:03 pm

Post by dferracci »

Kevin,

Works perfectly! And thanks too for the tip about the menu styles -- I've cleaned that up.
Post Reply