Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Aug 2010
    Posts
    419
    Thanks
    18
    Thanked 2 Times in 2 Posts

    resizable iframe on each pageload within?

    Another general question...

    i have to nest another page within an iframe. It's a calendar system, that will have different length pages, depending on what calendar item the user opens. Is it possible/feasible to write a javascript that resizes the iframe dimensions based on the height of the nested page each time a new page loads?

  • #2
    Regular Coder hdewantara's Avatar
    Join Date
    Aug 2009
    Location
    Jakarta, Indonesia.
    Posts
    375
    Thanks
    9
    Thanked 55 Times in 54 Posts
    I might not get you right but I think you could, as long as the calendar system (iframed) is in the same domain as the iframe container. Or if you have access both to the calendar system and the iframe container, you might like to use the complicated way of "window.postmessage()"


  •  

    Posting Permissions

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