Widget:Twentytwenty: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Zeile 23: | Zeile 23: | ||
<script src="//cdnjs.cloudflare.com/ajax/libs/mhayes-twentytwenty/2.0.0-beta.1/jquery.twentytwenty.min.js"></script> | <script src="//cdnjs.cloudflare.com/ajax/libs/mhayes-twentytwenty/2.0.0-beta.1/jquery.twentytwenty.min.js"></script> | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
− | $(function(){ | + | (function($){ |
− | + | $(document).ready(function(){ | |
− | }); | + | $('.twentytwenty-container').twentytwenty(); |
+ | }); | ||
+ | }(jQuery)); | ||
</script> | </script> | ||
</html> | </html> |
Version vom 21. August 2017, 16:32 Uhr
<html>
<style> .twentytwenty-wrapper {
-webkit-touch-callout: none; /* iOS Safari */ -webkit-user-select: none; /* Safari */ -khtml-user-select: none; /* Konqueror HTML */ -moz-user-select: none; /* Firefox */ -ms-user-select: none; /* Internet Explorer/Edge */ user-select: none; /* Non-prefixed version, currently supported by Chrome and Opera */
} .twentytwenty-overlay {
display: none;
} </style>
<img src= /> <img src= />
<script src="//cdnjs.cloudflare.com/ajax/libs/mhayes-twentytwenty/2.0.0-beta.1/jquery.twentytwenty.min.js"></script> <script type="text/javascript"> (function($){
$(document).ready(function(){ $('.twentytwenty-container').twentytwenty(); });
}(jQuery)); </script>
</html>