Forum Discussion
EOMDevelepors
Qrew Captain
The way to do it is add to the code page a few lines:
var header = document.getElementById("customBrandBar").tBodies[0]; //get the tbody element
//this line is optional if you want to change the background color.header.style.backgroundColor = "red";
var tr = header.childNodes[0];
var td = tr.childNodes[1];
var img=document.createElement('img');
img.src="the logo url";
//this line is optional if you want to resize the image
img.style.height = '7%';
td.appendChild(img);
var header = document.getElementById("customBrandBar").tBodies[0]; //get the tbody element
//this line is optional if you want to change the background color.header.style.backgroundColor = "red";
var tr = header.childNodes[0];
var td = tr.childNodes[1];
var img=document.createElement('img');
img.src="the logo url";
//this line is optional if you want to resize the image
img.style.height = '7%';
td.appendChild(img);
EOMDevelepors
6 years agoQrew Captain
Did anyone try to implement BOL lately? I tried to turn it on and I get this error:
Uncaught SyntaxError: missing ) after argument list
------------------------------
EOM Develepors
------------------------------
Uncaught SyntaxError: missing ) after argument list
------------------------------
EOM Develepors
------------------------------
- RyanStanford16 years agoQrew CaptainI've noticed this as well... I'm currently troubleshooting the fact that my IOL code doesn't execute on Mobile anymore either.
------------------------------
Ryan Stanford
------------------------------- EOMDevelepors6 years agoQrew CaptainI figured out the issue. Looks like the new community page is the issue. When I go to the original pastie and copy it form there it seems to work. Maybe the same issue is with you IOL.
Here is a link to the pastie: https://haversineconsulting.quickbase.com/db/bgcwm2m4g?a=dr&rid=582
------------------------------
EOM Develepors
------------------------------