PDA

View Full Version : downloadable PDF file


R-Commerce
8-10-03, 07:23 AM
Could anybody of you experts help me finalize my site?

I made a link to a PDF file, where people can download.

The only problem is, whenever you try to download it the message pops up that the URL is not accessable.
Should I store the file in a subdirectory or anywhere else?

Check out the problem at: www.r-commerce.net

Thanx!!!
warmest regards,
R-Commerce
Jochum Reuter

R-Commerce
8-10-03, 07:26 AM
Sorry, forgot to mention that the donwload is situated at the sub-page "Catalogus"

Jochum

stevel
8-10-03, 11:42 AM
I don't understand the language of this page, but the following looks suspicious:


<a onclick="alert('Klik op uw rechter muisknop en selecteer de optie \'Doel opslaan als...\'');return false;"
href="http://www.r-commerce.net/htdocs/tijdelijkgrafmonument.pdf">


If I understand this correctly, you're telling the browser "When the user clicks on this link, display the "alert" message and do nothing." Perhaps if you replaced "return false" with "return true;" it would work.

I also noticed you have a LOT of blank lines in this HTML! Seems rather a waste of bandwidth...

Builder
8-10-03, 01:53 PM
href="http://www.r-commerce.net/htdocs/tijdelijkgrafmonument.pdf"

In addition, replace the above with:

href="http://www.r-commerce.net/tijdelijkgrafmonument.pdf"

"htdocs/" is not part of a valid path in HTML.

Good luck,
Kevin

R-Commerce
8-11-03, 05:59 AM
Dear Stevel and Kevin,
thanks for your replies. Unfortunately your comments do not work.
The text " klik op uw rechtermuisknop..." is best translated as "Please, press your right mousebutton and select the option "Save as......"
The real problem is connecting the image next to it to the actual file (tijdelijkgrafmonument.pdf) and make it downloadable.

I hope you can help me.
I have been deleting all the empty lines in the HTML, thanks for that.
I guess it is obvious I copied the layout from the last webhost I was with (hostway) They have a pretty little tool called Site Control which offers standard layouts.

Greetings,
Jochum Reuter

symo
8-11-03, 03:56 PM
Jochum, I just looked at your source code, and you still have http://www.r-commerce.net/htdocs/tijdelijkgrafmonument.pdf in there... as Builder pointed out, you should not put the /htdocs in there. It won't work.

symo