<?xml version="1.0" encoding="UTF-8"?>
<item xmlns="http://omeka.org/schemas/omeka-xml/v5" itemId="20" public="1" featured="0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://omeka.org/schemas/omeka-xml/v5 http://omeka.org/schemas/omeka-xml/v5/omeka-xml-5-0.xsd" uri="https://archiwum-galeriafoksal.pl/items/show/20?output=omeka-xml" accessDate="2026-07-11T13:03:05+00:00">
  <fileContainer>
    <file fileId="27">
      <src>https://archiwum-galeriafoksal.pl/files/original/a68ff892c9a6119181fc3e5dcb7c6533.jpg</src>
      <authentication>9bd6803b926df1b896f8fe44650c197a</authentication>
    </file>
  </fileContainer>
  <collection collectionId="1">
    <elementSetContainer>
      <elementSet elementSetId="1">
        <name>Dublin Core</name>
        <description>The Dublin Core metadata element set is common to all Omeka records, including items, files, and collections. For more information see, http://dublincore.org/documents/dces/.</description>
        <elementContainer>
          <element elementId="50">
            <name>Title</name>
            <description>A name given to the resource</description>
            <elementTextContainer>
              <elementText elementTextId="18">
                <text>Pierwsza wystawa - Zbigniew Gostomski, Edward Krasiński, Roman Owidzki, Henryk Stażewski, Jan Ziemski, 01.04.1966</text>
              </elementText>
            </elementTextContainer>
          </element>
          <element elementId="39">
            <name>Creator</name>
            <description>An entity primarily responsible for making the resource</description>
            <elementTextContainer>
              <elementText elementTextId="2691">
                <text>Zbigniew Gostomski, Edward Krasiński, Roman Owidzki, Henryk Stażewski, Jan Ziemski</text>
              </elementText>
            </elementTextContainer>
          </element>
          <element elementId="40">
            <name>Date</name>
            <description>A point or period of time associated with an event in the lifecycle of the resource</description>
            <elementTextContainer>
              <elementText elementTextId="2692">
                <text>01.04.1966</text>
              </elementText>
            </elementTextContainer>
          </element>
        </elementContainer>
      </elementSet>
    </elementSetContainer>
  </collection>
  <itemType itemTypeId="18">
    <name>Katalog</name>
    <description>Katalog wystawy</description>
  </itemType>
</item>
<script>
jQuery(document).ready(function($) {
    // Sprawdzamy ścieżkę URL (np. /items/browse czy /kontakt)
    var currentPath = window.location.pathname;

    // WARUNEK: Jeśli ścieżka to "/" lub pusta, tylko wtedy odpalamy menu
    if (currentPath === "/" || currentPath === "" || currentPath.indexOf("index.php") !== -1) {
        
        // 1. Dynamicznie wstrzykujemy style blokujące krzyżyk i otwierające menu
        $("<style id='foksal-menu-styles'>")
            .prop("type", "text/css")
            .html("#nav-modal { display: block !important; opacity: 1 !important; visibility: visible !important; } #nav-modal .close-button, #nav-toggle.active { display: none !important; }")
            .appendTo("head");

        // 2. Dodajemy klasę open do struktury
        $("#nav-modal").addClass("open");

        // 3. Obsługa bezpiecznego zamykania przy kliknięciu
        $("#nav-modal .navigation a").on("click", function(e) {
            var url = $(this).attr("href");
            
            if (url && url !== "#" && !url.startsWith("#")) {
                e.preventDefault();

                // Natychmiast usuwamy style i ukrywamy menu przed przejściem dalej
                $("#foksal-menu-styles").remove();
                $("#nav-modal").css({
                    "display": "none",
                    "opacity": "0",
                    "visibility": "hidden"
                }).removeClass("open");
                
                $("#nav-toggle").removeClass("active").attr("aria-expanded", "false");

                setTimeout(function() {
                    window.location.href = url;
                }, 10);
            }
        });
    }
});
</script>