Christian Kavanagh wrote:
> 
> Yeah?  So is there a native way in CF for the user to browse to a file 
> on their machine (or LAN), and select it?

Try using an <INPUT TYPE="FILE", and use some javascript to copy it's 
value to an <INPUT TYPE="HIDDEN"> on submit.  You could also clear the 
file input with javascript, and that might avoid the unnecessary file 
upload.

> Also, loading the file on click: is there a way to do that in CF, or 
> should I be looking at that as a browser function?

<a href="#related_file_1#">#related_file_1#</a>

Just tested that, it works quite nicely in IE, which converted it to a 
file:// url.  However, Firefox did not.  Perhaps you could manufacture a 
valid file:// url somehow.. I tried a few different things in firefox 
but they didn't work.  Or maybe you don't care about non-IE browsers.

Good luck!  Hope this helps.

Rick


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185512
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to