Híreink

Modal

Create modal dialogs with different styles and transitions.

Usage

The modal component consists of an overlay, a dialog and a close button.

Class Description
.uk-modal Add this class to a <div> element to create the dialog container and an overlay that blanks out the page. It is important to add an id to indicate the element for toggling.
.uk-modal-dialog Add this class to a child <div> element to create the dialog box.
.uk-modal-close Add this class to an <a> or <button> element to create a close button within the dialog box. We recommend adding the .uk-close class from the Close component to give the button a proper styling, though you can also use text or an image.

You can use any element to toggle a modal dialog. An <a> element needs to be linked to the modal's id. To enable the necessary JavaScript, add the data-uk-modal attribute. If you are using another element, like a button, just add the data-uk-modal="{target:'#ID'}" attribute to target the modal's id.

Example

Open

Markup

<!-- This is an anchor toggling the modal -->
<a href="#my-id" data-uk-modal>...</a>

<!-- This is a button toggling the modal -->
<button class="uk-button" data-uk-modal="{target:'#my-id'}">...</button>

<!-- This is the modal -->
<div id="my-id" class="uk-modal">
    <div class="uk-modal-dialog">
        <a class="uk-modal-close uk-close"></a>
        ...
    </div>
</div>

JavaScript options

By default, the modal closes automatically when clicking on the modal overlay. To prevent this from happening, just add the data-uk-modal="{target:'#ID',bgclose:false}" attribute.

You can trigger a new modal inside the current modal. The default behaviour closes the first modal when a second one opens. You can prevent this from happening by adding the data-uk-modal="{target:'#ID',modal:false}" attribute.


You can create a header and footer for your modal, which are seperated from the content. Just add the .uk-modal-header or the .uk-modal-footer class to a <div> element inside the modal dialog.

Example

Headline

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Markup

<div class="uk-modal">
    <div class="uk-modal-dialog">
        <div class="uk-modal-header">...</div>
        ...
        <div class="uk-modal-footer">...</div>
    </div>
</div>

You can also create a caption that will be placed outside the modal. Just add the .uk-modal-caption class to a <div> element inside the modal dialog.

Example

Headline

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Caption

Markup

<div class="uk-modal">
    <div class="uk-modal-dialog">
        <div class="uk-modal-caption">...</div>
    </div>
</div>

To create a lightbox-like modal dialog, just add the .uk-modal-dialog-lightbox class. This can be useful, if you want to use the modal as a lightbox for your images. The close button will adjust its position automatically to the dialog.

Example

Markup

<!-- This is the anchor toggling the modal -->
<a href="#my-id" data-uk-modal>...</a>

<!-- This is the modal -->
<div id="my-id" class="uk-modal">
    <div class="uk-modal-dialog uk-modal-dialog-lightbox">
        <a href="" class="uk-modal-close uk-close uk-close-alt"></a>
        <img src="" alt="">
    </div>
</div>

NOTE When creating a close button within the lightbox modifier, we also recommend adding the .uk-close-alt class from the Close component to the close button to give your button a styling that fits the lightbox modal.


Modal blank

To reset all styling, like padding and margin, add the .uk-modal-dialog-blank class. This can be useful, if you want to create a fullscreen modal. In that case you also need to add the .uk-height-viewport class from the Utility component so that the modal extends to full viewport height.

Example

Open

<!-- This is the anchor toggling the modal -->
<a href="#my-id" data-uk-modal>...</a>

<!-- This is the modal -->
<div id="my-id" class="uk-modal">
    <div class="uk-modal-dialog uk-modal-dialog-blank">...</div>
</div>

To place a spinning icon inside your modal, add the .uk-modal-spinner class to a <div> element inside the modal dialog.

Example

Open

Markup

<div class="uk-modal">
    <div class="uk-modal-dialog">
        <div class="uk-modal-spinner">...</div>
    </div>
</div>

Center Modal

To vertically center the modal, add the {center:true} option to the data-attribute.

Example

Open

Markup

<a href="#my-id" data-uk-modal="{center:true}"></a>

Large dialog modifier

To apply the site's container width to the modal dialog, just add the .uk-modal-dialog-large class.

Example

Open

Markup

<div class="uk-modal-dialog uk-modal-dialog-large">...</div>

Overflow container in modal

You can also display the modal's content in a scrollable container. Just add the .uk-overflow-container class to a <div> element inside the modal dialog. The modal will automatically expand and fill the site's height.

Example

Open

Markup

<div class="uk-modal-dialog">
    <p>...</p>
    <div class="uk-overflow-container">...</div>
    <p>...</p>
</div>

Dialogs

