0%
Uix Kit

Modal Dialog

A modal dialog is a pop-window that forces the user to interact with it before they can go back to using the parent application.

Use the following HTML code to fire it.

<a href="javascript:void(0)" data-modal-id="modal-open-3" data-modal-close-onlybtn="false" data-modal-height="200px" data-modal-width="300px" data-modal-lightbox="true" data-modal-close-time="false">Normal</a>
<template id="modal-open-1">
    <div class="uix-modal-box" role="dialog" tabindex="-1" aria-hidden="true">
    	<button type="button" class="uix-modal-box__close" data-modal-close-trigger="true"></button>
    	<div class="uix-modal-box__content" role="document">
            <div class="uix-modal-box__head">
                <!-- code here -->
            </div>
            <div class="uix-modal-box__body">
                <div role="note">
                    <!-- ////////  content  begin //////// -->
        					<h2>Holy Crap!!!</h2>
        					<p>p.s. Sorry for calling you a dingus earlier.</p><p>p.s. Sorry for calling you a dingus earlier.</p><p>p.s. Sorry for calling you a dingus earlier.</p>
                    <!-- ////////  content  end //////// -->
                </div>      
    	</div>
        </div>
    </div>
</template>

Modal Dialog (Video)

Use the following HTML code to fire video.

<a href="javascript:void(0);" data-video-win="true" data-video-poster="assets/videos/1920x1080/demo.jpg" data-video-mp4="assets/videos/1920x1080/demo.mp4" data-video-webm="" data-video-ogv="" data-modal-id="web-modal-1" data-modal-close-onlybtn="false">Click Here to Open Video</a>

<a href="javascript:void(0)" data-video-win="true" data-video-poster="assets/videos/1920x1080/demo.jpg" data-video-mp4="" data-video-webm="" data-video-ogv="" data-modal-id="web-modal-2" data-modal-close-onlybtn="false" data-modal-lightbox="true" data-modal-close-time="false"><span data-video-iframe="true"><iframe width="560" height="315" src="https://www.youtube.com/embed/******" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe></span>Video</a>