window.parent.frames[i].location = xxx;
一般的i是这样的顺序,左侧菜单是0,左侧点击main页面最大最小化是1,top是2,main是3
如
头部菜单 2
左侧菜单 0 最小化最大化菜单 1 Main主页面 3