Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Javascript] Re: Hiermenus v4.1 - http://www.dhtmlab.com/
- From: javascript@xxxxxxxxxx (javascript@xxxxxxxxxx)
- Subject: [Javascript] Re: Hiermenus v4.1 - http://www.dhtmlab.com/
- Date: Tue, 25 Sep 2001 10:54:28 -0400
I'm using this menu system along with ColdFusion. My CF code displays all
the files in a specific directory with the following <a href attached to
each filename.
<a href="#name#" title="Left Click here..."
onMouseOver="popUp('HM_Menu1',event)" onMouseOut="popDown('HM_Menu1')"
class="dirlinks" alt="#name#">
When the link is clicked it opens another template that will return all the
information (size, date last modified..etc) on the file.
The problem I'm having is getting that filename passed into the javascript
code into the HM_Arrays.js file.
How can I pass the filename (#name#) name into the javascript code?
See below. It won't work if I wrap this code with CF's <cfoutput>...</cfoutput>
HM_Array1 = [
[105,,,
,,,,,,,,,,,,,,,,
0,false],
["<u>F</u>ile","http://",1,0,1],
["QuickEdit","http://",1,0,0],
["","",1,0,0],
["Compose","http://",1,0,0],
["Pget","http://",1,0,0],
["Print","http://",1,0,0]
]
HM_Array1_1 = [
[],
["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],
["Delete","http://",1,0,0],
["Rename","http://",1,0,0]
]
- Prev by Date: [Javascript] DHTML and table cells
- Next by Date: [Javascript] DHTML and table cells
- Previous by thread: [Javascript] DHTML and table cells
- Next by thread: [Javascript] Re: Hiermenus v4.1 - http://www.dhtmlab.com/
- Index(es):