I have this JavaScript menu widget where I define my menu, like so:
var MENU_MYMENU = [
<cfoutput>
[wrap_rootcontent(), null, null,
[wrap_childcontent('Like... do something'),
'index.cfm?LinkID=#MyLinkID#', null]
]
</cfoutput>
]
And then where I want the menu to appear, I go...
<script language="JavaScript">
<!--
new menu (MENU_MYMENU , MENU_POS1);
//-->
</script>
(where MENU_POS1 is the formatting template)
What I am wanting to do is to repeat this menu thr0oughout a table
listing of stuff, so when you roll over the menu for each table row,
it gives you your item-specific options, such as "Edit This Item",
"Add After Item", etc. This would mean changing the LinkID variable
for each item in the table list.
Currently, the only way I can figure to do this is to create a menu
for every item, which seems a bit excessive. Is there a way to create
a standard menu at the top of the page, leave a spot for a variable,
and pass ythat variabloe in when the menu is called?
Chad
who didn't celebrate the Queen's Birthday
---
You are currently subscribed to cfaussie as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/