+ Reply to Thread
Results 1 to 4 of 4

Thread: iframe Dynamic web page size

  1. #1

    Default iframe Dynamic web page size

    How to set the iframe size as dynamic.
    It should display the contents according to the size of the web page

  2. #2
    Join Date
    Jul 2006
    Location
    San Diego, CA
    Posts
    5,450

    Default

    That's not possible without some major hackery. The problem is that the host page sets the size, but only the contained page knows the proper size. Now, there are techniques for making a contained page communicate with the hosting page, but it's not simple and requires quite a bit of code on both pages.
    Steve G. Bjorg - Chief Architect
    Did you check the MindTouch FAQ?
    Found a bug? Report it.
    Follow me on Twitter
    Find us on IRC: irc.freenode.net #mindtouch

  3. #3

    Default Code needed

    Could you give me suggestion or could you specify what code to be written on both the pages

  4. #4
    Join Date
    Jul 2006
    Location
    San Diego, CA
    Posts
    5,450

    Default

    Sorry, I only know the basics for it. The concept is that the inner page computes its height using javascript and then communicates it to its outer frame using some communication mechanism.
    Steve G. Bjorg - Chief Architect
    Did you check the MindTouch FAQ?
    Found a bug? Report it.
    Follow me on Twitter
    Find us on IRC: irc.freenode.net #mindtouch

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts