Click to See Complete Forum and Search --> : Javascript and buttons to select a file?


D'oh
05-01-2003, 10:18 AM
Hi Guys,
I have a piece of Javascript script I am using, well, trying to use! on my website. It is to give my viewers a choice from an Acrobat PDF file, a word RTF file, and an htm page. These are selected each by a radio button, one for each type of format. The reason I am using Radio Buttons is that links are too ‘untidy.’
These files are stored in a directory called resources, I put what I thought was the correct path name to this directory, in which are stored Pix files, other Acrobat files and the HTM page, and other bits and bobs
The path is thus: My Website/resources/and the file name.pdf, rtf, or htm.
This produced an error a 404, file not found.
OK, so I made another directory on my site, and called this ‘Information.’ In this directory I have placed the current three files and remade the path: My web site/Information/the file name.
This is still returning a 404 error, file not found. I now am at a point where I cannot see the wood for the trees!
Can anyone tell me where I am going wrong?
The URL is http://www.gemferret.org/ Table of contents,

Much appreciated,

Rod
:)

khalidali63
05-01-2003, 10:28 AM
there error is very obvious in nature,post a link to your pages so that some one can take a look...

D'oh
05-01-2003, 10:45 AM
Hi the url to my site is http://www.gemferret.org Table of Contents

Thanks

Rod

khalidali63
05-01-2003, 11:13 AM
Well here is the first test
When I tried to access a file by typing its locationin the address bar
http://www.gemferret.org/Information/MIDSPRING.rtf
I did not get it,this means for sure there si something wrong with your path.

D'oh
05-01-2003, 01:27 PM
Thanks, sir, I can not get it either so it is back to the 'drawing board' again.

Rod

D'oh
05-01-2003, 03:02 PM
Hi sir,
Well thanks for checking that for me, I have now made the path look in the resources folder on my site, and I have two successful contacts, the Acrobat PDF file, and the Word file! I do not know what is with my web hosts, at one stage I wanted to have a directory for the PDF documents, and when I rang them concerning this they just told me that I “did not need a separate directory for this.”
How ever I still cannot get the HTM page, this is giving me an error, cannot find, and displaying a 404 message. Although the path is correct. Because I can get the other files! My gosh, I wish I was in my twenties instead of my sixties! Do you have any further suggestions like renaming this to...?
http://www.gemferret.org the Table of contents is there any particular way these web pages have to be ‘indexed’ or secret method to use with the blighters!
On another point, I am Blighty bound next week for a period of time; will I have to rejoin the group? Or is it a matter of just changing my E–mail address to that I use in Britain...

Rod