Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org

BBS: Re: Change width of IFrame through client script - September 01, 1998 at 12:01:50

You are here: irt.org | BBS | Re: Change width of IFrame through client script [This BBS is closed]

Posted by Martin Webb on September 01, 1998 at 12:01:50:

In Reply to: Change width of IFrame through client script posted by Chad C. on August 27, 1998 at 12:53:41:

: Does anyone have any idea how to change the width of an IFRAME through client script. I have tried everything I can think of with no results.

: Thank you

: Chad

You can change it before you create it:

<SCRIPT LANGUAGE="JavaScript">
var width = 100*2;
document.write ('<IFRAME WIDTH="' + width + '"></IFRAME>');
</SCRIPT>

But I doubt if you can change it after it has been created - perhaps in MSIE4.


Follow-ups:

You are here: irt.org | BBS | Re: Change width of IFrame through client script [This BBS is closed]

©2018 Martin Webb