比较鸡肋的东东,不过还是碰见了,记下来
iframe通过锚点控制父页面的位置,答案就是在iframe中的子页面中加上代码(top是父级页面的锚点名称):
<body οnlοad="parent.location.hash='top'">
来源于:http://www.lslnet.com/linux/dosc1/48/linux-327672.htm
比较鸡肋的东东,不过还是碰见了,记下来
iframe通过锚点控制父页面的位置,答案就是在iframe中的子页面中加上代码(top是父级页面的锚点名称):
<body οnlοad="parent.location.hash='top'">
来源于:http://www.lslnet.com/linux/dosc1/48/linux-327672.htm