---
title: Roundtrip
tagline: Enhanced Bootstrap Modals
description: Enhanced Bootstrap Modals for J1 Template
tags: [ Template, Roundtrip, Bootstrap, Extended, Modal]
index: []
categories: [ pages ]
flowtext: false
permalink: /pages/public/start/roundtrip/modals/
regenerate: false
resources: [ algolia ]
resource_options:
- masthead:
opacity: 1.0
slides:
- url: /"pages/roundtrip/bootstrap-modals.jpg
alt: bootstrap-modals
---
// Enable the Liquid Preprocessor
// -----------------------------------------------------------------------------
:page-liquid:
// Set other global page attributes here
// -----------------------------------------------------------------------------
// Liquid procedures
// -----------------------------------------------------------------------------
{% capture set_env_entry_document %}themes/{{site.template.name}}/procedures/global/set_env_entry_document.proc{%endcapture%}
// Initialize entry document paths
// -----------------------------------------------------------------------------
{% include {{set_env_entry_document}} init_folders=all %}
// Load tags and urls
// -----------------------------------------------------------------------------
include::{includedir}/attributes.asciidoc[tag=tags]
include::{includedir}/attributes.asciidoc[tag=urls]
include::{includedir}/attributes.asciidoc[tag=data]
// Additional Asciidoc page attributes goes here
// -----------------------------------------------------------------------------
// Include sub-documents
// -----------------------------------------------------------------------------
lorem:sentences[5]
lorem:sentences[3]
== J1 Modals
pass:[]
Refer to: https://mdbootstrap.com/legacy/4.3.2/?page=javascript/modals[MDB - Enhanced Bootstrap Modals, window="_blank"].
Enhanced J1 Bootstrap Modals are based on the free package `Bootstrap 4 plugin`
based on (legycy) version 4.3.2 provided by https://mdbootstrap.com/[MDBootstrap.com].
Use Bootstrap’s JavaScript modal plugin to add dialogs to your site for
lightboxes, user notifications, or completely custom content. Modals are
built with HTML, CSS, and JavaScript. They’re positioned over everything
else in the document and remove scroll from the
so that modal
content scrolls instead.
pass:[]
Refer to: link:{bs_doc_components_modal}[Bootstrap Docs, window="_blank"].
Using J1 enhanced predefined modal styles, some emotional weight is added to
the information displaye - ranging from a simple warning to critical system
failure or from an operation success to a neutral information.
If you want to learn about advanced usage of Modals, read our free tutorial
https://mdbootstrap.com/automated-app-start/[Creating Automated web application].
See also: https://mdbootstrap.com/javascript/modals/[Modal Core Documentation],
https://mdbootstrap.com/javascript/bootstrap-modal-examples/[Modal Forms and Modal Templates].
=== Position and sizes
lorem:sentences[5]
++++
SignIn to Github. Get access to all PRIVATE content pages.
SignIn to Facebook. Get access to all PRIVATE content pages.
SignIn to Patreon. Get access to all PREMIUM and PRIVATE content pages.
++++
=== Central Large Info
Add `.modal-dialog-centered` to `.modal-dialog` to vertically center the modal.
++++
++++
=== Central Fluid Success
Add `.modal-dialog-centered` to `.modal-dialog` to vertically center the modal.
++++
++++
=== Full Height Right Success
Add `.modal-dialog-centered` to `.modal-dialog` to vertically center the modal.
++++
++++
=== Full Height Left Info
Add `.modal-dialog-centered` to `.modal-dialog` to vertically center the modal.
++++
++++
=== Full Height Top Warning
Add `.modal-dialog-centered` to `.modal-dialog` to vertically center the modal.
++++
++++
=== Full Height Bottom Danger
Add `.modal-dialog-centered` to `.modal-dialog` to vertically center the modal.
++++
++++
=== Central Success
Add `.modal-dialog-centered` to `.modal-dialog` to vertically center the modal.
++++
++++
== What's next?
lorem:sentences[5]
Check out what the build in link:{roundtrip-search-engine}[Search Engine, window="_blank"]
can do!
++++
Contact Form
Modal Success
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Impedit iusto nulla aperiam blanditiis ad consequatur in dolores culpa, dignissimos, eius non possimus fugiat. Esse ratione fuga, enim, ab officiis totam.
Cras justo odio
14
Dapibus ac facilisis in
2
Morbi leo risus
1
Cras justo odio
14
Dapibus ac facilisis in
2
Morbi leo risus
1
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Impedit nisi quo provident fugiat reprehenderit nostrum quos..
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Impedit iusto nulla aperiam blanditiis ad consequatur in dolores culpa, dignissimos, eius non possimus fugiat. Esse ratione fuga, enim, ab officiis totam.
Modal Info
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Nesciunt vero illo error eveniet cum.
Modal Danger
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Fuga, molestiae provident temporibus sunt earum.
v52gs1
Modal Warning
Jane
Consultant
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Fuga, molestiae provident temporibus sunt earum.
Lorem ipsum dolor sit amet, consectetur adipisicing elit.
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Impedit iusto nulla aperiam blanditiis ad consequatur in dolores culpa, dignissimos, eius non possimus fugiat. Esse ratione fuga, enim, ab officiis totam.
Modal Success
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Impedit iusto nulla aperiam blanditiis ad consequatur in dolores culpa, dignissimos, eius non possimus fugiat. Esse ratione fuga, enim, ab officiis totam.
Cras justo odio
14
Dapibus ac facilisis in
2
Morbi leo risus
1
Cras justo odio
14
Dapibus ac facilisis in
2
Morbi leo risus
1
Modal Success
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Impedit iusto nulla aperiam blanditiis ad consequatur in dolores culpa, dignissimos, eius non possimus fugiat. Esse ratione fuga, enim, ab officiis totam.
Cras justo odio
14
Dapibus ac facilisis in
2
Morbi leo risus
1
Cras justo odio
14
Dapibus ac facilisis in
2
Morbi leo risus
1
Modal Success
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Impedit iusto nulla aperiam blanditiis ad consequatur in dolores culpa, dignissimos, eius non possimus fugiat. Esse ratione fuga, enim, ab officiis totam.
Cras justo odio
14
Dapibus ac facilisis in
2
Morbi leo risus
1
Cras justo odio
14
Dapibus ac facilisis in
2
Morbi leo risus
1
Modal Warning
Cras justo odio
14
Dapibus ac facilisis in
2
Morbi leo risus
1
Modal Danger
Cras justo odio
14
Dapibus ac facilisis in
2
Morbi leo risus
1
Modal Success
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Impedit iusto nulla aperiam blanditiis ad consequatur in dolores culpa, dignissimos, eius non possimus fugiat. Esse ratione fuga, enim, ab officiis totam.
Modal Info
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Nesciunt vero illo error eveniet cum.
Modal Danger
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Fuga, molestiae provident temporibus sunt earum.
v52gs1
Modal Warning
Jane
Consultant
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Fuga, molestiae provident temporibus sunt earum.
Lorem ipsum dolor sit amet, consectetur adipisicing elit.
Welcome to MDBootstrap!
Michal
MDB Founder
Hey there!
We're happy to see that you're getting involved.
How about we help you in getting more out of all this awesomeness?
Discount offer: 10% off
Sharing is caring. Therefore, from time to time we like to give our visitors small gifts. Today is one of those days.
Copy the following code and use it at the checkout. It's valid for one day.