Docs: move script to page bottom

This commit is contained in:
Rob Garrison 2015-10-03 22:08:39 -05:00
parent a20e2868a0
commit f540158ca7

View File

@ -4,9 +4,6 @@
<meta charset="utf-8"> <meta charset="utf-8">
<title>jQuery plugin: Tablesorter 2.0</title> <title>jQuery plugin: Tablesorter 2.0</title>
<!-- jQuery -->
<script src="js/jquery-latest.min.js"></script>
<!-- Demo stuff --> <!-- Demo stuff -->
<link rel="stylesheet" href="css/bootstrap.min.css"> <link rel="stylesheet" href="css/bootstrap.min.css">
<link class="ui-theme" rel="stylesheet" href="css/jquery-ui.min.css"> <link class="ui-theme" rel="stylesheet" href="css/jquery-ui.min.css">
@ -14,28 +11,7 @@
<link rel="stylesheet" href="css/jq.css"> <link rel="stylesheet" href="css/jq.css">
<link rel="stylesheet" href="css/menu.css"> <link rel="stylesheet" href="css/menu.css">
<link href="css/prettify.css" rel="stylesheet"> <link href="css/prettify.css" rel="stylesheet">
<script src="js/jquery-ui.min.js"></script>
<script src="js/prettify.js"></script>
<script src="js/docs.js"></script>
<script src="js/search.js"></script>
<!--[if lte IE 8]>
<script src="js/search-ie.js"></script>
<![endif]-->
<!-- Tablesorter: required -->
<link href="../css/theme.blue.css" rel="stylesheet"> <link href="../css/theme.blue.css" rel="stylesheet">
<script src="../js/jquery.tablesorter.combined.js"></script>
<script>
$(function() {
$.extend( $.tablesorter.defaults, {
theme: 'blue',
widthFixed: true
});
$('.compatibility').tablesorter();
$('#tablesorter-demo').tablesorter({widgets:['zebra']});
$('table.options, table.api').tablesorter({widgets:['stickyHeaders']});
});
</script>
</head> </head>
<body id="root"> <body id="root">
@ -7401,5 +7377,27 @@ $.tablesorter.addHeaderResizeEvent( table, true );</pre>
</p> </p>
</div> </div>
<!-- jQuery -->
<script src="js/jquery-latest.min.js"></script>
<script src="js/jquery-ui.min.js"></script>
<script src="js/prettify.js"></script>
<script src="js/docs.js"></script>
<script src="js/search.js"></script>
<!--[if lte IE 8]>
<script src="js/search-ie.js"></script>
<![endif]-->
<!-- Tablesorter: required -->
<script src="../js/jquery.tablesorter.combined.js"></script>
<script>
$.extend( $.tablesorter.defaults, {
theme: 'blue',
widthFixed: true
});
$('.compatibility').tablesorter();
$('#tablesorter-demo').tablesorter({widgets:['zebra']});
$('table.options, table.api').tablesorter({widgets:['stickyHeaders']});
</script>
</body> </body>
</html> </html>