PDF Preview
Preview PDF Document on your Knowledge Base Articles
PDF previews allows you to instantly load PDF documents straight into Helpjuice without having to download the file.
Example
How to Enable
In order to have pdf preview on your question page, following has to be added through customization in your main.js file.
$(document).ready(function(){ $('a[href$=".pdf"]').each(function(index, el){ $(this).replaceWith('<iframe src="' + $(this).attr("href") + '" width="100%" height="700"></iframe>'); }); });
Save the file and now you should see PDF Previews in your Knowledge Base.