PDA

View Full Version : document.all[i].getAttribute("menu")


JlynnMc10
02-10-2003, 06:53 PM
What does the getAttribute("menu") do?

If the html has menu in the source as:

<TD class=background5 width="12%" height=12><IMG height=16 src="/images/usrbar_01a.gif" width=75 menu="height:20;top:58;left:15;src:Menu1;width:100;arrow-offset:85;menu-offset:-5;menu-topoffset:5;font-family:Arial;border-width:1;border-color:Black;highlight:#336699;background:#9C9A9C;font-color:black;icon-color:black;arrow-color:white;"
<a></A></TD>

And As:
<DIV id=Menu1 style="DISPLAY: none">

which menu is the getAttribute("menu") refering to?

Roy Sinclair
02-10-2003, 09:22 PM
Guessing from the fragments you posted, since getAttribute is used to retrieve the values of attributes given to html elements that it would be looking for the value of the "menu" attribute that's given on the IMG tag in your code.