Widget:Twentytwenty: Unterschied zwischen den Versionen
Aus FürthWiki
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
Zeile 16: | Zeile 16: | ||
<style> | <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 { | .twentytwenty-overlay { | ||
display: none; | display: none; |
Version vom 13. Juni 2017, 09:35 Uhr
<html>
<img src= /> <img src= />
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.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"> $(function(){
$('.twentytwenty-container').twentytwenty();
}); </script>
<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>
</html>