View Full Version : HTML /JAVA SCIPTS DROP DOWN MENUE
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"
Try replacing the 'file://' with 'ftp://...'
this might work, just a thought
Angel
IIRC file:/// (I'm pretty sure it's 3) is for local files, and you want http:// instead.
John III
<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.
Glad to have already said that http://www.wireplay.co.uk/ubb/tongue.gif
John III
sos i didnt see u there, credit to John then.
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
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*
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
Bah.. Need more sleep, obviously. Yup, You're right. It's mailto:
Hmm.. Sleeeeppppppppppp.......
vBulletin® v3.7.4, Copyright ©2000-2008, Jelsoft Enterprises Ltd.