The modal component also provides alternatives to the native dialogs: window.alert, window.confirm and window.prompt.

Example

UIkit.modal.alert("Attention!");

UIkit.modal.confirm("Are you sure?", function(){
    // will be executed on confirm.
}[, oncanel, options]);

UIkit.modal.prompt("Name:", value, function(newvalue){
    // will be executed on submit.
});

var modal = UIkit.modal.blockUI("Any content..."); // modal.hide() to unblock

JavaScript

You can handle modal dialogs via raw javascript.

Example

var modal = UIkit.modal(".modalSelector");

if ( modal.isActive() ) {
    modal.hide();
} else {
    modal.show();
}

Events

The modal component triggers an show.uk.modal event every time a modal is opened and hide.uk.modal when a modal is closed.

Example

$('.modalSelector').on({

    'show.uk.modal': function(){
        console.log("Modal is visible.");
    },

    'hide.uk.modal': function(){
        console.log("Element is not visible.");
    }
});
Name Parameter Description
show.uk.modal event On modal show
hide.uk.modal event On modal hide

JavaScript options

Option Possible value Default Description
keyboard boolean true Allows controls from keyboard (ESC to close)
bgclose boolean true Allow modal to close automatically when clicking on the modal overlay
minScrollHeight integer 150 Set the height for overflow container to start scrolling
center boolean false Vertically center the modal
modal boolean true Close currently opened modals on opening modal

   A 2023/2024-es tanévből hátralévő napok száma          

Friss hírek

Határtalanul

Határtalanul

Title Text

Error: Specified module position doesn't exist or is blank!
Error: Specified module position doesn't exist or is blank!
Error: Specified module position doesn't exist or is blank!

Napraforgó Alapítvány

