www.webdeveloper.com
Results 1 to 11 of 11

Thread: How to make iframe?

  1. #1
    Join Date
    Apr 2004
    Posts
    5

    How to make iframe?

    anyone knows what is the code? The content inside the frame must be auto resize , no scroll bar..

  2. #2
    Join Date
    Aug 2003
    Posts
    1,576
    can't be done, use something other than an iframe (SSI, to narrow your search down)

  3. #3
    Join Date
    Nov 2002
    Location
    Auburn, AL
    Posts
    9,224
    An iframe cannot stretch with its content. Use a server side include as sam said. I frames are designed to scroll, not stretch, and if you turn scrolling off then content will just be hidden.

  4. #4
    Join Date
    Nov 2003
    Location
    Jerryville, Tejas
    Posts
    11,715
    The technique to do what you describe uses a hidden iframe, Javascript and the DOM to transfer content loaded into the iframe into a normal div on the page. Netscape called it "Inner Browsing" and there's an article about it on their devedge site. I've made extensive use of it here if you want to see examples.

  5. #5
    Join Date
    Apr 2004
    Posts
    5
    I have viewd other people site(view source), notice that they use simple html to do it.. IS there any site that has these codes??

  6. #6
    Join Date
    Jan 2004
    Posts
    10
    I think you can use an ilayer but im not sure how to use it proparly yet.

    SFTR!!!

  7. #7
    Join Date
    Aug 2003
    Location
    In my house
    Posts
    4,004
    You might wanna check out this page.

    As for ilayer... I believe that's an NN proprietary, out-dated tag.
    Thousand different paths
    So many sterile ends
    I chose the Devil's path

    Never shall the sun kiss my face
    And caress me with it's burning light
    For I dwell in the shadows
    And sleep side by side with death

  8. #8
    Join Date
    Nov 2002
    Location
    Auburn, AL
    Posts
    9,224
    an Ilayer would do nothing for you anyway, it does not use any content from another file and it then defeats the purpose, you might as well drop it in a div or some other block element. It was not NN proprietary, It was supported by ie, so I do not know whos proprietary it was... but it was proprietary by someone, maybe NN & IE... I dono.

  9. #9
    <iframe width="2000" height="100000" src="page.html">Iframe</iframe>

    tested and no scrollbar!
    - God

  10. #10
    Join Date
    Nov 2002
    Location
    Auburn, AL
    Posts
    9,224
    Yes there is a scroll bar! Its just on the page instead of the frame

  11. #11
    Join Date
    Aug 2003
    Location
    In my house
    Posts
    4,004
    Originally posted by PeOfEo
    but it was proprietary by someone, maybe NN & IE... I dono.
    Lol. I didn't know for sure, so I just took a stab at it.
    Thousand different paths
    So many sterile ends
    I chose the Devil's path

    Never shall the sun kiss my face
    And caress me with it's burning light
    For I dwell in the shadows
    And sleep side by side with death

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles