frame-1.js

来自「这是《JavaScript学习源代码》一书的源代码」· JavaScript 代码 · 共 8 行

JS
8
字号
// NOTE: to try this example opern the file named "frames.html" in a web browser

// function to load new documents into frames 2 and 3
function next()
{
  parent.frames.Page.window.location = "nextpage.html";
  parent.frames.Banner.window.location = "nextbanner.html";
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?