Start a new topic

How can I add a widget to my website?

 I want to add the following widget to my website. Is this possible? I do not have access to the HTML or JavaScript tool.

Thank you for your help!


    PeoplePerHour Profile Widget
    The div#pph-hire me is the element
    where the iframe will be inserted.
    You may move this element wherever
    you need to display the widget
<div id="pph-hireme"></div>
<script type="text/javascript">
(function(d, s) {
    var useSSL = 'https:' == document.location.protocol;
    var js, where = d.getElementsByTagName(s)[0],
    js = d.createElement(s);
    js.src = (useSSL ? 'https:' : 'http:') +  '//'+parseInt(Math.random()*10000, 10);
    try { where.parentNode.insertBefore(js, where); } catch (e) { if (typeof console !== 'undefined' && console.log && e.stack) { console.log(e.stack); } }
}(document, 'script'));

1 Comment

Hi Melanie,

Thanks for your post! Since it is related to customisation, please allow me some time to check with our developers to see if the script is compatible with Portfoliobox. I will convert this post to a ticket for easier follow up :)

Have a nice day, Ainsley

(Forum Moderator)

Login to post a comment