diff --git a/android-chrome-192x192.png b/android-chrome-192x192.png new file mode 100644 index 0000000..589870d Binary files /dev/null and b/android-chrome-192x192.png differ diff --git a/android-chrome-256x256.png b/android-chrome-256x256.png new file mode 100644 index 0000000..bd409ab Binary files /dev/null and b/android-chrome-256x256.png differ diff --git a/apple-touch-icon.png b/apple-touch-icon.png new file mode 100644 index 0000000..024b64c Binary files /dev/null and b/apple-touch-icon.png differ diff --git a/browserconfig.xml b/browserconfig.xml new file mode 100644 index 0000000..d4ff315 --- /dev/null +++ b/browserconfig.xml @@ -0,0 +1,9 @@ + + + + + + #cdff00 + + + diff --git a/favicon-16x16.png b/favicon-16x16.png new file mode 100644 index 0000000..6328143 Binary files /dev/null and b/favicon-16x16.png differ diff --git a/favicon-32x32.png b/favicon-32x32.png new file mode 100644 index 0000000..dc2c8d8 Binary files /dev/null and b/favicon-32x32.png differ diff --git a/favicon.ico b/favicon.ico new file mode 100644 index 0000000..4724091 Binary files /dev/null and b/favicon.ico differ diff --git a/index.html b/index.html index abb258e..ed15271 100644 --- a/index.html +++ b/index.html @@ -9,8 +9,13 @@ - - + + + + + + + @@ -41,20 +46,8 @@
-
-

Offset: 0 LBS

diff --git a/js/Weight Calculation Script-Edited-Jquery-V4.js b/js/Weight Calculation Script-Edited-Jquery-V4.js index f6cb4e9..49f43bb 100644 --- a/js/Weight Calculation Script-Edited-Jquery-V4.js +++ b/js/Weight Calculation Script-Edited-Jquery-V4.js @@ -119,11 +119,34 @@ var savedScrollTop function saveScroll() { var savedScrollTop = jQuery(document).scrollTop(); // save scroll position + console.log(savedScrollTop); } - function restoreScroll() { - jQuery(document).scrollTop(savedScrollTop); // restore it + function restoreScroll(savedScrollTop){ + jQuery("html, body").animate({ + scrollTop: savedScrollTop + }, 800).offset().top; } +//Failed scroll restore functions + + // jQuery("#Weight").blur(function(event) { + // $("html, body").animate({ + // scrollTop: savedScrollTop + // }, 800).offset().top; + // }); + + + /*function restoreScroll() { + $("a").on('click', function(event) { + + jQuery(window).scrollTop(savedScrollTop);*/ +/* window.scrollTo({ + top: "savedScrollTop", + behavior: "smooth" + }); // restore it*/ + + + /*var savedScrollTop = $(document).scrollTop(); // save scroll position diff --git a/mstile-150x150.png b/mstile-150x150.png new file mode 100644 index 0000000..e3108a8 Binary files /dev/null and b/mstile-150x150.png differ diff --git a/safari-pinned-tab.svg b/safari-pinned-tab.svg new file mode 100644 index 0000000..9156f62 --- /dev/null +++ b/safari-pinned-tab.svg @@ -0,0 +1,17 @@ + + + + +Created by potrace 1.11, written by Peter Selinger 2001-2013 + + + + + diff --git a/site.webmanifest b/site.webmanifest new file mode 100644 index 0000000..de65106 --- /dev/null +++ b/site.webmanifest @@ -0,0 +1,19 @@ +{ + "name": "", + "short_name": "", + "icons": [ + { + "src": "/android-chrome-192x192.png", + "sizes": "192x192", + "type": "image/png" + }, + { + "src": "/android-chrome-256x256.png", + "sizes": "256x256", + "type": "image/png" + } + ], + "theme_color": "#ffffff", + "background_color": "#ffffff", + "display": "standalone" +}