转到父框架上的特定ID [英] go to a specific id on parent frame
本文介绍了转到父框架上的特定ID的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
而不是:window.parent.frames [" main"]。location.reload;
我想转到父框架的顶部/底部,但是如何?
没有重装。
Instead of: window.parent.frames["main"].location.reload;
I would like to go to the top / bottom of the parent frame, but how?
with no reload.
推荐答案
7月29日下午12:54,Rasmussen<写道:
On Jul 29, 12:54 pm, Rasmussen <wrote:
而不是:window.parent.frames [" main"]。location.reload;
我想要转到父框架的顶部/底部,但如何?
没有重新加载。
Instead of: window.parent.frames["main"].location.reload;
I would like to go to the top / bottom of the parent frame, but how?
with no reload.
你的意思是滚动到?
彼得
Do you mean "scroll to"?
Peter
On Sun,2007年7月29日20:24:14 -0000,Peter Michaux
< pe ********** @ gmail.comwrote:
On Sun, 29 Jul 2007 20:24:14 -0000, Peter Michaux
<pe**********@gmail.comwrote:
你的意思是滚动到?
Do you mean "scroll to"?
是。
Yes.
On Sun,2007年7月29日22:32:53 +0200 ,Rasmussen<写道:
On Sun, 29 Jul 2007 22:32:53 +0200, Rasmussen <wrote:
你的意思是滚动到?
Do you mean "scroll to"?
是的。
Yes.
我发现了这个:
function scrUp(){
window.parent。 frame(main)。scrollTo(0,0)
}
但我有:< base target =" main">
它不起作用。
I found out this:
function scrUp() {
window.parent.frames("main").scrollTo(0,0)
}
But I have: <base target = "main">
And it does not work with that.
这篇关于转到父框架上的特定ID的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文