-
Resizing a window inside of an iframe script
I am using the iframe scroller at http://www.dynamicdrive.com/dynamici...e-scroller.htm and wish to edit the code to resize the iframe when a visitor clicks on a specific link. When the frame resizes a new page will open inside of the resized frame.
For example, the user clicks on Flashing Links in the file example above. The iframe resizes and launches another DHTML page in the re-sized window. I am attempting to use the following code:
<script language="JavaScript">
function resizeWindow() {
window.resizeBy (800, 600);
Window.document.href = 'http://www.google.com';
</script>
<body onload="resizeWindow()">
in a new page that would launch inside of the iframe. I wish for the resizeWindow function to resize the iframe coordinates. It is not working yet. Does anyone have any suggestions? Thanks.
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks