---
title: "锚点 HTML"
author: "rcm5433"
date: "2014-06-26T10:49:47Z"
tags: []
categories: ["Web前端"]
slug: "html"
draft: false
lastmod: "2014-06-26T10:49:47Z"
id: 2018272
url: "https://rcm5433.iteye.com/blog/2018272"
---

```
	//document.documentElement.scrollTop：垂直方向
     //document.documentElement.scrollLeft：水平方向
```

 

```
window.location.href = "../confirmation/teamInfo_modifyView.do?teamId=${(sysConfTeamInf.teamId)!}&lookType=${(lookType)!}&pageType=${(pageType)!}&topNum="+document.documentElement.scrollTop;

```

 

锚点