Discussions

Change favicon and tab text of an Eloqua-hosted PDF file

markhalliday
markhalliday Posts: 31 Silver Trophy

We currently have pdfs hosted in Eloqua, and would like the ability to change the favicon and the tab text. Right now the favicon is Oracle, and the tab text is the URL of the asset (see screenshot). Is there a way to modify either the text or favicon?


Tagged:

Best Answer

Answers

  • user10029126
    user10029126 Posts: 4 Blue Ribbon

    In the above post, I was unable to add a beginning and end tag to the link line above due to restrictions on posts ...

    --Tom Shaheen

  • markhalliday
    markhalliday Posts: 31 Silver Trophy

    Thanks Tom, I hadn't thought of an iframe option but that works - here is code for others to reference. This sets frame to full width:

    <!DOCTYPE html>

    <html lang="en">

    <head>

      <meta charset="UTF-8">

      <meta name="viewport" content="width=<device-width>, initial-scale=1.0">

      <title>Your Title</title>

      <style type="text/css">

        body, html

        {

          margin: 0; padding: 0; height: 100%; overflow: hidden;

        }


        #content

        {

          position:absolute; left: 0; right: 0; bottom: 0; top: 0px; 

        }

      </style>

    </head>

    <body>

      <div id="content"><iframe src="#" title="Your Title" width="100%" height="100%" frameborder="0"> </iframe></div>  

    </body>

    </html>

  • A non-code solution to the tab title is you just need to edit the PDF's document properties to contain a title prior to uploading the file to Eloqua. That title is then carried over as the tab title.