- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2017 12:19 PM
Hi Everyone,
I have a need to set my company's logo as a background on the form of a custom table. I'm not entirely sure where to begin with this one. I imagine doing something like this but not entirely sure where to put it? UI Script on the page? My attempts at that failed.
Any help would be greatly appreciated!
Thanks all!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2017 01:14 PM
Use this for background size
function onLoad() {
//Type appropriate comment here, and begin script below
document.body.style.backgroundImage = "url('10Things02a_v2.png')";
document.body.style.backgroundSize = 'cover';
}

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2017 12:31 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2017 12:38 PM
Try the below
1. Upload your logo in the system UI->images.
2. Write the below onload client script
function onLoad() {
//Type appropriate comment here, and begin script below
document.body.style.backgroundImage = "url('10Things02a_v2.png')";
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2017 01:04 PM
I was making this way more complicated. This worked, thank you!! The only issue now is that it is a repeating image, and I understand that is by default. Do you know the missing bit to make it stretch to the page?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2017 01:14 PM
Use this for background size
function onLoad() {
//Type appropriate comment here, and begin script below
document.body.style.backgroundImage = "url('10Things02a_v2.png')";
document.body.style.backgroundSize = 'cover';
}