<html><div style='background-color:'><DIV>
<P>It isn't possible to pass it directly. The HierMenu scripts go kindof like this 1)a script is called from your page which does a browser check 2) this calls the .js file associated with the browser 3) this .js file builds the menu using the array .js file.</P>
<P>The #name# attribute is a server side element, processed by ColdFusion Server. If you look at a .cfm page through the browser, and then check it's source, you will not see #name# but the value of the variable inserted by Cold Fusion.<BR><BR>What you might try is to pass the variable with the rest of the variables passed in the head of your document.&nbsp;Inside of the main script tag after the other menu variables you might try this (put in blockquote to protect from HTML email)</P>
<P>&lt;blockquote&gt;</P>
<P>&lt;cfoutput&gt;</P>
<P>&lt;script&gt;&lt;!---HM_FileName=#name#&lt;/script&gt;&lt;/cfoutput&gt;</P>
<P>&lt;/blockquote&gt;</P>
<P>Then, in your HM_Array.js, you might try the line entry</P>
<P>["&lt;u&gt;F&lt;/u&gt;ile","javascript:window.open('fileinfo.cfm?file=" &amp; HM_FileName &amp; "','toolbar=no,menubar=no'),1,0,0],</P>
<P>Don't know if it will work, but worth a try.</P></DIV>
<DIV></DIV>
<DIV>Cutter</DIV>
<DIV></DIV>
<DIV><A href="http://www.falcon-knives.com/">Falcon Knives</A></DIV>
<DIV>&nbsp;</DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>----Original Message Follows---- 
<DIV></DIV>From: phumes1@home.com 
<DIV></DIV>Reply-To: javascript@LaTech.edu 
<DIV></DIV>To: javascript@LaTech.edu 
<DIV></DIV>Subject: Re: [Javascript] Re: Hiermenus v4.1 - http://www.dhtmlab.com/ 
<DIV></DIV>Date: Tue, 25 Sep 2001 11:45:29 -0400 
<DIV></DIV>
<DIV></DIV>At 11:28 AM 9/25/01 -0400, you wrote: 
<DIV></DIV>
<DIV></DIV>&gt;I work with the HierMenu code extensively, and with ColdFusion. I 
<DIV></DIV>&gt;don't 
<DIV></DIV>&gt;understand what it is you are trying to do. Why would you pass the 
<DIV></DIV>&gt;#name# 
<DIV></DIV>&gt;value to the HM_Array.js? 
<DIV></DIV>
<DIV></DIV>I'm trying to get the "filename" passed into another template which is 
<DIV></DIV>opened using the js menuing. (See previous email with screen captures) 
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>&gt;The HM_Array.js is a predefined listing of links for your menu. Are 
<DIV></DIV>&gt;you 
<DIV></DIV>&gt;trying to dynamically control the menu using ColdFusion? 
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>&gt;Cutter 
<DIV></DIV>&gt;<HTTP: www.falcon-knives.com />Falcon Knives 
<DIV></DIV>&gt;----Original Message Follows---- 
<DIV></DIV>&gt;From: phumes1@home.com 
<DIV></DIV>&gt;Reply-To: javascript@LaTech.edu 
<DIV></DIV>&gt;To: javascript@LaTech.edu 
<DIV></DIV>&gt;Subject: [Javascript] Re: Hiermenus v4.1 - http://www.dhtmlab.com/ 
<DIV></DIV>&gt;Date: Tue, 25 Sep 2001 10:54:28 -0400 
<DIV></DIV>&gt;I'm using this menu system along with ColdFusion. My CF code 
<DIV></DIV>&gt;displays all 
<DIV></DIV>&gt;the files in a specific directory with the following each filename. 
<DIV></DIV>&gt;<HTTP: rte.asp#name# EN dasp cgi-bin lw4fd.law4.hotmail.msn.com>onMouseOver="popUp('HM_Menu1',event)" 
<DIV></DIV>&gt;onMouseOut="popDown('HM_Menu1')" 
<DIV></DIV>&gt;class="dirlinks" alt="#name#"&gt; 
<DIV></DIV>&gt;When the link is clicked it opens another template that will return 
<DIV></DIV>&gt;all the 
<DIV></DIV>&gt;information (size, date last modified..etc) on the file. 
<DIV></DIV>&gt;The problem I'm having is getting that filename passed into the 
<DIV></DIV>&gt;javascript 
<DIV></DIV>&gt;code into the HM_Arrays.js file. 
<DIV></DIV>&gt;How can I pass the filename (#name#) name into the javascript code? 
<DIV></DIV>&gt;See below. It won't work if I wrap this code with CF's ... 
<DIV></DIV>&gt;HM_Array1 = [ 
<DIV></DIV>&gt;[105,,, 
<DIV></DIV>&gt;,,,,,,,,,,,,,,,, 
<DIV></DIV>&gt;0,false], 
<DIV></DIV>&gt;["F<HTTP: rte.asp#name# EN dasp cgi-bin lw4fd.law4.hotmail.msn.com>ile","http://",1,0,1], 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;["QuickEdit","http://",1,0,0], 
<DIV></DIV>&gt;["","",1,0,0], 
<DIV></DIV>&gt;["Compose","http://",1,0,0], 
<DIV></DIV>&gt;["Pget","http://",1,0,0], 
<DIV></DIV>&gt;["Print","http://",1,0,0] 
<DIV></DIV>&gt;] 
<DIV></DIV>&gt;HM_Array1_1 = [ 
<DIV></DIV>&gt;[], 
<DIV></DIV>&gt;["Info","javascript:window.open('fileinfo.cfm','','toolbar=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=560,height=560')",1,0,0], 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;["Delete","http://",1,0,0], 
<DIV></DIV>&gt;["Rename","http://",1,0,0] 
<DIV></DIV>&gt;] 
<DIV></DIV>&gt;_______________________________________________ 
<DIV></DIV>&gt;Javascript mailing list 
<DIV></DIV>&gt;Javascript@LaTech.edu 
<DIV></DIV>&gt;http://www.LaTech.edu/mailman/listinfo/javascript 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;---------- 
<DIV></DIV>&gt;Get your FREE download of MSN Explorer at http://explorer.msn.com 
<DIV></DIV>&gt;_______________________________________________ Javascript mailing 
<DIV></DIV>&gt;list 
<DIV></DIV>&gt;Javascript@LaTech.edu 
<DIV></DIV>&gt;http://www.LaTech.edu/mailman/listinfo/javascript 
<DIV></DIV>
<DIV></DIV>_______________________________________________ 
<DIV></DIV>Javascript mailing list 
<DIV></DIV>Javascript@LaTech.edu 
<DIV></DIV>http://www.LaTech.edu/mailman/listinfo/javascript 
<DIV></DIV></div><br clear=all><hr>Get your FREE download of MSN Explorer at <a href='http://go.msn.com/bql/hmtag_itl_EN.asp'>http://explorer.msn.com</a><br></html>