Search
 
SCRIPT & CODE EXAMPLE
 

HTML

floating modal bootstrap

<!-- html -->
<button href="#myModal" class="btn btn-settings" data-backdrop="false" data-toggle="modal">Open Modal</button>

<div id="myModal" class="modal fade">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                 <h4 class="modal-title">Settings</h4>  

            </div>
            <div class="modal-body">
                <h3>Lorem Ipsum</h3>
                <p>Praesent non dictum dolor, vitae interdum erat. Nam quis consectetur mi. In consequat condimentum tortor, et lobortis est convallis ac. Quisque volutpat posuere dui, pellentesque vulputate dolor. Morbi dapibus orci eu est consectetur, sed pretium mauris laoreet. Pellentesque sodales ante non justo viverra, sit amet consectetur nisl vulputate.</p>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>
                <button id="loadpage" type="button" class="btn btn-primary">Save</button>
            </div>
        </div>
        <!-- /.modal-content -->
    </div>
    <!-- /.modal-dialog -->
</div>
<!-- /.modal -->

<script>
   $("#myModal").draggable({
      handle: ".modal-header"
  });
</script>
Comment

PREVIOUS NEXT
Code Example
Html :: mvc 5 required field validation not working 
Html :: react-burger-menu right 
Html :: html code for star symbol 
Html :: col tag in html 
Html :: icon on html 
Html :: proper center grid 
Html :: input text before element 
Html :: popup 
Html :: html legend 
Html :: html autocomplete 
Html :: mark tag in html 
Html :: html style tag type 
Html :: html mapping coordinates placing 
Html :: html number input with commas 
Html :: Using SVG as an <img 
Html :: source html 
Html :: html style guide 
Html :: tr tag 
Html :: how to create a blank page with js 
Html :: if the page is opened so count and put it to the value of hidden input 
Html :: easy cubism landscape painting for beginners 
Html :: js does a return stop a while 
Html :: Title Tag Length Checker 
Html :: html cite element 
Html :: convert haml to html 
Html :: html body farbe ändern 
Html :: cara mengatur ukuran gambar navbar-brand 
Html :: html lang="ro" 
Html :: single div using two tags h5 tag &h6tag 
Html :: html pretty print 
ADD CONTENT
Topic
Content
Source link
Name
1+9 =