Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function changeColor(color)
- {
- document.getElementById("prawy").style.backgroundColor = color;
- }
- function setFontColor(fontColor)
- {
- var fontColor = document.getElementById("fontColor").value;
- document.getElementById("prawy").style.color = fontColor;
- }
- function setFontSize()
- {
- var fontSize = document.getElementById("fontSize").value;
- document.getElementById("prawy").style.fontSize = fontSize + "%";
- }
- function setFrame()
- {
- if(document.getElementById("frame").checked == false)
- {
- document.getElementById("obrazek").style.borderStyle = "none";
- }
- else
- {
- document.getElementById("obrazek").style.borderStyle = "solid";
- }
- }
- function setListType()
- {
- document.getElementById("lista1").style.listStyleType = document.querySelector('[name="listType"]:checked').value;
- }
Add Comment
Please, Sign In to add comment