Chris33
08-27-2005, 06:08 PM
I trying to use simple javascript to launch a page into an inline frame. the script I have so far runs thus:
<script>
function loadhometitle() {
frames['titleframe'].location.href='http://www.hotmail.com'; return false;
}
</script>
the event handler being <a onclick="loadhometitle()" ...................
the problem is that hotmail doesn't load into the iframe but the whole page; or atleast it appears to begin to load into the iframe then simply takes up the whole page.
I have also tried : parent.frames[titleframe].location = 'http://www.hotmail.com'
any solutions have to be in javascript
please help!
thanks
Chris
<script>
function loadhometitle() {
frames['titleframe'].location.href='http://www.hotmail.com'; return false;
}
</script>
the event handler being <a onclick="loadhometitle()" ...................
the problem is that hotmail doesn't load into the iframe but the whole page; or atleast it appears to begin to load into the iframe then simply takes up the whole page.
I have also tried : parent.frames[titleframe].location = 'http://www.hotmail.com'
any solutions have to be in javascript
please help!
thanks
Chris