Results 1 to 3 of 3

Thread: iframes

  1. #1

    Thread Starter
    Hyperactive Member GingerNut's Avatar
    Join Date
    May 2002
    Location
    Are those my feet?
    Posts
    372

    iframes

    Can I make an iframe the same height as the content, so the scroll bar isn't needed?
    How is it one careless match can start a forest fire, but it takes a whole box to start a campfire?

    Global Freelancers | Web Traffic Analyser

  2. #2
    <?="Moderator"?> john tindell's Avatar
    Join Date
    Jan 2002
    Location
    Brighton, UK
    Posts
    1,099
    have u tried?

    Code:
    <iframe src="file.htm" style="width:100px;height:75px;"></iframe>
    If you dont know the size of the page you could try looking into window.opener. But im not great at javascript i think Acidic is ask him about it.

    Hope it helps, a little?

  3. #3

    Thread Starter
    Hyperactive Member GingerNut's Avatar
    Join Date
    May 2002
    Location
    Are those my feet?
    Posts
    372
    I was after a dynamic thing because the size of the iframe would depend on the content which changes quite a lot.

    I found a javascript from dynamic drive though, seems to do the trick.
    How is it one careless match can start a forest fire, but it takes a whole box to start a campfire?

    Global Freelancers | Web Traffic Analyser

Posting Permissions

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



Click Here to Expand Forum to Full Width