[Javascript] Re: Passing CF variables to Javascript hiermenu

Tom Mallard mallard at mallard-design.com
Mon Oct 1 08:59:39 CDT 2001


Looks good, and in the function called openFile() submit a form value to
fileinfo.cfm from the popup page, not the main window. Then after you have
the info on the server, you would redirect to the file they want to see.

tom
----- Original Message -----
From: <phumes1 at home.com>
To: <javascript at LaTech.edu>
Sent: Monday, October 01, 2001 6:07 AM
Subject: Re: [Javascript] Re: Passing CF variables to Javascript hiermenu


>
> So, I would just add it in as so.
>
>
> <a href="javascript:openFile('#name#');" title="Left Click here..."
> onMouseOver="popUp('HM_Menu3',event)" onMouseOut="popDown('HM_Menu3')"
> class="dirlinks" alt="#name#">
>
> If the filename happened to me "test.dat" I would need that filename sent
> to a template called "fileinfo.cfm"
>
> Not so much the contents of the file but just the filename so I can
> retrieve information regarding the file like name, size, date last
modified
> etc.
>
>
>
> At 05:57 AM 10/1/01 -0700, you wrote:
> >Server side...
> >
> ><a href="javascript:openFile('<CF write the filename>');"><CF write the
> >filename></a>
> >
> >This allows you to process the filename from the link clicked in a js
> >function.
> >
> >tom mallard
> >seattle
> >----- Original Message -----
> >From: <phumes1 at home.com>
> >To: <javascript at LaTech.edu>
> >Sent: Monday, October 01, 2001 5:08 AM
> >Subject: [Javascript] Re: Passing CF variables to Javascript hiermenu
> >
> >
> > >
> > > Hi,
> > >
> > > I'm using ColdFusion to create a directory listing of files on my
server.
> > > Every file displayed has a <a href> wrapped around it which loads the
> >popup
> > > javascript menu that has "Info", "edit" command. I want to pass the
> > > filename into the javascript so it will redirect the appropriate file
to
> > > another template.
> > >
> > > How can I do this with js?
> > >
> > > _______________________________________________
> > > Javascript mailing list
> > > Javascript at LaTech.edu
> > > http://www.LaTech.edu/mailman/listinfo/javascript
> > >
> >
> >_______________________________________________
> >Javascript mailing list
> >Javascript at LaTech.edu
> >http://www.LaTech.edu/mailman/listinfo/javascript
>
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> http://www.LaTech.edu/mailman/listinfo/javascript
>




More information about the Javascript mailing list