logo

Welcome to

paradise

We would like to thank you for purchasing Paradise Slider!
We are very pleased that you have chosen Paradise Slider for your Project.

Buy Now

javaScript form 040

01 - Get Started

Note: This documentation Page is only for javaScript form 040 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:

  1. 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!

  2. 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:
Note: All these files are only for javaScript form 040 layout only

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!

mega vs single

You can use Paradise Slider CSS in two ways:

HTML Markup

After attaching all of the above files, insert following HTML to the <body> section. This HTML defines your slider content.


<!-- Paradise Slider -->
<div id="js_frm_040" class="carousel slide ps_control_hrbrarrow swipe_x ps_easeOutQuint" data-ride="carousel"
data-pause="hover" data-interval="4000" data-duration="2000">

    <!-- Wrapper For Slides -->
    <div class="carousel-inner" role="listbox">

      <!-- First Slide -->
      <div class="carousel-item active">
        <!-- Slide Background -->
        <img src="paradise/images/js_frm_040_01.jpg" alt="js_frm_040_01" />
      </div> <!-- /carousel-item -->
      <!-- End of Slide -->

      <!-- Second Slide -->
      <div class="carousel-item">
        <!-- Slide Background -->
        <img src="paradise/images/js_frm_040_02.jpg" alt="js_frm_040_02" />
      </div> <!-- /carousel-item -->
      <!-- End of Slide -->
	  
      <!-- Third Slide -->
      <div class="carousel-item">
        <!-- Slide Background -->
        <img src="paradise/images/js_frm_040_03.jpg" alt="js_frm_040_03" />
      </div> <!-- /carousel-item -->
      <!-- End of Slide -->

    </div><!-- End of Wrapper For Slides -->

    <!-- Content -->
    <div class="js_frm_subscribe" data-animation="animated zoomInLeft">
      <h3>sign up for our newsletter</h3>
      <p>Lorem ipsum dolor sit amet consectetuer adipiscing elit nam nibh nunc varius.</p>
      <!-- Form -->
      <form role="form" action="#">
        <div class="row"> <!-- row -->
          <div class="col-9 col-sm-10">
            <div class="form-group">
              <input type="email" class="form-control" placeholder="Please enter your email address" required>
            </div>
          </div><!-- /col -->
          <div class="col-3 col-sm-2">
            <button type="submit" class="btn btn-default">subscribe</button>
          </div><!-- /col -->
        </div><!-- /row -->
      </form><!-- /form -->
    </div> <!-- /Content -->

    <!-- Left Control -->
    <a class="carousel-control-prev" href="#js_frm_040" data-slide="prev">
      <span class="fa fa-arrow-left" aria-hidden="true"></span>
      
    </a>

    <!-- Right Control -->
    <a class="carousel-control-next" href="#js_frm_040" data-slide="next">
      <span class="fa fa-arrow-right" aria-hidden="true"></span>
      
    </a>

</div> <!--End Paradise Slider-->

		
Note: The Above example will create three slides. This HTML Structure is only for javaScript form 040 layout

02 - Slider HTML Elements

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="4000">

        <!-- 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 first <div> that is js_frm_040 (JavaScript_Form_040)

Slide Contents

The content for the slide is as following:

    <!-- Wrapper For Slides -->
    <div class="carousel-inner" role="listbox">

      <!-- First Slide -->
      <div class="carousel-item active">
        <!-- Slide Background -->
        <img src="paradise/images/js_frm_040_01.jpg" alt="js_frm_040_01" />
      </div> <!-- /carousel-item -->
      <!-- End of Slide -->

      <!-- Second Slide -->
      <div class="carousel-item">
        <!-- Slide Background -->
        <img src="paradise/images/js_frm_040_02.jpg" alt="js_frm_040_02" />
      </div> <!-- /carousel-item -->
      <!-- End of Slide -->
	  
      <!-- Third Slide -->
      <div class="carousel-item">
        <!-- Slide Background -->
        <img src="paradise/images/js_frm_040_03.jpg" alt="js_frm_040_03" />
      </div> <!-- /carousel-item -->
      <!-- End of Slide -->

    </div><!-- End of Wrapper For Slides -->

    <!-- Content -->
    <div class="js_frm_subscribe" data-animation="animated zoomInLeft">
      <h3>sign up for our newsletter</h3>
      <p>Lorem ipsum dolor sit amet consectetuer adipiscing elit nam nibh nunc varius.</p>
      <!-- Form -->
      <form role="form" action="#">
        <div class="row"> <!-- row -->
          <div class="col-9 col-sm-10">
            <div class="form-group">
              <input type="email" class="form-control" placeholder="Please enter your email address" required>
            </div>
          </div><!-- /col -->
          <div class="col-3 col-sm-2">
            <button type="submit" class="btn btn-default">subscribe</button>
          </div><!-- /col -->
        </div><!-- /row -->
      </form><!-- /form -->
    </div> <!-- /Content -->
		

In this layout we have used following components for Text Layer

If you want to know more about Forms please click here

Note: The active class needs to be added to the first slide. Otherwise, the carousel will not be visible.

03 - Classes

We have used following our own classes and id in this layout, that control and change the whole slider.

#js_frm_040 : Describe the Slider's Unique Id.

.js_frm_subscribe : Enable Styles for Subscribe form

.slide : Enable Horizontal Sliding Effect.

.swipe_x: This class enables horizontal swipe function

.ps_easeOutQuint : This class enables Transition Timing Function for Slide Effect

.ps_control_hrbrarrow : This class makes half radius with borders arrows icon, left and right control buttons

Note: js_frm Stands for " JavaScript Form " and 040 means " Version 040 ". 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

    <!-- Left Control -->
    <a class="carousel-control-prev" href="#js_frm_040" data-slide="prev">
      <span class="fa fa-arrow-left" aria-hidden="true"></span>
      
    </a>

    <!-- Right Control -->
    <a class="carousel-control-next" href="#js_frm_040" data-slide="next">
      <span class="fa fa-arrow-right" aria-hidden="true"></span>
      
    </a>

In this layout we have used left and right control buttons to move from one slide to another slide. You can move from one slide to another by clicking on these buttons or by dragging through the mouse button horizontally. We have created the following additional functions to control the slides:

  1. .slide

    This class enables effect of sliding.
    If you want to know about other animation effects of sliding please click HERE.
  2. .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.
  3. .ps_easeOutQuint

    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.
  4. .ps_control_hrbrarrow

    This class makes half radius with borders arrows icon, left and right control buttons.
    If you want to know about other types of controls buttons please click HERE.
  5. 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.
  6. data-interval="4000"

    This attribute specifies the delay (in milliseconds) between each slide.
  7. data-duration="2000"

    This attribute specifies the duration (in milliseconds) of sliding.

06 - Animation

This layout has no 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