Answers for "change background js"

1

javascript change frame background

window.frames['frameName'].document.body.style.backgroundColor = "#000";
Posted by: Guest on April-16-2020
0

change background with js

document.body.style.backgroundColor = "red";
Posted by: Guest on March-16-2021
6

javascript change background color

function changeBackground(color) {
   document.body.style.background = color;
}

window.addEventListener("load",function() { changeBackground('red') });
Posted by: Guest on March-20-2020
0

set background color dynamically javascript

document.body.style.backgroundColor="white"
Posted by: Guest on June-29-2020
2

JavaScript Change Background Color

var element = document.body;
element.style.backgroundColor = "blue";
Posted by: Guest on October-27-2020
0

change background with js

document.body.style.backgroundPosition = "top right";
Posted by: Guest on March-16-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language