Hi there! I’ve got this bit of script for resizing iframes:
function loadIframe(iframeName, url) {
if ( window.frames[iframeName] ) {
window.frames[iframeName].location = url;
return false;
}
else return true;
}
if I want to define the iFrameName variable manually instead of passing it, and my iframe name is, say, content, should it look something like this?:
window.frames.content.location = url;
Thanks in advance! I don’t know much about JavaScript but it looks smashingly similar to ActionScript… however you can never be sure…
- lrhb :hat: