---
title: "几种打开窗体的方式"
author: "devilhand"
date: "2010-06-12T00:01:08Z"
tags: []
categories: ["Web前端"]
slug: "untitled"
draft: false
lastmod: "2010-06-12T00:01:08Z"
id: 690175
url: "https://devilhand.iteye.com/blog/690175"
---

//在本页的窗体打开网页

window.location=''

//在本页的窗体打开网页(框架中使用，打开一个占满浏览器的网页)

parent.location=''

//在另外的窗体打开网页

window.open('')

//关闭窗体

window.close()