I don't know javascript at all. The bootstrap documentation says to
Call the modal via javascript: $('#myModal').modal(options)
I have no clue how to call this on a page load. Using the supplied code on the bootstrap page I can successfully call the Modal on an element click, but I want it to load immediately on a page load.
You can try this runnable code-
More can be found here.
Think u have your complete answer.
Like others have mentioned, create your modal with display:block
Place the backdrop anywhere on your page, it does not necesarily need to be at the bottom of the page
Then, to be able to close the dialog again, add this
Hope this helps
regarding what Andre's Ilich say you have to add the js script after the line in what you call the jquery:
in my case that was the problem hope it helps
You can show it on start even without Javascript. Just delete the class "hide".
Tested with Bootstrap 3 and jQuery (2.2 and 2.3)
https://jsfiddle.net/d7utnsbm/
You can activate the modal without writing any JavaScript simply via data attributes.
The option "show" set to true shows the modal when initialized: