I have a page that has an object on it that displays the other pages on my site, like an Iframe without the Iframe.
Here is the function that runs on a click of one of the links.
I'm trying to get the object to work like a frame by changing the data= part. Can this be done with an object?
Code:
<object id="main" data="blank.html" type="text/html" style="position:absolute; top:80; width:100%; height:100%; border:none 0 white"> [Your Browser Does Not Handle OBJECTs, Sorry! Please update your browser, or try anouther browser.] </object>
Code:
function changeToRep(){ document.getElementById('main').data="MassToRep.html" }
Comment