> For the complete documentation index, see [llms.txt](https://docs.eximee.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.eximee.com/budowanie-aplikacji/interfejs-uzytkownika/formularze/biblioteka-komponentow-bazowych/4-tresci/tresc-textcontent/przyciski-nawigacyjne-pagenavigationlink-w-tresci-formatowanej.md).

# Przyciski nawigacyjne (PageNavigationLink) w Treści formatowanej

{% hint style="info" %}
Dostępność funkcjonalności zależy od licencji i może nie być dostępna we wszystkich wdrożeniach.
{% endhint %}

Przykład - kliknięcie w przycisk **Zmień** kieruje do wcześniej zdefiniowanej strony.

![Ilustracja 1. Przykład treści z przyciskiem nawigacyjnym](https://content.gitbook.com/content/2CssJT0zIo4SJQLbSZ6l/blobs/wkFSmT3dYblDur2wD4ME/28k_files/zmien.png)

* Aby stworzyć taki link potrzebujemy wrzucić do **Treści** (TextContentu) diva z odpowiednią klasą i atrybutem:
  * klasa **page-link**
  * atrybut **mid** z wartością mida strony na którą chcemy przekierować
* Przykładowo wyglądałoby to w następujący sposób:

{% code title="Przykładowy element linku" %}

```html
<div class="page-link" mid="Page1">Zmień</div>
```

{% endcode %}

* Powyższy link przekieruje do Page1, jeżeli taka istnieje.

## Kod HTML tworzący Treść (TextContent) z powyższego screena

{% code title="Przykładowy HTML" expandable="true" %}

```html
<div style="background-color: #eeeeee; padding: 20px; position: relative;">
  <div>
    <span style="font-size: 1.17em; font-weight: bold;">Wybrana karta</span>
  </div>
  <div class="page-link" mid="Page1" style="position: absolute; padding: 20px; right: 0; top: 0; color: #003574">
    Zmień >
  </div>
  <div>
    <img src="form/biz/spotify-gift-card.png" height="83" width="127">
  </div>
  <div>
    <p>Rodzaj karty<br>
      <span style="font-weight: bold">Spotify</span>
    </p>
  </div>
  <div>
    <p>Cena<br>
      <span style="font-weight: bold">200,00 PLN</span>
    </p>
  </div>
</div>
```

{% endcode %}

{% hint style="info" %}
Wniosek demo: demoSidebar
{% endhint %}


---

# 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.eximee.com/budowanie-aplikacji/interfejs-uzytkownika/formularze/biblioteka-komponentow-bazowych/4-tresci/tresc-textcontent/przyciski-nawigacyjne-pagenavigationlink-w-tresci-formatowanej.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.
