This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| open HTML file in finder, prevent default gesture behavior: | |
| add -webkit CSS snippet | |
| <style type="text/css"> | |
| * | |
| { | |
| -webkit-touch-callout: none; | |
| -webkit-user-select: none; | |
| } | |
| </style> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var ScrollAnimator = function() { | |
| var settings = {}, | |
| page, | |
| started = false, | |
| paused = false, | |
| animation = null; | |
| var w = $(window), | |
| d = $(document), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // for use in stage action creationComplete | |
| yepnope({ | |
| nope:['edge_includes/XXXXXXXX.js'] , | |
| complete: init | |
| }); | |
| function init (){ | |
| // code to be executed | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta http-equiv="content-type" content="text/html; charset=utf-8"> | |
| <link rel="stylesheet" href="style.css"> | |
| <script type="text/javascript" src="js/jquery.js"></script> | |
| <script type="text/javascript" src="js/script.js"></script> | |
| <script type="text/javascript" src="js/jquery.countdown.js"></script> | |
| <script type="text/javascript" src="js/jstz-1.0.4.min.js"></script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| switch(tz.name()) | |
| { | |
| case "America/Caracas": | |
| // execute code block 1 | |
| break; | |
| case 2: | |
| // execute code block 2 | |
| break; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // insert code for mouse click here | |
| if (window.navigator.onLine) | |
| { | |
| sym.$("US_map_symbol").show(); | |
| } | |
| else | |
| { | |
| sym.$("US_map_symbol_offline").show(); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| e.preventDefault(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
| <meta http-equiv="X-UA-Compatible" content="IE=Edge"/> | |
| <title>Untitled</title> | |
| <style type="text/css"> | |
| * | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
| <meta http-equiv="X-UA-Compatible" content="IE=Edge"/> | |
| <title>Untitled</title> | |
| <script> | |
| document.addEventListener('touchstart', function (e) {e.preventDefault();}, false); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <style type="text/css"> | |
| * { | |
| -webkit-touch-callout: none; | |
| -webkit-user-select: none; | |
| } | |
| </style> |