码迷,mamicode.com
首页 > Windows程序 > 详细

js如何判断当前页面处于最顶级窗体

时间:2018-12-11 20:48:10      阅读:240      评论:0      收藏:0      [点我收藏+]

标签:ida   窗体   code   com   self   html   lin   nts   htm   

if(top== self){

//在顶级窗口
}else{
//不在
}
 
https://zhidao.baidu.com/question/308150730026502444.html

js如何判断当前页面处于最顶级窗体

标签:ida   窗体   code   com   self   html   lin   nts   htm   

原文地址:https://www.cnblogs.com/Ly426/p/10104980.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!