On Wed, 31 May 2006 19:48:01 +0100, ddailey <[EMAIL PROTECTED]>
wrote:
> One thing that none of them has had any luck with, and I frankly have no
> suggestions to help, is the <input type="file"> object. Is there anyway
> to
> allow the user to peruse local drive space and based on the choice of a
> file, modify the contents of a pure SVG document the way one would in
> HTML?
Opera allows you to open a directory as a page of HTML, with the ability
to rewrite that using userJS...
but then wraps it in a security model that means it won't work, because
giving a page access to a local file system is considered a big-time no-no
for security.
> I was about to declare the problem unsolvable, but thought I'd run it by
> you
> folks to see if someone has a clever workaround.
Err, you could use a monstrous amount of lcal javascript to start from a
local place and load in eveerything, and make it work like that, but I
personally wouldn't bother. It's a very obscure bit of work.
The Web API working group is defining a file upload API to deal with
exactly this issue, so you can hope to have this stuff available more
generally soon. Maybe your next class will not need to even do the
exercise...
cheers
Chaals
--
Charles McCathieNevile [EMAIL PROTECTED]
hablo español - je parle français - jeg lærer norsk
Peek into the kitchen: http://snapshot.opera.com/
------------------------ Yahoo! Groups Sponsor --------------------~-->
You can search right from your browser? It's easy and it's free. See how.
http://us.click.yahoo.com/_7bhrC/NGxNAA/yQLSAA/1U_rlB/TM
--------------------------------------------------------------------~->
-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my
membership"
----
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/