blonde poker forum
Welcome, Guest. Please login or register.
May 04, 2024, 08:49:52 AM

Login with username, password and session length
Search:     Advanced search
2272654 Posts in 66756 Topics by 16721 Members
Latest Member: Zula
* Home Help Arcade Search Calendar Guidelines Login Register
+  blonde poker forum
|-+  Community Forums
| |-+  The Lounge
| | |-+  Calling all HTML gurus.
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] 2 Go Down Print
Author Topic: Calling all HTML gurus.  (Read 2453 times)
millidonk
Hero Member
*****
Offline Offline

Posts: 9140


I'm supposed to wear a shell.. I don't - SLUG LIFE


View Profile
« on: February 15, 2012, 12:06:35 PM »

Been asked to create an email in HTML which looks like the attatched, which is just a screenshot of a page in a pdf. I thought it would be better to just embed the whole pdf instead of creating numerous pages.

Trying to use <embed><object type="application/pdf" data="YourFile.pdf" " width="90%" height="90%" < >/object ></embed> it previews and scrolls through the pdf fine, but when i save i get a blank page.

Anyone got any ideas or have any shortcuts on ripping .pdfs

Apologies if any non geeks click on the thread.

Logged

millidonk
Hero Member
*****
Offline Offline

Posts: 9140


I'm supposed to wear a shell.. I don't - SLUG LIFE


View Profile
« Reply #1 on: February 15, 2012, 12:09:32 PM »

I also proposed just putting a link to the pdf in an email but that is apparently a no go.
Logged

EvilPie
Hero Member
*****
Offline Offline

Posts: 14253



View Profile
« Reply #2 on: February 15, 2012, 12:11:30 PM »

I don't even know why I opened this thread.

I have absolutely no idea about this and the title says exactly who you're after.

Sorry Sad
Logged

Motivational speeches at their best:

"Because thats what living is, the 6 inches in front of your face......" - Patrick Leonard - 10th May 2015
Jon MW
Hero Member
*****
Offline Offline

Posts: 6191



View Profile
« Reply #3 on: February 15, 2012, 12:18:58 PM »

It would be handy if the person who created the pdf is the person who is sending it to you, then they could re save the data in a different format.

The only times we've had clients who have asked us to send a pdf (usually things like entry forms or application forms) they've seen sense and just changed it to the email with a link to the pdf option.
Logged

Jon "the British cowboy" Woodfield

2011 blonde MTT League August Champion
2011 UK Team Championships: Black Belt Poker Team Captain  - - runners up - -
5 Star HORSE Classic - 2007 Razz Champion
2007 WSOP Razz - 13/341
millidonk
Hero Member
*****
Offline Offline

Posts: 9140


I'm supposed to wear a shell.. I don't - SLUG LIFE


View Profile
« Reply #4 on: February 15, 2012, 12:21:39 PM »

It would be handy if the person who created the pdf is the person who is sending it to you, then they could re save the data in a different format.

The only times we've had clients who have asked us to send a pdf (usually things like entry forms or application forms) they've seen sense and just changed it to the email with a link to the pdf option.

mbsfn to have clients with common sense
Logged

Jon MW
Hero Member
*****
Offline Offline

Posts: 6191



View Profile
« Reply #5 on: February 15, 2012, 12:23:16 PM »

It would be handy if the person who created the pdf is the person who is sending it to you, then they could re save the data in a different format.

The only times we've had clients who have asked us to send a pdf (usually things like entry forms or application forms) they've seen sense and just changed it to the email with a link to the pdf option.

mbsfn to have clients with common sense

nah, just use Jedi mind tricks to get them to agree with what we want.   Cheesy
Logged

Jon "the British cowboy" Woodfield

2011 blonde MTT League August Champion
2011 UK Team Championships: Black Belt Poker Team Captain  - - runners up - -
5 Star HORSE Classic - 2007 Razz Champion
2007 WSOP Razz - 13/341
kinboshi
ROMANES EUNT DOMUS
Administrator
Hero Member
*****
Offline Offline

Posts: 44302


We go again.


View Profile WWW
« Reply #6 on: February 15, 2012, 12:25:57 PM »

Not sure I understand, but the simplest solution to me is to create an HTML email, with a link to a web page on your website, and on that page put a link to the pdf that you've uploaded to the server.
Logged

'The meme for blind faith secures its own perpetuation by the simple unconscious expedient of discouraging rational inquiry.'
Nakor
Tinca Tinca
Hero Member
*****
Offline Offline

Posts: 4023

Serve the spider


View Profile WWW
« Reply #7 on: February 15, 2012, 12:30:18 PM »

We use

http://pdfobject.com/

