Results 1 to 4 of 4

Thread: Iframe SSI script II problem with nested iframes

  1. #1
    Join Date
    Nov 2005
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Iframe SSI script II problem with nested iframes

    Script: Iframe SSI script II
    http://www.dynamicdrive.com/dynamici...iframessi2.htm


    Hello DynamicDrive people.
    I am using Iframe SSI script II for dynamic height adjustment, but I am facing the problem how to adjust heights of nested iframes.


    Here is my situation:

    I have
    page1.html
    |
    - mainFrame
    |
    - page2.html
    |
    - navigation bar with two options A and B
    - subFrame
    |
    - pageA.html and pageB.html which are loaded when option A or B
    is chosen.

    ... and put in your script "mainFrame" and "subFrame" in iframeIds array.

    pageA is much longer than pageB, so if I choose option B after pageA is loaded in "subFrame", I get empty space below "subFrame" because "mainFrame" has not been resized.
    More important if I choose option A after pageB is loaded, pageA is trimmed, again becuse "mainFrame" has not been resized.

    So the question is, how could I resize "mainFrame" too?
    I tried almost everything (different events), but I do not have a clue how to resize mainFrame, depending on document height loaded in "subFrame".
    Can this script be modified in a way that handled the case of nested iframes?

    Thanx a lot for your response
    Kind regards
    Milan
    Last edited by clandestino_bgd; 11-07-2005 at 05:28 PM. Reason: following the requested template

  2. #2
    Join Date
    Nov 2005
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Any hint

    Hi all,
    I see, nobody answers on my post.
    I am really asking not for out-of-box solution, but only forconfirmation if it is feasable with existing script. And if yes, small hint, how it could be done.

    Kind regards and thank you
    Milan

  3. #3
    Join Date
    Nov 2005
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Really desperate

    Hi people,

    Am I asking something stupid or what?
    Any answer would be highly appreciated?

  4. #4
    Join Date
    Nov 2005
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default :(




Bookmarks

Posting Permissions

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