PDA

View Full Version : HTML /JAVA SCIPTS DROP DOWN MENUE


SUNBURN
11-09-1999, 15:34
Hey All It only me D*H*D SUNBURN im in desperte for some help.....
im using a a drop down box to select one of several files to download but for some reason the it wont work take a look below for an example

<option selected
value="file://www.footlose.demon.co.uk/mappak1.exe">D*H*D MapPak 1</option>

when i tried this code off-line calling the file from a local folder the D/l works fine but somehow i can't get it to work from a remote connection ie. off the Internet !

i would be extremely Gratefull for any advice / solutions to my Prob !

Regards D*H*D SUNBURN C&C
PS When the League Starts..... "Good Hunting"

Angel
11-09-1999, 16:01
Try replacing the 'file://' with 'ftp://...'

this might work, just a thought

Angel

JohnIII
11-09-1999, 16:31
IIRC file:/// (I'm pretty sure it's 3) is for local files, and you want http:// instead.
John III

Qui
11-09-1999, 20:13
<option selected
value="http://www.footlose.demon.co.uk/mappak1.exe">D*H*D MapPak 1</option>


this will work, glad to be of service.

JohnIII
11-09-1999, 22:13
Glad to have already said that http://www.wireplay.co.uk/ubb/tongue.gif
John III

Qui
11-09-1999, 22:22
sos i didnt see u there, credit to John then.

Taulath
13-09-1999, 14:47
Looks like i got here to late. http://www.wireplay.co.uk/ubb/smile.gif

Hmm.. Ok.. Heres a pretty uncomplete list.. add to it if you can :-

file:// - Used only for local files on your compie.

http:// - Used for HTML files and for downloading using your standard browser. Most of the time you'll use this.

ftp:// - For FTP (File transfer protocol) of files from a web-site. Only use really if you have a FTP server. Not too common for ppls homepages http://www.wireplay.co.uk/ubb/smile.gif

mailto:// - Use to make a link to send mail to an e-mail address. When clicked on it'll open the users default mail program.

Theres more, but these are the main ones. http://www.wireplay.co.uk/ubb/smile.gif

Razz
13-09-1999, 19:40
There's a Javascript tutorial on my web site ZeRoHouR.
Click on the link below. There's also a HTML tutorial.



------------------
[CSC]Razz

ZeRoHouR (http://www.angelfire.com/sk/ZeRoHouR/index.html)

Clan Smashing Composers (http://www.c-s-c.freeserve.co.uk)

I'VE GOT THE FLAG NOW SOMEONE BLOW THE GRATE!!!!! *gasp* *gasp* SOMEONE!!!!! ANYONE!!!!! *blub* *blub* *blub*

JohnIII
13-09-1999, 21:08
Taulath, I'm no expert by any means, but isn't it just mailto:, not mailto://, as that sets up a new e-mail to //e-mail_addy_here.
Just checking.
John III

Taulath
14-09-1999, 10:12
Bah.. Need more sleep, obviously. Yup, You're right. It's mailto:

Hmm.. Sleeeeppppppppppp.......