HTML & CSS / Layouts / Modal window using jquery
Modal Window
-
Static Content
1. create modal structure
2. add modal header
Modal Title
3. add modal body
This is a simple Bootstrap modal. Click the "Cancel button", "cross icon" or "dark gray area" to close or hide the modal.
4. add modal footer
Complete codeModal Title
This is a simple Bootstrap modal. Click the "Cancel button", "cross icon" or "dark gray area" to close or hide the modal.
5. show the modal
1. add button
2. add click event
-
Dynamic Content
load the content using ajax $(".content_panel").load("demo_test.txt");