Change favicon and tab text of an Eloqua-hosted PDF file
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?
Mark--if you are placing your PDFs in the File Storage area, you would need a container HTML page (essentially, a frame). Then you would add the following code to the head:
link rel="icon" type="image/png" href="xxxxxxxxx/favicon.png"
--Tom Shaheen, Net Portfolio, Inc., [email protected]
In the above post, I was unable to add a beginning and end tag to the link line above due to restrictions on posts ...
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:
<meta name="viewport" content="width=<device-width>, initial-scale=1.0">
margin: 0; padding: 0; height: 100%; overflow: hidden;
position:absolute; left: 0; right: 0; bottom: 0; top: 0px;
<div id="content"><iframe src="#" title="Your Title" width="100%" height="100%" frameborder="0"> </iframe></div>
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.