Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2

Thread: iFrame Question

  1. #1
    New Coder
    Join Date
    Aug 2006
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    iFrame Question

    So i want to embed a document in an document. I know how to do it, but I just want the frame to show a certain "area of the document". By default it shows the top left hand corner...but i want it to be a certain area.

    Is this possible?

    Thanks!

  • #2
    Senior Coder koyama's Avatar
    Join Date
    Dec 2006
    Location
    Copenhagen, Denmark
    Posts
    1,246
    Thanks
    1
    Thanked 5 Times in 5 Posts
    Can you not edit the code for the framed page to suit your needs?

    If not, an example by coothead comes to my mind where he shows how to clip an iframe by putting it in an absolutely positioned div: iFrame

    However, there may be problems e.g. if the page has to behave nicely under text zoom. Maybe you'll instead need server-side technology to grab the relevant portions of the framed document.


  •  

    Posting Permissions

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