"Catherine Lynn Smith" <kl*****@hotmail.com> schreef in bericht
news:5f**************************@posting.google.c om...
function gotoMembers() { // pop up member dialog in blueCenter
// Example is being tested in Internet Explorer. I have also used
document.all["house"] and done
// similar testing in Netscape using document.layers["house"] without
success.
// - try using 'load' method to load an external page
// document.getElementById("house").load("members.htm ",800);
// - using document.write('...');
document.write can only be used with <layers /> in Netscape 4 when the page
is already loaded. document.getElementById(...).load(...) won't work either.
You could use an iframe instead voor Netscape 7/Mozilla and IE if you want
to include content URL based, but if you want to write to the div, you
should use its innerHTML property:
IE 4:
document.all['divID'].innerHTML = stringHTML;
IE 5+/Mozilla/Netscape 7+/Opera 7:
document.getElementById('divID').innerHTML = stringHTML;
JW