Ohhps .. remember to wrap the document ready inside a script.
<script type="text/javascript">
$(document).ready(function($) {
function show_modal(){
$('#myModal').modal();
}
window.setTimeout(show_modal, 5000); // your 5 seconds delay before it
calls the modal function
});
</script>
--
You received this message because you are subscribed to the Google Groups
"twitter-bootstrap" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.