> For the complete documentation index, see [llms.txt](https://docs.tenten.co/docs-webflow/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tenten.co/docs-webflow/webflow-101/7-dong-hua/jian-li-gun-dong-de-jin-du-zhi-shi-qi.md).

# 建立滾動的進度指示器

創建水平的進度指示器，隨著訪問者向下滾動頁面而縮放。

1. 設計進度條
2. 設置滾動觸發器
3. 設置滾動動畫
4. 覆蓋變換原點

## 設計進度條

1. 創建一個Div塊
2. 命名
3. 設置背景顏色
4. 把它放在想要的位置
5. 設定100%的寬度
6. 設定高度（例如，10像素）
7. 把它的位置固定在窗口的左上方
8. 設定足夠高的Z-index值，讓它總是在上層

## 設置滾動觸發器

在交互面板的頁面觸發器選單中，選擇"While page is scrolling(當頁面滾動的時候)"

## 設置滾動動畫

1. 從交互面板的"On scroll"選單中，選擇"Play scroll animation(播放滾動動畫)"
2. 在滾動動畫旁邊點擊加號
3. 給它命名（例如"滾動進度"）
4. 確保元素被選中，然後點擊0%處的加號，從下拉選單中選擇"Scale縮放"
5. 在Scale下，將X軸的位置改為0
6. 點擊100%處的進度條，在Scale下將X軸位置改為1

## 覆蓋變換原點

1. 在風格面板上，向下滾動到**Effects**
2. 點擊2D和3D變換旁邊的**更多選項圖標**
3. 將原點設為左邊


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.tenten.co/docs-webflow/webflow-101/7-dong-hua/jian-li-gun-dong-de-jin-du-zhi-shi-qi.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
