| home / experts / dhtml / column35 |
|


For example, the menus are required to appear next to a list of vertical links in a table. Since we know the table's left position and the width of each link, we can simply include integer values for the parameters to place the menus.
However, what if the table was centered on the page. Its left position, and consequently the required menu absolute position, would be different for every browser window width!
You can create a function that finds the correct position each time the menu needs to be displayed. Then include the function call as a string in the array.
The next two parameter-elements set the font color for the menu tree.
Produced by Peter Belesis and
All Rights Reserved. Legal Notices.
Created: Aug 08, 2000
Revised: Aug 08, 2000
URL: http://www.webreference.com/dhtml/column35/8.html