# 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](/files/d6f691f56debf4615f76833cdfc904a8871002f7)

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