diff --git a/examples/assets/js/large.js b/examples/assets/js/large.js new file mode 100644 index 00000000..76d08e61 --- /dev/null +++ b/examples/assets/js/large.js @@ -0,0 +1 @@ +alert("I'm executed from a script loaded from a media query that only loads if the browser with is at least 480px wide! Refresh again with a smaller width to see the other script load"); diff --git a/examples/assets/js/small.js b/examples/assets/js/small.js new file mode 100644 index 00000000..92d017d6 --- /dev/null +++ b/examples/assets/js/small.js @@ -0,0 +1 @@ +alert("I'm executed from a script loaded from a media query that only loads if the browser with is at most 480px wide! Refresh again with a larger width to see the other script load."); diff --git a/examples/capturing-mediaquery/index.html b/examples/capturing-mediaquery/index.html index 12592432..03683c78 100644 --- a/examples/capturing-mediaquery/index.html +++ b/examples/capturing-mediaquery/index.html @@ -75,7 +75,7 @@ background-color: teal; } -Mobify.js image gallary example +Mobify.js Media Query
@@ -88,6 +88,10 @@

Big images downloaded

+ +

+ +