# Page Transitions

Zero One has a custom page transitions JavaScript library, which can be turned on in **Site Settings -> Page Transitions (sidebar options)**.&#x20;

It generally works pretty straightforward, rarely have conflicts if you add additional scripts to Zero One, but if you are adding an HTML toggle or clickable element that is not a URL, you should exclude those links from the transition process.

#### Excluding links

Links like modals, toggles, lightboxes, etc. Mostly JavaScript links that behave like toggles should be excluded from the transition process.&#x20;

**You do that by adding `[data-no-transition]` attribute to the link.** For example:

```html
// Modal example from Zero One
<div><a href="#modal-full" data-no-transition uk-search-icon uk-toggle></a></div>
```

We did that everywhere in Zero One where it needs to be added, but when you are extending Zero One and adding your additional templates and code, you should add **`[data-no-transition]` attribute to the link** whenever you want that link to be excluded from the transition process.


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://www.one.thezero.club/guide/theme-extending/page-transitions.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
