I am having problems changing the src attribute on iFrames, is/was this not a supported attribute in IE7? Because of the number of people still using XP, and IE7, I need this to work. The error message I am getting out of IE7 is:
Line 23 & 24 (23 works and does not throw an error) state:
Here are the definitions of the two elements:
Let all bear in mind that a society is judged not so much by the standards attained by its more affluent and privileged members as by the quality of life which it is able to assure for its weakest members.
Code:
Line 24, Char 4, error: 'document.getElementById(...)' is null or not an object
Line 23 & 24 (23 works and does not throw an error) state:
Code:
document.getElementById("Chapter").innerHTML = "Southwest Pennsylvania Chapter";
document.getElementById("leftFrame").src = "SwPa/AboutUs.html";
Here are the definitions of the two elements:
Code:
<!DOCTYPE HTML PUBLIC "-//W3C/DTD HTML 4.01 Transitional//EN" "[URL unfurl="true"]http://www.w3.org/TR/html4/loose.dtd">[/URL]
.
.
.
<h2 id="Chapter">We are an organization bringing disabled and non-disabled people together through sports.</h2>
.
.
.
<div class="main">
<div id="divObject" class="left">
<iframe id="leftFrame" src="Home/Prayer.html" style="border:0px; overflow:hidden; width:100%;" allowtransparency=true onload="iFrameHeight('leftFrame')"></iFrame>
Let all bear in mind that a society is judged not so much by the standards attained by its more affluent and privileged members as by the quality of life which it is able to assure for its weakest members.