Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    May 2003
    Posts
    92
    Member #
    1526
    Ok, now ive got my cell set up. the one referenced in TOPIC:'autostretch height?'. I want to have a iframe, or something similar that can show code from another file, and can have a set ID. My buttons change the iframe id so the page doesn't have to reload images when buttons are clicked. Do you know of something that stretches vertically, depending on what you define as the source, and you can define an id for?
    If there is no god, then who pops up the next Kleenex?

  2.  

  3. #2
    Member
    Join Date
    May 2003
    Posts
    92
    Member #
    1526
    nevermind. i got it. Please delete this topic
    If there is no god, then who pops up the next Kleenex?

  4. #3
    WDF Staff smoseley's Avatar
    Join Date
    Mar 2003
    Location
    Boston, MA
    Posts
    9,729
    Member #
    819
    Liked
    205 times
    We don't delete topics. iframes will scale to 100% in IE, but not in NS. Here's a nifty script I wrote that does iframe scaling to 100% in NS and IE, though:
    Code:
    <html>
    <head>
        <script language="javascript">
            //Resizes the iframes in the window to the appropriate height
            function redraw() {
                var height = document.all ? document.body.clientHeight : 
                    window.innerHeight;
                height = height - 132;
                document.getElementById('fraMain').height = height;
            }
        </script>
    </head>
    <body onload="redraw()" onresize="redraw()" scroll="no">
        <iframe
            id="fraMain"
            name="fraMain"
            src="blank.asp"
            width="100%"
            height="700"
            frameborder="0"
            scrolling="auto"
            marginwidth="0"
            marginheight="0">
        </iframe>
    </body>
    </html>

  5. #4
    Member
    Join Date
    May 2003
    Posts
    92
    Member #
    1526
    hmm, thats not really what im trying to do. I wan't to make it so that the whole page scrolls depending on what size the soucre of said iframe is, instead of the iframe scrolling inside the page. Check out the page im making to see what i mean. I know im not very good at writing the content, so any design or otherwise tips are greatly appreciated.

    Notice that the content page scrolls the iframe because the source file is to big. Is there a way to stretch the Iframe and the whole page to acomadate the source of the iframe? I'm running on brinkster, so if i need to make something in asp i can.

    Thanks for the help
    If there is no god, then who pops up the next Kleenex?

  6. #5
    Junior Member
    Join Date
    May 2007
    Posts
    1
    Member #
    15189
    I'm having difficulty implemententing autostretch into my iframe at http://www.ccpac.com. I need the frame to resize based on the contents of the page that has been loaded. I've found several scripts for doing this, but I'm doing something wrong because I've not yet been successful.
    Can anyone help me?


Remove Ads

Posting Permissions

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

Search tags for this page

iframe ie stretch

Click on a term to search for related topics.
All times are GMT -6. The time now is 10:51 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2020 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com