Jump to content
Asked by LindaHarmes
Posted Oct 21 2011 11:41 AM
When I created the function resizeRock() and typed in the line
document.getElementById("rockImg").style.height = (document.body.clientHeight - 100) * 0.9;
Answered by LindaHarmes
Posted Oct 21 2011 01:35 PM
Once I took out the <!DOCTYPE html .....> line inserted by VS 2010 and removed the xmlns attribute, also added by VS 2010, I no longer got an error running the page and the resize function worked correctly.