Híreink

  • 2023 jan. 27

    Zeneiskolás siker

    Zeneiskolás siker A VII. Danubia Talents Nemzetközi Zenei Versenyen zeneiskolánk tanulója Kiss Eszter ismét óriási sikert ért el. A zongoristák között kategóriájában a II. helyezést nyerte el. Felkészítő tanára Rogl Béláné. Szívből gratulálunk ehhez a fantasztikus eredményhez. Nagyon büszkék vagyunk rájuk!
  • 2022 márc. 22

    Hirdetmény 2022 beiratkozás

    BEIRATKOZÁS A 2022/20223-AS TANÉVRE  
  • 2021 szept. 27

    Hunyadi-bál meghívó

    Tisztelt Szülők! Kedves Támogatók! Szeretnénk Önöket meghívni a Gyermekeinkért Hunyadi Tiszaújváros Alapítványa által október 15-én este megrendezésre kerülő Hunyadi-bálra. A bál bevételét a gyermekek számára szervezett szabadidős programokra szeretnénk fordítani. A részleteket az osztályfőnökök fogják ismertetni Önökkel. Kérjük, hogy részvételi szándékukat október 11-ig jelezzék az osztályfőnök felé! Azoknak a szülőknek, akik nem tudnak részt venni a rendezvényen, lehetőségük lesz támogatói jegyek vásárlására. Szívesen fogadjuk a szülők és az osztályok felől érkező tombolatárgyak felajánlását is. Bízunk benne, hogy minél többen megtisztelnek bennünket ezen a programon is, és egy jó hangulatú estét töltünk majd el együtt. A szervezők nevében tisztelettel: Victorné Kardos Erika            Markovicsné Szabó Enikő    kuratóriumi elnök                      intézményvezető
  • 2021 aug. 25
  • 2021 máj. 31

    Honvédelmi tábor 2021 tájékoztatás

    Tisztelt Szülők! Kedves Gyerekek! A 2021-es Honvédelmi tábor felhívásáról az alábbi linken tájékozódhatnak/tájékozódhattok: Honvédelmi tábor 2021  
  • 2021 márc. 07

    Mindenki táncolt a Hunyadiban!

      Jó hangulat volt a Hunyadiban a kockás&cowboy napon, mindenki táncolt! ÚJ! https://www.youtube.com/watch?v=Uz40xa1lcAk  
  • 2021 márc. 03

    Hívogató

    Kedves Érdeklődők! Az Iskolakóstolgató 2020/2021 menüsávban egy kisfilmet nézhetnek meg iskolai programjainkról a "Vár a Hunyadi!" legördülő menüben. (A YouTube videót elindítva, a jobb alsó sarokban lévő négyzetre kattintva teljes képernyőre válthatnak.) Kérjük szánjanak rá néhány percet!
  • 2021 febr. 19

    Iskolakóstolgató programjaink 2020/2021

    "ISKOLAKÓSTOLGATÓ" Kérjük, kísérjék figyelemmel programjainkat az Iskolakóstolgató 2020/2021 fül alatt!
  • 2019 dec. 04

    EUROEXAM nyelvvizsga

    EUROEXAM próbanyelvvizsga Intézményünk próbanyelvvizsgát szervezett a 5-8. évfolyamos emelt szintű angol nyelvet tanuló diákoknak, melyre angoltanáraik készítették fel őket. Sok sikert kívánunk! A nyelvvizsgára az alábbi feliratra kattintva tudtok regisztrálni:  
  • 2019 okt. 20

    Országos Diákolimpia

    Október 19-én iskolánk távolugró csapata a kiváló 3. helyezést érte el az Országos Diákolimpia atlétikai ügyességi csapatbajnokságán. A csapat tagjai: Karikó Zsolt, Urbán Ádám, Fenyves Tamás, Lindi Márton 8.a, Halas Erik 6.a. Felkészítők: Ujlaky Ildikó testnevelő és Jakab István edző Büszkék vagyunk rájuk!
  • 2019 ápr. 02

    Tehetségpont

        Akkreditált Tehetségpont lett a Hunyadi Iskolánk 2017-ben ismét elnyerte az Akkreditált  Tehetségpont címet. Ezzel jogosultak lettünk a nyilvános dokumentumainkon az Akkreditált  Tehetségpont cím használatára. Jelenleg a Kiváló Akkreditált Tehetségpont címre pályázunk.                                                                                                                                                                                                                              
  • 2019 márc. 07

    e-Ügyintézés

        Tisztelt Szülők! Tájékoztatjuk, hogy intézményünkben 2019.03.01-től bevezetésre került az elektronikus ügyintézési rendszer. Az ügyintézést a fenti logóra vagy az alábbi linkre kattintva érheti el: https://eugyintezes.e-kreta.hu/kezdolap A rendszer bevezetésével kapcsolatban készült tájékoztató anyagokat, cikkeket a http://kk.gov.hu/download/a/cd/52000/KAFFEE%20projekt%20t%C3%A1j%C3%A9koztat%C3%B3%20kiadv%C3%A1ny.pdf linken találja.    
  • 2018 szept. 08

    Pályaválasztási Kiállítás 2018. november 07.

    Pályaválasztási Kiállítás 2018.11.07.  
  • 2018 szept. 01

    Szülői tájékoztató 2022/2023

    Kedves Szülők! VÁLTOZÁS! A 2022-2023-as tanévről szóló tájékoztatót az alábbi linken érik el: Szülői tájékoztató a 2022-2023-as tanévről  
  • 2018 aug. 22

    Tanévnyitó

     Tisztelt Szülők! Kedves Gyerekek! Tanévnyitó ünnepségünk  2021.09.01-jén, az első tanítási napon 8 órakor kezdődik. Az ünneplő ruha viselése mindenkinek kötelező! A tanulók a tankönyveket is ezen a napon kapják meg. Reméljük, hogy jól kipihentétek magatokat, mi már nagyon várunk Benneteket! Az 1. osztályos tanulók szüleit is szeretettel várjuk!                                  2021-2022-es tanév osztály            terem              osztályfőnök,                                                 napközis tanító 1.a                   28-as               Viszóczki Anett                                                                     Pásztorné Bajusz Anikó 1.b                   24-es               Kovács Katalin                                                                      Kondrákné Bertók Éva 2.a                   16-os               Nagyné Tóth Zsófia                                                               Majoriné Veres Éva 2.b                   15-ös               Czár Judit Bianka                                                                  Ráczné Csordás Tímea 3.a                   25-ös               Tompa Klára Ilona                                                                 Pozsgai Tünde 3.b                   17-es               Volyánszki-Bán Viktória                                          Demblovszkyné Kapitány Zsuzsanna 4.a                   27-es               Mucza-Krisztin Judit                                                              Nagy Barnabásné 4.b                   18-as               Tóth Erika                                                                              Németh Erika 5.a                   rajz                  Csatóné Boros Zsuzsanna 5.b                   32-es               Szabóné Gubányi Éva 5.c                   31-es               Demblovszky Gábor Tamás 6.a                   ének                Magyarné Hadzsi Katalin 6.b                   38-as               Göncziné Kalóz Éva 7.a                   30-as               Komlósné Oláh Mária 7.b                   43-as               Balogh Tamás 7.c                   42-es               Birtalan Ágnes 8.a                   11-es               Drotárné Tamás Hermina 8.b                   33-as               Ducsainé Sivák Erika
  • 2018 jún. 08

    Idegennyelvi mérés 2018-as tanév

    Idegen nyelvi mérés eredményei 2018
  • 2016 júl. 25