[Home]IFRAME

HomePage | RecentChanges | Preferences | Newbie Help

Category HTML FAQ

See http://www.malibutelecom.com/yucca/html/iframe.html -- Jukka Korpela on IFRAME element

Also http://blooberry.com/indexdot/html/tagpages/i/iframe.htm for an overview.

JavaScript solution:

If you want to change the source of the iframe you must first name it. After this you can retrieve it with a document.all :

    var myIframe = document.all["myIframename"];
    myIframe.contentWindow.location= "http://domain/rep/file.html"

If you want to change its size :

    myIframe.style.pixelWidth = newWidth;
    myIframe.style.pixelHeight = newHeight;


Comments --


HomePage | RecentChanges | Preferences | Newbie Help
This page is read-only | View other revisions
Last edited July 30, 2001 9:24 am (diff)
Search:

This FAQ is happily hosted by Betadome Digital Media