|
I have a homepage with links on the side that when clicked opens up a page in a frame. I don't want the frame to be scrollable but i would like the entire page to be viewable in the frame.
I was told that i need a javascript function to do this and the one i was given was.... Am I putting the code in the wrong spot, i put the "onload" with the <body> tag and I placed the function in the header.
<body onload="goSetHeight()">
function goSetHeight() {
if (parent == window) return;
else parent.setIframeHeight('ifrm');
}
|