Advertisement
Guest User

Untitled

a guest
Jul 26th, 2014
226
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-hidden="true">
  2. ...
  3. </div>
  4.  
  5. <script>
  6. if(window.location.hash) {
  7. var hash = window.location.hash;
  8. $("'" + hash + "'").modal('toggle');
  9. }
  10. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement