...

View Full Version : iFrame Question



Videoking
07-06-2007, 01:12 AM
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!

koyama
07-08-2007, 03:58 PM
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: http://www.codingforums.com/showthread.php?t=111665

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.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum