diff --git a/index.html b/index.html index f10abc9..45e851c 100644 --- a/index.html +++ b/index.html @@ -67,7 +67,7 @@

"Mathematical Modeling is nothing
but Mathematics and Mo var x; - document.getElementById("bgimage").style = "background-image:url('images/road-2.jpg');"; + //document.getElementById("bgimage").style = "background-image:url('images/road-2.jpg');"; x = document.getElementById("quote_input1").value; x = x.split(','); x = x.join('
'); @@ -95,7 +95,16 @@

"Mathematical Modeling is nothing
but Mathematics and Mo document.getElementById("author2").innerHTML = "" + x[1] + "(" + y[i].value + ")" + ""; } } + if(y[0].checked) { + document.getElementById("bgimage").style = "background-image:url('images/road-dawn-mountains-sky.jpeg');"; + } + if(y[1].checked) { + document.getElementById("bgimage").style = "background-image:url('images/road-2.jpg');"; + } + if(y[2].checked) { + document.getElementById("bgimage").style = "background-image:url('images/road-3.jpg');"; + } } - \ No newline at end of file +