Removed unused scripts
This commit is contained in:
parent
b524ffa0f1
commit
2f05ea32e0
2 changed files with 20 additions and 15 deletions
|
@ -17,9 +17,6 @@
|
|||
<link href="../css/gsdk-main.css" rel="stylesheet" type="text/css">
|
||||
<link href="../css/gsdk-demo.css" rel="stylesheet" type="text/css">
|
||||
|
||||
<!-- Bundle: Grand Hotel font -->
|
||||
<link href="https://fonts.googleapis.com/css?family=Grand+Hotel&display=swap" rel="stylesheet" type="text/css">
|
||||
|
||||
<!-- Bundle: Customcss -->
|
||||
<link href="../css/millironx_customstyles.css" rel="stylesheet" type="text/css">
|
||||
|
||||
|
@ -139,9 +136,6 @@
|
|||
<!-- Script Bundle: JQuery -->
|
||||
<script src="https://code.jquery.com/jquery-3.4.1.min.js" type="text/javascript"></script>
|
||||
|
||||
<!-- Script Bundle: JQuery UI -->
|
||||
<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.min.js" type="text/javascript"></script>
|
||||
|
||||
<!-- Script Bundle: FitText -->
|
||||
<script src="../js/jquery.fittext.js" type="text/javascript"></script>
|
||||
|
||||
|
@ -151,13 +145,6 @@
|
|||
<!-- Script Bundle: Font Awesome -->
|
||||
<script src="https://kit.fontawesome.com/0bbd6c0ef3.js" crossorigin="anonymous"></script>
|
||||
|
||||
<!-- Script Bundle: GSDK -->
|
||||
<script src="../js/gsdk-main.js" type="text/javascript"></script>
|
||||
<script src="../js/gsdk-bootstrapswitch.js" type="text/javascript"></script>
|
||||
<script src="../js/gsdk-checkbox.js" type="text/javascript"></script>
|
||||
<script src="../js/gsdk-radio.js" type="text/javascript"></script>
|
||||
<script src="../js/gsdk-custom.js" type="text/javascript"></script>
|
||||
|
||||
<!-- Script Bundle: Custom -->
|
||||
<script src="../js/MillironX_CustomScripts.js" type="text/javascript"></script>
|
||||
</body>
|
||||
|
|
|
@ -1,7 +1,14 @@
|
|||
$(".img-src").width($("#main-content").width());
|
||||
/*!
|
||||
* Custom scripts for millironx.github.io
|
||||
*/
|
||||
|
||||
// Resize the window image on first page load
|
||||
$(".img-src").width($("#main-content").width());
|
||||
if ($("#top-container").width() > 768) {
|
||||
$("#nav-link-container").height($("#nav-link-list").height());
|
||||
}
|
||||
|
||||
// Resize the window image if the screen size changes
|
||||
$(window).resize(function () {
|
||||
$(".img-src").width($("#main-content").width());
|
||||
if ($("#top-container").width() > 768) {
|
||||
|
@ -12,5 +19,16 @@ $(window).resize(function () {
|
|||
}
|
||||
});
|
||||
|
||||
// Squeeze the heading text into the proper box
|
||||
$("#motto").fitText();
|
||||
$("[rel='tooltip']").tooltip();
|
||||
$("[rel='tooltip']").tooltip();
|
||||
|
||||
// Animate the transparency for the glossy scroll effect
|
||||
var transparentDemo = true;
|
||||
var fixedTop = false;
|
||||
|
||||
$(window).scroll(function(e) {
|
||||
oVal = ($(window).scrollTop() / 170);
|
||||
$(".blur").css("opacity", oVal);
|
||||
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue