假设框架名称为left,right<input type="button" value="test" onclick="parent.right.right中函数或者变量">parent.right就相当于right的window变量