or

Adobe Flashpaper

As a long shot . . .

If you use Image instead of application does this change your view post save?  Will it display at all?
Logged

Shit post Nakor, such a clown.

What do you get when you cross a joke with a rhetorical question?
millidonk
Hero Member
*****
Offline Offline

Posts: 9140


I'm supposed to wear a shell.. I don't - SLUG LIFE


View Profile
« Reply #8 on: February 15, 2012, 12:31:01 PM »

Not sure I understand, but the simplest solution to me is to create an HTML email, with a link to a web page on your website, and on that page put a link to the pdf that you've uploaded to the server.

this is also simplest for me. But they don't want the person receiving the email to have to click anything at all. Just receive the email and read..

I read about this mix of HTML and JS. [  ] Works

<html>
  <head>
    <title>PDFObject example</title>
    <script type="text/javascript" src="pdfobject.js"></script>
    <script type="text/javascript">
      window.onload = function (){
        var success = new PDFObject({ url: "sample.pdf" }).embed();
      };
    </script>  </head>
  <body>
    <p>It appears you don't have Adobe Reader or PDF support in this web
    browser. <a href="sample.pdf">Click here to download the PDF[/url]</p>
  </body>
</html>

Logged

millidonk
Hero Member
*****
Offline Offline

Posts: 9140


I'm supposed to wear a shell.. I don't - SLUG LIFE


View Profile
« Reply #9 on: February 15, 2012, 12:32:02 PM »

We use

http://pdfobject.com/

or

Adobe Flashpaper

As a long shot . . .

If you use Image instead of application does this change your view post save?  Will it display at all?

Yea, just tried that site. Doesn't seem to have support on our browsers. Will try using image now instead.
Logged

Paullie_D
APAT Travel Guru
Full Member
***
Offline Offline

Posts: 236



View Profile WWW
« Reply #10 on: February 15, 2012, 12:40:43 PM »

Frankly the only way I see is to get the document in an open format (MS Word would probably be best) and send it as a mail merged html document.

From the screenshot I think it is very unlikely that this was created in Adobe Acrobat....it must have been created in something else and then save as a PDF file.
Logged

Wait...What!?
millidonk
Hero Member
*****
Offline Offline

Posts: 9140


I'm supposed to wear a shell.. I don't - SLUG LIFE


View Profile
« Reply #11 on: February 15, 2012, 12:43:13 PM »


Like this site! Completely missed the code generator tab on first view. From the looks of it, it should work but our mailing system doesn't seem to be compatible outside of preview. Will send it as an RFC and see if support can sort it. Cheers for the help everyone.
Logged

Jon MW
Hero Member
*****
Offline Offline

Posts: 6191



View Profile
« Reply #12 on: February 15, 2012, 12:50:45 PM »


Like this site! Completely missed the code generator tab on first view. From the looks of it, it should work but our mailing system doesn't seem to be compatible outside of preview. Will send it as an RFC and see if support can sort it. Cheers for the help everyone.

Don't most email clients disable javascript? So any solution involving javascript will only work in a browser - not in an email?
Logged

Jon "the British cowboy" Woodfield

2011 blonde MTT League August Champion
2011 UK Team Championships: Black Belt Poker Team Captain  - - runners up - -
5 Star HORSE Classic - 2007 Razz Champion
2007 WSOP Razz - 13/341
millidonk
Hero Member
*****
Offline Offline

Posts: 9140


I'm supposed to wear a shell.. I don't - SLUG LIFE


View Profile
« Reply #13 on: February 15, 2012, 12:54:54 PM »


Like this site! Completely missed the code generator tab on first view. From the looks of it, it should work but our mailing system doesn't seem to be compatible outside of preview. Will send it as an RFC and see if support can sort it. Cheers for the help everyone.

Don't most email clients disable javascript? So any solution involving javascript will only work in a browser - not in an email?

When you generate the code it gives you choice with or without javascript. Neither worked for me anyways. I imagine most email clinets will disable javascript for saftey resons.
Logged

Jon MW
Hero Member
*****
Offline Offline

Posts: 6191



View Profile
« Reply #14 on: February 15, 2012, 12:59:44 PM »

We have had clients who have just sent one big image to send as an email - which is a similar problem.

I'm afraid my best solution to that was just to create the html from scratch so that it recreated what they'd specified.
Logged

Jon "the British cowboy" Woodfield

2011 blonde MTT League August Champion
2011 UK Team Championships: Black Belt Poker Team Captain  - - runners up - -
5 Star HORSE Classic - 2007 Razz Champion
2007 WSOP Razz - 13/341
Pages: [1] 2 Go Up Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.193 seconds with 20 queries.