Skip to content

Instantly share code, notes, and snippets.

View xXFracXx's full-sized avatar
🎯
Focusing

Shashank Pincha xXFracXx

🎯
Focusing
View GitHub Profile
@MrDys
MrDys / gist:3512455
Created August 29, 2012 13:26
Link directly to an open modal window in Bootstrap
/* If you've ever had the need to link directly to an open modal window with Bootstrap, here's a quick and easy way to do it:
Make sure your modal has an id:
<div class="modal" id="myModal" ... >
Then stick this bit of Javascript at at the end of your document:
*/
$(document).ready(function() {