Go Back   WarriorForum - Internet Marketing Forums > Warrior Support Forums > Website Design
Register Blogs FAQ Social Groups CalendarHelp Desk

Reply
 
LinkBack Thread Tools
Old 04-29-2009, 06:33 AM   #1
Warrior Member
War Room Member
 
Join Date: May 2008
Location: , , USA.
Posts: 17
Thanks: 31
Thanked 3 Times in 3 Posts
Default Html Code Needed To Upload PDF??

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
r3000 is online now   Reply With Quote
Old 04-29-2009, 07:40 AM   #2
Paul Fitzpatrick
War Room Member
 
Join Date: Apr 2009
Posts: 100
Thanks: 38
Thanked 7 Times in 7 Posts
Default Re: Html Code Needed To Upload PDF??

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>
da1fitz is offline   Reply With Quote
Old 04-29-2009, 09:31 AM   #3
a.k.a Stephen Odus
 
Success2020's Avatar
 
Join Date: Dec 2008
Posts: 115
Thanks: 8
Thanked 1 Time in 1 Post
Social Networking View Member's Twitter Profile 
Default Re: Html Code Needed To Upload PDF??

Quote:
Originally Posted by da1fitz View Post
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>

Thanks for the post.... am also having thesame problem in my site am going to try it out and the result..
Success2020 is offline   Reply With Quote
Old 05-01-2009, 07:41 AM   #4
HyperActive Warrior
War Room Member
 
RedMatrix's Avatar
 
Join Date: Oct 2007
Location: Mission, TX, USA.
Posts: 333
Thanks: 224
Thanked 62 Times in 36 Posts
Social Networking View Member's FaceBook Profile  View Member's Twitter Profile  View Member's YouTube Profile
Contact Info
Send a message via Yahoo to RedMatrix Send a message via Skype™ to RedMatrix
Default Re: Html Code Needed To Upload PDF??

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>
You can but any thing you want for FileName. You can also
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
RedMatrix is offline   Reply With Quote
Reply

  WarriorForum - Internet Marketing Forums > Warrior Support Forums > Website Design

Tags
code, html, needed, pdf, upload

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -6. The time now is 09:15 PM.