Widget:Twentytwenty: Unterschied zwischen den Versionen
Aus FürthWiki
Keine Bearbeitungszusammenfassung |
KKeine Bearbeitungszusammenfassung |
||
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(){ | ||
console.log("twentytwenty"); | |||
$('.twentytwenty-container').twentytwenty(); | |||
}); | |||
</script> | </script> | ||
</html> | </html> |
Version vom 21. August 2017, 15:33 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(){
console.log("twentytwenty"); $('.twentytwenty-container').twentytwenty();
}); </script>
</html>