Widget:Twentytwenty: Unterschied zwischen den Versionen
Aus FürthWiki
Keine Bearbeitungszusammenfassung |
Keine 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"> | ||
mw.loader.load( | mw.loader.load("https://fuerthwiki.de/wiki/resources/lib/twentytwenty/jquery.twentytwenty.min.js"); | ||
$(function(){ | $(function(){ | ||
console.log("twentytwenty"); | console.log("twentytwenty"); |
Version vom 21. August 2017, 15:47 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 type="text/javascript"> mw.loader.load("https://fuerthwiki.de/wiki/resources/lib/twentytwenty/jquery.twentytwenty.min.js"); $(function(){
console.log("twentytwenty"); $('.twentytwenty-container').twentytwenty();
}); </script>
</html>