![]() | | ||||||||
| | #1 |
| Warrior Member War Room Member Join Date: May 2008 Location: , , USA.
Posts: 17
Thanks: 31
Thanked 3 Times in 3 Posts
|
Hi All, This may be a silly question, but here goes: I'd like to include a link to a .pdf in an autoresponder series of mine. I've uploaded the .pdf to the server under the site in question using FileZilla. I'd like the link to look like: mysite.com/myreport.pdf I've created a page on my site with an "a href" pointing to the pdf and uploaded it to the server as well.?? I can't get the link to make the .pdf pop-up upon clicking (shows 404 error). Only thing I can figure is that i'm missing some HTML code to make this happen, or I've somehow got the pdf uploaded incorrectly (I've uploaded it under "mysite" which is under public_html) Am I missing a step? Can anyone tell me where I'm off track? Any help is greatly appreciated! Thanks! ~Rob |
| | |
| | #2 |
| Paul Fitzpatrick War Room Member Join Date: Apr 2009
Posts: 100
Thanks: 38
Thanked 7 Times in 7 Posts
|
Rob Add mysite.com/myreport.html to your responder. Add the below code into myreport.html including the full link to your PDF and you should get the desired effect though beware popup blockers . <html> <title>Your PDF</title> <head> <script language="JavaScript"> <!-- function open_PDF() { var new_window = window.open('mysite.com/yourpdf.pdf','yourPDF', ' menubar,resizable,dependent,status,width=400,heigh t=600,left=10,top=10') } // --> </script> </head> <body onload="open_PDF()"> </body> </html> |
| | |
| | #3 | |
| a.k.a Stephen Odus Join Date: Dec 2008
Posts: 115
Thanks: 8
Thanked 1 Time in 1 Post
| Quote:
Thanks for the post.... am also having thesame problem in my site am going to try it out and the result..
| |
| | |
| | #4 |
| HyperActive Warrior War Room Member Join Date: Oct 2007 Location: Mission, TX, USA.
Posts: 333
Thanks: 224
Thanked 62 Times in 36 Posts
|
If you uploaded the PDF to yoursite.com/downloads/, for example, and the name of your file is file.pdf, then this is how the html should look like on your page, or email. HTML Code: <a href="http://yoursite.com/downloads/file.pdf" target="_blank">FileName</a> just leave it as plain text on your autoresponder: http://yoursite.com/downloads/file.pdf You can even make it look like this: yoursite.com/file.pdf HTML Code: <a href="http://yoursite.com/downloads/file.pdf" target="_blank">YourSite.com/file.pdf</a> |
|
~Dave
| |
| | |
![]() |
|
| Tags |
| code, html, needed, pdf, upload |
| Thread Tools | |
| |
![]() |