会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
代码改变世界
Cnblogs
Dashboard
Login
Home
Contact
Gallery
Subscribe
RSS
马尔代夫_珍
js如何判断当前页面处于最顶级窗体
2018-12-11 20:29
马尔代夫_珍
阅读(
509
) 评论(
0
)
收藏
举报
if
(top== self){
//在顶级窗口
}
else
{
//不在
}
https://zhidao.baidu.com/question/308150730026502444.html
刷新页面
返回顶部
About