I use Cold Fusion. I usually pass a variety of of URL parameters via Cold Fusion variables to display the page I want.
Ex:
<cfoutput>
http://www.teenchallenge.com/index.cfm? ... =#centerID#
</cfoutput>
Where #centerID# is a dynamic CF variable. I didn't expect it to work in the menu_array.js page and it didn't.
Is there a way for me to pass these varibales in this DHTML menu. If not I'm stuck.
Thanks,
Todd
can you do dynamic url parameters/variable in the menu items
Yes, it works with ColdFusion. A Search for 'coldfusion' in the 'Version 5.0' Topic brings up 21 hits with lots of info.
Second thought is to rename that page to menu_array.cfm.
Here's a snip from one of mine...
Second thought is to rename that page to menu_array.cfm.
Here's a snip from one of mine...
Code: Select all
with(milonic=new menuname("system")){
style=XPMenuStyle;
borderwidth=1;
orientation="vertical";
aI("text=Browser: <cfoutput>#cgi.http_user_agent#</cfoutput>;image=/sai/graphics/xpblank.gif;");
aI("text=Code Name: "+navigator.appCodeName+";image=/sai/graphics/xpblank.gif;");
aI("text=Color Depth: "+screen.colorDepth+" bit;image=/sai/graphics/xpblank.gif;");
aI("text=IP: <cfoutput>#cgi.remote_addr#</cfoutput>;image=/sai/graphics/xpblank.gif;");
aI("text=Language: "+navigator.browserLanguage+";image=/sai/graphics/xpblank.gif;");
aI("text=Platform: "+navigator.platform+";image=/sai/graphics/xpblank.gif;");
aI("text=Screen Max: "+screen.availWidth+" x "+screen.availHeight+";image=/sai/graphics/xpblank.gif;");
aI("text=Screen Resolution: "+screen.width+" x "+screen.height+";image=/sai/graphics/xpblank.gif;");
}
John