HelpSpot Help Desk Software | HelpSpot Blog | HelpSpot Support

Tab widget: remove helpspot logo and change href link


#1

Hi,

I want to replace the helpspot logo with my own site logo and change the href link to my site address.

I wrote function at tab widget onLoad: see below

onLoad: function(){
var string;
string = ‘’;
// obtain a reference to the

element on the page
x = document.getElementById(“poweredbyhelpspot_link”);
x.setAttribute(“href”,“http://www.catalog-on-demand.com/”);
x.innerHTML = string;
}

But it doesn’t work. Any solution plz?


#2

The image is in an iframe so you need to reference into that iframe not in the page the javascript is on.