|
Posted by Jukka K. Korpela on 10/02/05 21:10
"Jonathan N. Little" <lws4art@centralva.net> wrote:
>> You could, in a system that treats a folder as a file. So what?
>
> And which system is that? In DOS, Windows and Linux the directory is
> just a file on the filesystem with a special directory attribute,
> right?
More or less so.
> Still cannot select the folders with the file input browse dialog...
That depends on the browser, as almost anything in file input. I was simply
pointing out that it's up to the browser to decide what is a "file" that
can be submitted.
>>>I can only select a single file as input.
>>
>> That's a common flaw in browsers (Opera being the most notable
>> exception), but that's completely different.
>
> Is this new for Opera?
It's been in Opera as long as I remember. Since version 3.60 or so.
Now that I test Opera 8.02, I notice that they seem to have removed the
functionality. Oh well. Why would a browser try to compete by being better
and by conforming to specifications? (Please tell me I'm wrong. But using
Ctrl or Shift that used to work in Opera's file input dialog for multiple
selections seems to be dysfunctional now.
> The 7.54 version that I have on W2K for testing
> cannot select more than one file. Anyway isn't the browse box, at least
> on Windows, the OS's common 'file open' dialog and not part of the
> browser?
Typically yes, but it can be invoked with different parameters.
> To OP, You could use the file input field to browse and select each
> file, and then use JavaScript to append each section to a list or
> array.
It's rather pointless to suggest solutions before we know the real problem,
and inherently unreliable solutions at that.
--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html
Navigation:
[Reply to this message]
|