HTML Help

Discussion in 'General Off-Topic Chat' started by VashTS, Feb 6, 2014.

  1. VashTS
    OP

    VashTS Beat it, son

    Member
    3,896
    698
    Mar 14, 2009
    United States
    Upstate NY
    I need a creative solution. I'm trying to have a link that will auto-populate the body with a certain table. I know how to populate everything but the body can only be done with plain text, the table is not plain text.

    I wouldn't mind a table on the web page to be fill-in-able ( lol ) and then copy-pasted but that doesn't work out to well. ive attached an image with the table format.

    any ideas are appreciated!
    [​IMG]
     
  2. bowser

    bowser Mwa ha ha ha!

    Member
    2,260
    758
    Sep 1, 2008
    India
    GBAtemp ↑↑↓↓← → ← →BA
    Need more details. Can you elaborate on your situation?
     
  3. VashTS
    OP

    VashTS Beat it, son

    Member
    3,896
    698
    Mar 14, 2009
    United States
    Upstate NY
    trying to have a clickable link that auto-populates the body of the email with a table that looks like that.

    we need to be able to enter info on the right side of the table, the left side will have static info.

    this is to make it easier to send an email instead of having to copy-paste the table everytime its needed and its needed quite a bit
     
  4. Foxi4

    Foxi4 On the hunt...

    pip Reporter
    23,537
    21,496
    Sep 13, 2009
    Poland
    Gaming Grotto
    This might come in handy.
     
    B4rtj4h likes this.
  5. VashTS
    OP

    VashTS Beat it, son

    Member
    3,896
    698
    Mar 14, 2009
    United States
    Upstate NY
    can't use anything that special foxi4 but thanks for the thoughts
     
  6. Foxi4

    Foxi4 On the hunt...

    pip Reporter
    23,537
    21,496
    Sep 13, 2009
    Poland
    Gaming Grotto
    Well, if you want the table's body to be auto-populated out with information fetched from some sort of an array or database then you'll have to program that, and to program that you'll either have to use HTML5, JavaScript, SQL (requires an SQL database server running, so you probably don't want that) or PHP. I can't think of any other solution that could help you off the top of my head since those seem to be the preferred industry-standard solutions.
     
  7. VashTS
    OP

    VashTS Beat it, son

    Member
    3,896
    698
    Mar 14, 2009
    United States
    Upstate NY
    html5 is fine, the only issue is that the html code <mailto: xxx@xxx.com?subject="blahblah"&body="uses plain text only"> uses plain text.
     
  8. Foxi4

    Foxi4 On the hunt...

    pip Reporter
    23,537
    21,496
    Sep 13, 2009
    Poland
    Gaming Grotto
    What about:
    Code:
    <a href="mailto:someone@example.com?subject=A Subject.">Whatever you want</a>
     
  9. Snailface

    Snailface My frothing demand for 3ds homebrew is increasing

    Member
    4,324
    1,983
    Sep 20, 2010
    Engine Room with Cyan, watching him learn.
    Hopefully this is close to what you need. Add css styles to get the table to looks the way you like, I don't have time to help you with that.
    http://jsfiddle.net/sun7f/2/
     
  10. VashTS
    OP

    VashTS Beat it, son

    Member
    3,896
    698
    Mar 14, 2009
    United States
    Upstate NY
    i appreciate the answers here, but alas i don't think its possible to do what i want.

    i just want that table to show up in the email body when we click the mailto hyperlink.


    Code:
    <a href="mailto:yourmom@myemail.com?subject=random&body=that table but not a jpg, and editable table of info">
    click this to send that email
    </a>
    outlook opens -> email to yourmom@myemail.com subject says random, (body has that table)
     
  11. Snailface

    Snailface My frothing demand for 3ds homebrew is increasing

    Member
    4,324
    1,983
    Sep 20, 2010
    Engine Room with Cyan, watching him learn.
    I think this is the final answer unfortunately.
    http://stackoverflow.com/questions/5620324/mailto-with-html-body
     
  12. Foxi4

    Foxi4 On the hunt...

    pip Reporter
    23,537
    21,496
    Sep 13, 2009
    Poland
    Gaming Grotto
    OH! I completely misunderstood what you meant - I thought the table is supposed to be on the site and fetch e-mail drafts, not the other way around! :rofl2: Sorry, my bad.