Yes thanks that will do it!
function flick(frameId,bookmarkId){
var gip=document.getElementById(frameId)
var x=gip.contentWindow.document.getElementById(bookma rkId).offsetLeft
var y=gip.contentWindow.document.getElementById(bookma rkId).offsetTop
gip.contentWindow.scrollTo(x,y)
}
"BootNic" <Bo*****@bounce.prodigy.net> wrote in message
news:Tt*****************@newssvr33.news.prodigy.co m...
"Adrian" <Ad****@nospamhotmail.com.uk> wrote:
news:dk**********@nwrdmz01.dmz.ncs.ea.ibs-infra.bt.com....
Hi All,
I load an Iframe within html page contained within another page and
from the hosting page I would like to scroll to a given bookmark
within the page loaded within the iframe without causing it to
reload.
How do I do this?
I have tried:
function navIContent(bm)
{
IContent.src=bm
return
}
called by :
onclick='navIContent("../content.htm#test")'
but it doesn't seem to work!
Are you wanting to do something like this:
http://i.1asphost.com/BootNic/ifb.asp
--
BootNic Wednesday, November 02, 2005 1:22 PM
Every time I close the door on reality it comes in through the windows.
*Jennifer Unlimited*