HTML & WEB-Design

Moderators: Jonathan
Number of threads: 1249
Number of posts: 3348

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Edit Report
Drop Down menu/frames/select local file- syntax? Posted by Rob Gilbert on 11 Feb 2001 at 2:41 PM
What is the syntax necessary to pick up a file on the local drive? For example:

<select name="choice" SIZE="1" onChange="selection()">
<option value="http://www.programmersheaven.com">Heaven</option>
</select>

What code is required in place of the URL to select a local file, C:\project\data.htm?


Edit Report
Re: Drop Down menu/frames/select local file- syntax? Posted by Jonathan on 12 Feb 2001 at 2:31 PM
Hi!

As far as I know, you link to it with something like this instead of a URL:-

file://C|/folder/file.htm

That should work in both Netscape AND IE - I think Netscape doesn't like it if you don't replace the : with a | - it does it automatically whenever I've tried it, if you know what I mean.

Hope this helps!

Jonathan


URL:http://www.downloadcounter.com/




 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.