Now I need to work out how to add multiple drop menus to a page?
Return to Recent Questions
Q:
Now I need to work out how to add multiple menu's to a page? Are
you able to reference these separately - is this possible.
The page that I am creating lists out notes from our system -
there is a "options" button to the right of each note - when the
cursor hovers over this button I want to dynamically load the
menu's. On any page there could be over a 100 of these "option"
buttons and the menu that would load from each option button could
be different and specific to the note.
A:
You can add as many menus as you want on the one page.
You should call
<SCRIPT type=text/javascript>var dmWorkPath = "data.files/";</SCRIPT>
<SCRIPT src="data.files/dmenu.js" type=text/javascript></SCRIPT>
and then call your data files:
<SCRIPT src="data.files/data1.js" type=text/javascript></SCRIPT>
<SCRIPT src="data.files/data2.js" type=text/javascript></SCRIPT>
<SCRIPT src="data.files/data3.js" type=text/javascript></SCRIPT>
<SCRIPT src="data.files/data4.js" type=text/javascript></SCRIPT>
> The page that I am creating lists out notes from our system -
> there is a "options" button to the right of each note - when the
> cursor hovers over this button I want to dynamically load the
> menu's.
You can try to use pop up menus
http://deluxe-menu.com/popup-mode-sample.html
You may also generate a menus from a database or XML using any server-side script, e.g., PHP, ASP, VB, etc.
Return to Recent Questions
|