Results 1 to 7 of 7

Thread: iframe?

  1. #1
    Join Date
    Feb 2008
    Posts
    25
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default iframe?

    is there a way for an iframe to take up the whole screen?

  2. #2
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    Well, you could just use a frame if you want the whole screen taken over.
    Jeremy | jfein.net

  3. #3
    Join Date
    Sep 2007
    Location
    The Netherlands
    Posts
    1,881
    Thanks
    49
    Thanked 266 Times in 258 Posts
    Blog Entries
    56

    Default

    Quote Originally Posted by Nailgunpro View Post
    is there a way for an iframe to take up the whole screen?
    You mean this(?):
    Code:
    <iframe name="bla" id="bla" src="bla.html" style="position:absolute; left:0px; top:0px; border:0px;width:100%; height:100%"></iframe>
    Arie Molendijk

  4. #4
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    Why would you even need an iframe? Just use a frame.
    Jeremy | jfein.net

  5. #5
    Join Date
    Sep 2007
    Location
    The Netherlands
    Posts
    1,881
    Thanks
    49
    Thanked 266 Times in 258 Posts
    Blog Entries
    56

    Default

    Quote Originally Posted by Nile View Post
    Why would you even need an iframe? Just use a frame.
    It all depends on what Nailgunpro wants. Note that framesets do have all sorts of disadvantages, like an incorrect URL in the address bar, bookmarking problems etc. As for me, I would prefer <object></object> to <iframe></iframe> and <frameset></frameset>
    --------
    Arie M.

  6. #6
    Join Date
    Sep 2005
    Location
    India
    Posts
    1,627
    Thanks
    6
    Thanked 107 Times in 107 Posts

    Default

    You can't set a 100% height for your iframe that simply. You need to use JavaScript for adjusting the height of the iframe based on the height of the document it loads.

  7. #7
    Join Date
    Sep 2005
    Location
    India
    Posts
    1,627
    Thanks
    6
    Thanked 107 Times in 107 Posts

    Default

    Quote Originally Posted by Nile View Post
    Why would you even need an iframe? Just use a frame.
    I don't think there is much advantage in using either of them at the moment. But there are situation in which we have to use either one of them.

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
  •