View Full Version : Iframes 'issue'.

12-29-2006, 12:41 PM
I'd really like a script that allows me to open a certain area of a page inside an iframe. This would be doable with anchors, but as the pages aren't my own I can't control what to show.

Anyone that could help? :)

12-29-2006, 01:03 PM
This could help:

<iframe src="plageyouwishtoshowintheframe.html" name"content" height="20" width="20" scrollable="yes" border="0">

12-29-2006, 01:06 PM
that lets me show an other page on my page yes, but I need to show a certain area of the destination page inside the Iframe.

So basically, I'd need a script that scrolls the destination page to wherever I want it automaticly.

12-29-2006, 07:16 PM
You need the javascript function, window.scroll(x, y).

For example:

myIframe.scroll(0, 150);

See if that gets you going. Otherwise hit me back for more of an explanation.

12-29-2006, 10:21 PM
Sounds like what I need :D

I'll give it a go, and come back if I need further guidance :)


12-29-2006, 11:08 PM
If this is an external page, as you say, you will have problems. See: