Skip to content

Instantly share code, notes, and snippets.

@pmatsinopoulos
Last active August 29, 2015 14:17
Show Gist options
  • Save pmatsinopoulos/1ba83297d2747987059f to your computer and use it in GitHub Desktop.
Save pmatsinopoulos/1ba83297d2747987059f to your computer and use it in GitHub Desktop.
Correct Bootstrap/jQuery/jQuery Media Plugin on head of an html
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Phil Jedar PortFolio</title>
<!-- CSS -- >
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css">
<link href="css/styles.css" rel="stylesheet">
<!-- JAVASCRIPT -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
<!-- Latest compiled and minified JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/js/bootstrap.min.js"></script>
<!--jQuery Media Script-->
<script src="js/jquery.media.js" type="text/javascript"></script>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
<script>
$(function () {
$('#item1').tooltip();
$('#item2').tooltip();
$('#item3').tooltip();
$('#item4').tooltip();
});
</script>
<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?key=AIzaSyAgwNC_ggTNI2TnQLYzRGbXlZwGtwBYm08"></script>
<script src="js/scripts.js"></script>
<!-- Custom styles for this template go here -->
<!-- Just for debugging purposes. Don't actually copy this line! -->
<!--[if lt IE 9]><script src="../../docs-assets/js/ie8-responsive-file-warning.js"></script><![endif]-->
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
<![endif]-->
</head>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment