View previous topic :: View next topic |
Author |
Message |
gb -
Joined: 27 Apr 2004 Posts: 3
|
Posted: Tue Apr 27, 2004 12:16 am Post subject: Q re dropdown menu |
|
|
Hi,
I want to insert a dropdown list in a web page which links to a windows directorya nd allows the user to browse the file names in the windows directory real-time and when the user selects one it opens that file in an explorer window.
Can anyone help |
|
Back to top |
|
 |
iNaNimAtE -
Joined: 05 Nov 2003 Posts: 2381 Location: Everywhere you're not.
|
Posted: Tue Apr 27, 2004 2:54 am Post subject: |
|
|
Who's directory do you want users to browse; theirs, or your own. _________________ Bienvenidos! |
|
Back to top |
 |
 |
gb -
Joined: 27 Apr 2004 Posts: 3
|
Posted: Fri Apr 30, 2004 8:59 pm Post subject: |
|
|
Hi,
The files will be on a shared netwrok drive that I and the users will have access to.
thanks |
|
Back to top |
|
 |
iNaNimAtE -
Joined: 05 Nov 2003 Posts: 2381 Location: Everywhere you're not.
|
Posted: Sat May 01, 2004 12:37 am Post subject: |
|
|
Well assuming you and the users are using IE, this should be fairly simple.
If the files you want are on the H: drive, (just an example), then all links to a file would be formatted as:
Code: | <a href="file://H:\Directory" target="_blank"> |
That will open a new window displaying the contents of H:\Directory using Windows Explorer.
PS: Windows Explorer and Internet Explorer are fundamentally the same. _________________ Bienvenidos! |
|
Back to top |
 |
 |
gb -
Joined: 27 Apr 2004 Posts: 3
|
Posted: Mon May 10, 2004 4:33 pm Post subject: |
|
|
Hi,
thanks for getting back to me. I was hoping to tailor the resultant view somewhat. I'd like to show only Files with say the .doc extension. Is this possible ?
At the moment the users can see all the directories and sub-directories and I would like to limit them to a set of files ending in .doc
many thanks
gerry |
|
Back to top |
|
 |
iNaNimAtE -
Joined: 05 Nov 2003 Posts: 2381 Location: Everywhere you're not.
|
Posted: Mon May 10, 2004 11:57 pm Post subject: |
|
|
Well you can do that; but you won't be able to use Windows Explorer. There might be something you can do on the client side, but that is different.
To show only .DOC, use a CGI script available at www.hotscripts.com (or search the forum for people who have made them). _________________ Bienvenidos! |
|
Back to top |
 |
 |
|