<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. 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><blockquote></P>
<P><cfoutput></P>
<P><script><!---HM_FileName=#name#</script></cfoutput></P>
<P></blockquote></P>
<P>Then, in your HM_Array.js, you might try the line entry</P>
<P>["<u>F</u>ile","javascript:window.open('fileinfo.cfm?file=" & HM_FileName & "','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> </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>>I work with the HierMenu code extensively, and with ColdFusion. I
<DIV></DIV>>don't
<DIV></DIV>>understand what it is you are trying to do. Why would you pass the
<DIV></DIV>>#name#
<DIV></DIV>>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>>The HM_Array.js is a predefined listing of links for your menu. Are
<DIV></DIV>>you
<DIV></DIV>>trying to dynamically control the menu using ColdFusion?
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>>Cutter
<DIV></DIV>><HTTP: www.falcon-knives.com />Falcon Knives
<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: [Javascript] Re: Hiermenus v4.1 - http://www.dhtmlab.com/
<DIV></DIV>>Date: Tue, 25 Sep 2001 10:54:28 -0400
<DIV></DIV>>I'm using this menu system along with ColdFusion. My CF code
<DIV></DIV>>displays all
<DIV></DIV>>the files in a specific directory with the following each filename.
<DIV></DIV>><HTTP: rte.asp#name# EN dasp cgi-bin lw4fd.law4.hotmail.msn.com>onMouseOver="popUp('HM_Menu1',event)"
<DIV></DIV>>onMouseOut="popDown('HM_Menu1')"
<DIV></DIV>>class="dirlinks" alt="#name#">
<DIV></DIV>>When the link is clicked it opens another template that will return
<DIV></DIV>>all the
<DIV></DIV>>information (size, date last modified..etc) on the file.
<DIV></DIV>>The problem I'm having is getting that filename passed into the
<DIV></DIV>>javascript
<DIV></DIV>>code into the HM_Arrays.js file.
<DIV></DIV>>How can I pass the filename (#name#) name into the javascript code?
<DIV></DIV>>See below. It won't work if I wrap this code with CF's ...
<DIV></DIV>>HM_Array1 = [
<DIV></DIV>>[105,,,
<DIV></DIV>>,,,,,,,,,,,,,,,,
<DIV></DIV>>0,false],
<DIV></DIV>>["F<HTTP: rte.asp#name# EN dasp cgi-bin lw4fd.law4.hotmail.msn.com>ile","http://",1,0,1],
<DIV></DIV>>
<DIV></DIV>>["QuickEdit","http://",1,0,0],
<DIV></DIV>>["","",1,0,0],
<DIV></DIV>>["Compose","http://",1,0,0],
<DIV></DIV>>["Pget","http://",1,0,0],
<DIV></DIV>>["Print","http://",1,0,0]
<DIV></DIV>>]
<DIV></DIV>>HM_Array1_1 = [
<DIV></DIV>>[],
<DIV></DIV>>["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>>
<DIV></DIV>>["Delete","http://",1,0,0],
<DIV></DIV>>["Rename","http://",1,0,0]
<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></DIV>>
<DIV></DIV>>----------
<DIV></DIV>>Get your FREE download of MSN Explorer at http://explorer.msn.com
<DIV></DIV>>_______________________________________________ Javascript mailing
<DIV></DIV>>list
<DIV></DIV>>Javascript@LaTech.edu
<DIV></DIV>>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>