* [EMAIL PROTECTED] (David Luff) [2003.10.15 06:37]:
> The http mirrors of FG are all straight mirrors of the master site, as are
> the ftp mirrors.  Hence the graphical scenery download page on the http
> mirrors points back to the master site.  Hence it's impossible to download
> scenery from the ftp mirrors using the graphical interface.  It seems to me
> it might be worth tweaking the http mirror's graphical download page to
> point to the corresponding ftp mirror if available?
> 
> Cheers - Dave

One way to fix this would be Javascript.  Here's my idea:

Create a <select> input on the graphical download page with the
different ftp mirrors -- default to master.  Add an event handler to the
<select> so that it updates a variable (ie. $MIRROR) when the user
changes it.  Update the links over the graphical interface to use an
onClick() event instead of an href element.  The onClick() simply
directs the user to ftp://$MIRROR/fgfs/Scenery-0.9.2/e000n00.tar.gz or
whatever is appropriate.

Just a thought.
-- 
Cameron Moore
[ You're mind can only absorb what you seek out and endure. ]

_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to