Code: Select all
<td id=select1>
<SCRIPT language=JavaScript src="new_select.js" type=text/javascript></SCRIPT>
</td>
<td id=select2>
<SCRIPT language=JavaScript src="new_select.js" type=text/javascript></SCRIPT>
</td>
Code: Select all
with(milonic=new menuname("mainmenu")){
style=menuStyle;
top=155;
left=200;
overfilter="";
position="relative";
alwaysvisible=1;
aI("text=Make Selection;showmenu=submenu;");
}
drawMenus();
Code: Select all
function show(selection) {
????
}
with(milonic=new menuname("submenu")){
style=menuStyle;
aI("text=Select 1;url=javascript:show('Select 1');");
aI("text=Select 2;url=javascript:show('Select 2');");
}
drawMenus();
1. How can I tell which "new_select" of the many has been selected? And, how can I get the id of <td> container?
2. How do I change the text of the root menu from "Make Selection" to whatever the user has selected?
3. Is there a better/faster way to do this? Maybe position a single instance of the menu dynamically?
4. Is there some on-line documentation that might have helped me with all of this?
I hope I've explained this rather complicated issue well enough and posed my questions in such a manner that you can help me.
Thank you,
Bill McCormick