Window Relationships and Frames
2024-09-05 07:51:15
If a page contains frames, each frame has its own window object and is stored in the frames collection. Within the frames collection, the window objects are indexed both by number and by the name of the frame.
The top object always points to the very top(outermost) frame, which is the browser window itself. Any code written within a frame that references the window object is pointing to that frame's unique instance rather than the topmost one.
Another window object is called parent. The parent object always points to the current frame's immediate parent frame.
最新文章
- 用H5中的Canvas等技术制作海报
- 【小白的CFD之旅】14 实例反思
- 实现Unicode和汉字的相互转换
- 读jQuery源码 - Callbacks
- Android 图片的平移和镜面和倒影效果
- 【POJ 3321】Apple Tree
- git 初始化
- JAVA 理解封装的概念,private私有的,public公有的
- 开元硬件平台 Arduino
- ANDROID_MARS学习笔记_S01原始版_008_Looper\Bundle异步消息处理
- ☀【window.self / window.parent / window.top】
- Sematic库系列一
- VS2013装扩展RazorGenerator
- threejs深入纹理,立体场景cubeResolution(四)
- 用while实现阶乘
- stm32 延时函数 delay_ms 范围
- linux命令(32):cat
- Android-PullToRefresh(一)
- OSG学习:自动对齐节点示例
- [USACO18FEB]Taming the Herd