kscearce Posted June 21, 2004 Posted June 21, 2004 I use Front Page to create my website, and I created a link to a PDF file. I want the PDF file to open up in Adobe Reader for folks to look at. The link code seems to be fine. <a target="_blank" href="Documents/Jennifer's%20Thank%20you%20Notes1.pdf">Jennifer's Thank You Notes</a> But when I click on the link in the browser, it opens up a blank web page and doesn't open the PDF file. I have the full Adobe product on my PC, and can open other PDF files. What am I missing here? Thanks, Kathi Quote
TCH-Bruce Posted June 21, 2004 Posted June 21, 2004 (edited) The link would be case sensitive so the first thing is do you have a folder called "Documents" Second, it is not standard naming practice ofr files on a web site to contain spaces or the ' character in the file name. Just a couple of things I see that could be wrong. And welcome to the family, Kathi. Edited June 21, 2004 by TCH-Bruce Quote
TCH-Don Posted June 21, 2004 Posted June 21, 2004 Hi Kathi, welcome to the family <a target="_blank" href="Documents/Jennifer's%20Thank%20you%20Notes1.pdf">Jennifer's Thank You Notes</a> are you sure that the folder Documents exist in the same folder that the page with the link is on? Check case as it matters on the server. Is it documents or Documents and check the file name as you have upper and lower case in the file name and be sure that when you uploaded the file Jennifer's%20Thank%20you%20Notes1.pdf to the Document folder on your site, it did not get converted to all lower case. With out a link I can not look to help. Quote
kscearce Posted June 21, 2004 Author Posted June 21, 2004 Thanks Don, Bruce for the welcome and your assistance. I've checked all the issues you suggested, and they're either fine or I fixed them. Still no success, although I just had an ephiany. Could it be that because this site is a sub-domain it's causing this issue? I mean if it's a link, it should work as long as you have Adobe Reader or the full product on your computer, correct? I've renamed the file to JenThankYouNote.PDF and it sits in the webdesigndemo.monicaburns.com Documents folder. The hierarchy on the server appears to be... www/webdesigndemo/documents Here's the link Demo Page Oh, and I copied the same PDF file into my documents on my main site. www.monicaburns.com and modified the code to try and view it there since I wondered about the sub domain issue. That didn't work either. I love problems, but only after I succeed in beating them! Kathi Quote
TCH-Bruce Posted June 21, 2004 Posted June 21, 2004 Have you tried: monicaburns.com/webdesignsdemo/Documents/JenThankYouNote.pdf That should load the file if the capitalization is correct. Quote
kscearce Posted June 21, 2004 Author Posted June 21, 2004 Thanks Bruce, but no go...capitalization is all correct, but it doesn't want to load. I found on another forum outside of TotalChoice something about removing a line of code, but I couldn't make heads or tails about it. I'll go back and take another look. I'm like a pit bull. I don't let go until I solve the problem. Kathi Quote
TCH-Bruce Posted June 21, 2004 Posted June 21, 2004 (edited) What happens if you put the PDF in the same folder with the html file? Will it launch and find it? Just link to it using I kept getting 404 errors with all my tests based on the info you have provided. Edited June 21, 2004 by TCH-Bruce Quote
kscearce Posted June 21, 2004 Author Posted June 21, 2004 What happens if you put the PDF in the same folder with the html file? Will it launch and find it? Just link to it using <a href="JenThankYouNote.pdf"> I kept getting 404 errors with all my tests based on the info you have provided. HOORAY!! Thanks Bruce, Thumbs Up That allowed me to see it, and I had my husband check it on our home PC. Now I'm wondering why it wouldn't pull it from the Documents folder, because the code was correct. Any thoughts? Thanks for helping me get the PDF to show! Now I need to see if there's a reason why the file wouldn't pull out of the Documents folder. Kathi Quote
TCH-Bruce Posted June 21, 2004 Posted June 21, 2004 (edited) Not sure. But this should have worked as well. Providing of course the folder names are correct for you path. Edited June 21, 2004 by TCH-Bruce Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.