modal 069
01 - Get Started
Note: This documentation Page is only for
modal 069
layout. It has no link with other layouts if you want to read their documentation then click
here
Required Files And Folders
Please follow the instructions:
- Please upload the
paradise
folder to your server. In this folder you will find the following sub folders containing all of the slides content:
- js
- css
- fonts
- images
- font-awesome
If your Paradise Slider is placed in a different folder, don’t forget to change the file paths in the upcoming examples!
- This step is very important, because product functionality depends on these files, so please first of all attach these files carefully. CSS in
<head>
section and JavaScript in <body>
section:
- <!-- Google Web Fonts -->
-
<link href="https://fonts.googleapis.com/css?family=Raleway:300,500" rel="stylesheet" type="text/css">
- <!-- Font Awesome -->
-
<link href="paradise/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
- <!-- Bootstrap Style Sheet -->
-
<link href="paradise/css/bootstrap.css" rel="stylesheet" media="all">
- <!-- Paradise Slider Main Style Sheet -->
-
<link href="paradise/css/min/paradise_slider_min.css" rel="stylesheet" media="all">
- <!-- jQuery -->
-
<script src="paradise/js/jquery.js"></script>
- <!-- Bootstrap JS -->
-
<script src="paradise/js/bootstrap.js"></script>
- <!-- Touch Swipe -->
-
<script src="paradise/js/touchSwipe.js"></script>
- <!-- Paradise Slider Main JS File -->
-
<script src="paradise/js/paradise_slider_min.js"></script>
Note: All these files are only for modal 069
layout
Or by using CDN
You can load Bootstrap and jQuery files with a single line of code from their official online sources. You don't even have to download or install anything!
- <!-- Bootstrap Style Sheet -->
-
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-WskhaSGFgHYWDcbwN70/dfYBj47jz9qbsMId/iRN3ewGhXQFZCSftd1LZCfmhktB" crossorigin="anonymous">
- <!-- jQuery -->
-
<script src="https://code.jquery.com/jquery-3.4.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
- <!-- Bootstrap JS -->
-
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js" integrity="sha384-smHYKdLADwkXOn1EmN1qk/HfnUcbVRZyYmZ4qpPea6sjB/pTJ0euyQp0Mk8ck+5T" crossorigin="anonymous"></script>
mega vs single
You can use Paradise Slider CSS in two ways:
- You can use only one Compressed or UnCompressed CSS file for all
Paradise Slider layouts
. You can find these files in the sub folder min
in main css folder.
- As well as concern to other method, you can use a single CSS file for a single
Paradise Slider layout
. You can find all of these files in the main CSS folder. In this case you can use only modal_069.css
file.
HTML Markup
After attaching all of the above files, insert following HTML to the <body>
section. This HTML defines your Modal and Slider content.
Trigger Part
The modal plug-in toggles your hidden content on demand. A modal always appears when we click on some content. In this example we have used an Image Gallery to Trigger the Modal. You can also use link, button etc to trigger the Modal.
<!--
In this example we have used a 4 columns Image Gallery to Trigger the Modal.
You can also use link, button etc to Trigger the Modal.
-->
<!-- Paradise Gallery For Modal -->
<div class="container-fluid ps_modal_069_gallery" role="dialog">
<div class="row"> <!-- .row -->
<div class="col-3"> <!-- 1st columns -->
<img src="paradise/images/modal_069_01_sm.jpg" alt="modal_069_01_sm" data-toggle="modal" data-target="#ps_modal_069">
</div>
<div class="col-3"> <!-- 2nd columns -->
<img src="paradise/images/modal_069_02_sm.jpg" alt="modal_069_02_sm" data-toggle="modal" data-target="#ps_modal_069">
</div>
<div class="col-3"> <!-- 3rd columns -->
<img src="paradise/images/modal_069_03_sm.jpg" alt="modal_069_03_sm" data-toggle="modal" data-target="#ps_modal_069">
</div>
<div class="col-3"> <!-- 4th columns -->
<img src="paradise/images/modal_069_04_sm.jpg" alt="modal_069_04_sm" data-toggle="modal" data-target="#ps_modal_069">
</div>
</div> <!-- /.row -->
</div> <!-- /.ps_modal_069_gallery -->
how it works?
To trigger the modal window, you need to use a button, link, image, heading etc.
Then include the two data-*
attributes:
data-toggle="modal"
opens the modal window
data-target="#myModal"
points to the id of the modal. In above example as you can see we have used data-target="#ps_modal_069"
. In this layout we have assigned #ps_modal_069
Id to the Modal.
The below examples are showing that how can we trigger modal by using the different methods besides Image Gallery
<a href="#" data-toggle="modal" data-target="#ps_modal_069">Open Modal</a> <!-- By Using Link -->
<img src="image.jpg" alt="" data-toggle="modal" data-target="#ps_modal_069"> <!-- By Using Image -->
<button type="button" data-toggle="modal" data-target="#ps_modal_069">Open Modal</button> <!-- By Using Button -->
Modal And Slider Part
This part contains the Complete Markup for Modal and Slider as you can see below. You can read complete tutorial about Bootstrap Modal Here
<!-- Paradise Modal -->
<div id="ps_modal_069" class="modal fade ps_modal_fadeInRight ps_modal_close_transp" role="dialog">
<div class="modal-dialog"> <!-- Modal Dialog -->
<div class="modal-content"> <!-- Modal Content -->
<a href="#" data-dismiss="modal"><span class="fa fa-times"></span></a> <!-- Close Button -->
<!-- Paradise Slider -->
<div id="video_slider_modal_069" class="carousel slide vid_slider_modal_thumb pauseVideo thumb_scroll_x
swipe_x ps_easeInOutQuad" data-ride="carousel" data-pause="hover" data-interval="false" data-duration="2000">
<!-- Indicators -->
<ol class="carousel-indicators">
<!-- 1st Indicator -->
<li data-target="#video_slider_modal_069" data-slide-to="0" class="active">
<!-- 1st Indicator Image -->
<img src="paradise/images/modal_069_01_sm.jpg" alt="modal_069_01_sm">
</li>
<!-- 2nd Indicator -->
<li data-target="#video_slider_modal_069" data-slide-to="1">
<!-- 2nd Indicator Image -->
<img src="paradise/images/modal_069_02_sm.jpg" alt="modal_069_02_sm">
</li>
<!-- 3rd Indicator -->
<li data-target="#video_slider_modal_069" data-slide-to="2">
<!-- 3rd Indicator Image -->
<img src="paradise/images/modal_069_03_sm.jpg" alt="modal_069_03_sm">
</li>
</ol>
<!-- Wrapper For Slides -->
<div class="carousel-inner" role="listbox">
<!-- First Slide -->
<div class="carousel-item active">
<!-- Video -->
<div class="vid_slider_modal_069">
<video controls>
<source src="paradise/images/modal_069_01.mp4" type="video/mp4">
Your browser does not support HTML5 video.
</video>
</div>
<!-- Left Slide Text Layer -->
<div class="vid_slider_modal_069_slide">
<h1>carousels & modals</h1>
<p>Lorem ipsum dolor sit amet consectetuer adipiscing elit nam nibh nunc
varius facilisis eros sed erat inql</p>
<a href="#">learn more</a>
</div> <!-- /Left Slide Text Layer -->
</div> <!-- /carousel-item -->
<!-- End of Slide -->
<!-- Second Slide -->
<div class="carousel-item">
<!-- Video -->
<div class="vid_slider_modal_069">
<video controls>
<source src="paradise/images/modal_069_02.mp4" type="video/mp4">
Your browser does not support HTML5 video.
</video>
</div>
<!-- Right Slide Text Layer -->
<div class="vid_slider_modal_069_slide vid_slider_modal_069_slide_right">
<h1>carousels & modals</h1>
<p>Lorem ipsum dolor sit amet consectetuer adipiscing elit nam nibh nunc
varius facilisis eros sed erat inql</p>
<a href="#">learn more</a>
</div> <!-- /Right Slide Text Layer -->
</div> <!-- /carousel-item -->
<!-- End of Slide -->
<!-- Third Slide -->
<div class="carousel-item">
<!-- Video -->
<div class="vid_slider_modal_069">
<video controls>
<source src="paradise/images/modal_069_03.mp4" type="video/mp4">
Your browser does not support HTML5 video.
</video>
</div>
<!-- Center Slide Text Layer -->
<div class="vid_slider_modal_069_slide vid_slider_modal_069_slide_center">
<h1>carousels & modals</h1>
<p>Lorem ipsum dolor sit amet consectetuer adipiscing elit nam nibh nunc
varius facilisis eros sed erat inql</p>
<a href="#">learn more</a>
</div> <!-- /Center Slide Text Layer -->
</div> <!-- /carousel-item -->
<!-- End of Slide -->
</div><!-- End of Wrapper For Slides -->
</div> <!--End Paradise Slider -->
</div> <!-- /Modal Content -->
</div> <!-- /Modal Dialog -->
</div> <!-- End Paradise Modal -->
Note: The Above example will create three slides. This HTML Structure is only for modal 069
layout
02 - Modal And Slider HTML Elements
Bootstrap Modal Contents
Bootstrap Modal
is the foundation of this Layout. The main structure of Bootstrap Modal
which is used in this layout is as following:
<!-- Paradise Modal -->
<div id="myModal" class="modal fade" role="dialog">
<div class="modal-dialog"> <!-- Modal Dialog -->
<div class="modal-content"> <!-- Modal Content -->
</div> <!-- /Modal Content -->
</div> <!-- /Modal Dialog -->
</div> <!-- End Paradise Modal -->
We have assigned our own id to the first <div>
that is ps_modal_069
(ParadiseSlider_Modal_069). If you are using more than one modal on one page then this Id should be unique and different from each other Ids of the modals. You can also consult the following link about Bootstrap Modal:
Bootstrap Carousel Contents
Bootstrap Carousel
is the foundation of this slider. The main structure of Bootstrap Carousel
which is used in this layout is as following:
<div id="myCarousel" class="carousel slide" data-ride="carousel" data-pause="hover" data-interval="15000">
<!-- Wrapper For Slides -->
<div class="carousel-inner" role="listbox">
<!-- Slide -->
<div class="carousel-item">
<img src="image.jpg" alt="image" />
</div>
</div
</div>
We have assigned our own id to the Text Layer <div>
that is vid_slider_modal_069_slide
(Video_Slider_Modal_069). You can also consult the following link about Bootstrap Carousel:
Slide Contents
Text Layer
The content for the slide is as following:
- In bootstrap carousel
<div>
element which has carousel-item
as class name show a single slide.
- In this layout we have created our own
<div>
element which has vid_slider_modal_069_slide
as class name for Text Layer
<!-- Slide -->
<div class="carousel-item">
<!-- Video -->
<div class="vid_slider_modal_069">
<video controls>
<source src="paradise/images/modal_069_01.mp4" type="video/mp4">
Your browser does not support HTML5 video.
</video>
</div>
<!-- Left Slide Text Layer -->
<div class="vid_slider_modal_069_slide">
<h1>carousels & modals</h1>
<p>Lorem ipsum dolor sit amet consectetuer adipiscing elit nam nibh nunc
varius facilisis eros sed erat inql</p>
<a href="#">learn more</a>
</div> <!-- /Left Slide Text Layer -->
</div> <!-- /carousel-item -->
<!-- End of Slide -->
In this layout we have used following components for Text Layer
Note: The active
class needs to be added to the first slide. Otherwise, the carousel will not be visible.
Video
- In this layout we have created our own
<div>
first which has vid_slider_modal_069
as class name.
- Then we have used HTML5
video
tag to embed videos.
- You can also consult the following link about HTML5 Video Tag
- HTML5 Video
<!-- Slide -->
<div class="carousel-item">
<!-- Video -->
<div class="vid_slider_modal_069">
<video controls>
<source src="paradise/images/modal_069_01.mp4" type="video/mp4">
Your browser does not support HTML5 video.
</video>
</div>
<!-- Left Slide Text Layer -->
<div class="vid_slider_modal_069_slide">
<h1>carousels & modals</h1>
<p>Lorem ipsum dolor sit amet consectetuer adipiscing elit nam nibh nunc
varius facilisis eros sed erat inql</p>
<a href="#">learn more</a>
</div> <!-- /Left Slide Text Layer -->
</div> <!-- /carousel-item -->
<!-- End of Slide -->
03 - Classes
Modal
We have used following our own classes and id in this layout, that control and change the whole Modal.
#ps_modal_069
: Describe the Modal's Unique Id.
.modal
: Describe the content as a modal and brings focus to it.
.fade
: Enable Transition Effect which Fades the modal In and Out. Remove this class if you do not want this effect.
.ps_modal_fadeInRight
: Enable Fade In Right Effect for Modal. Without
.fade
class this Effect will not work.
.ps_modal_close_transp
: This class makes Transparent Color Close Button at the Top and Left side of the Modal.
.modal-dialog
: This sets the proper width and margin of the modal.
.modal-content
: The div which has
.modal-content
as a class name contains the Slider
Slider
We have used following our own classes and id in this layout, that control and change the whole slider.
.swipe_x
: This class enables Horizontal swipe function
#video_slider_modal_069
: Describe the Slider's Unique Id.
.vid_slider_modal_069_slide
: Enable Styles for Text Layer
.vid_slider_modal_069_slide_right
: Move the Text Layer to the Right side
.vid_slider_modal_069_slide_center
: Move the Text Layer in the Center
.thumb_scroll_x
: This class enables Horizontal scroll function for indicators
.vid_slider_modal_thumb
: This class makes images thumbnails Horizontally to the bottom of the slider
.slide
: Enable Sliding Effect.
.ps_easeInOutQuad
: This class enables Transition Timing Function for Slide Effect
Video
We have used following our own classes and id in this layout, that control and change the video.
.vid_slider_modal_069
: This class enables Style for Videos
control
: Enables the video controls such as a play/pause button etc.
Note: vid
Stands for " Video ", thumb
Stands for " Thumbnail " and 069
means " Version 069 ". And ps
stands for " Paradise Slider ".
04 - Fonts
We have used the following Fonts in this layout. You can download these fonts from google fonts
to get the same result of layout
05 - Controls
<!-- Indicators -->
<ol class="carousel-indicators">
<!-- 1st Indicator -->
<li data-target="#video_slider_modal_069" data-slide-to="0" class="active">
<!-- 1st Indicator Image -->
<img src="paradise/images/modal_069_01_sm.jpg" alt="modal_069_01_sm">
</li>
<!-- 2nd Indicator -->
<li data-target="#video_slider_modal_069" data-slide-to="1">
<!-- 2nd Indicator Image -->
<img src="paradise/images/modal_069_02_sm.jpg" alt="modal_069_02_sm">
</li>
<!-- 3rd Indicator -->
<li data-target="#video_slider_modal_069" data-slide-to="2">
<!-- 3rd Indicator Image -->
<img src="paradise/images/modal_069_03_sm.jpg" alt="modal_069_03_sm">
</li>
</ol>
In this layout we have used images thumbnails to move from one slide to another. We have created these thumbnails Horizontally and in the bottom of the slider. We have created the following additional functions to control the slides:
.swipe_x
This class enables swipe function. You can controll the slides by dragging the mouse button Horizontally and in touch devices this class also enables the touch control.
If you want to know about other functions click HERE.
.thumb_scroll_x
This class enables Horizontal scroll function for indicators.
If you want to know about other functions click HERE.
.ps_easeInOutQuad
This class enables Transition Timing Function for Slide Effect.
If you want to know about other Transition Timing Function for Slide Effect please click HERE.
.ps_modal_fadeInRight
This class enables Fade In Right Effect for Modal.
If you want to know about other Modal Effects please click HERE.
.vid_slider_modal_thumb
This class makes Horizontal images thumbnails in the bottom of the slider.
If you want to know about other types of controls buttons please click HERE.
data-pause="hover"
This attribute pauses the slider from sliding through the next slide when the mouse pointer enters the slider, and when the mouse pointer leaves the slider it resumes the sliding.
data-interval="false"
This attribute specifies the delay (in milliseconds) between each slide. Or you can assign false
as value to stop sliding
data-duration="2000"
This attribute specifies the duration (in milliseconds) of sliding.
06 - Animation
In this layout we have not used anyy animation effect:
07 - Slider Settings
We have created a separate page for slider settings please Click Here
08 - Images
The size of the images that we have used are 1732 x 1155
in pixels.
3:2
Alway keeps its aspect ratio when you want to change the size of the image
09 - Support
Please do not hesitate if you have any queries about this product. We are always there for your help. You can contact us on this e-mail address szthemes1@gmail.com