Widget:Twentytwenty: Unterschied zwischen den Versionen
Aus FürthWiki
KKeine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
Zeile 1: | Zeile 1: | ||
mw.loader.load( '//cdnjs.cloudflare.com/ajax/libs/mhayes-twentytwenty/2.0.0-beta.1/jquery.twentytwenty.min.js' ); | |||
<html> | <html> | ||
Zeile 21: | Zeile 23: | ||
</div> | </div> | ||
<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(){ |
Version vom 21. August 2017, 15:41 Uhr
mw.loader.load( '//cdnjs.cloudflare.com/ajax/libs/mhayes-twentytwenty/2.0.0-beta.1/jquery.twentytwenty.min.js' );
<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"> $(function(){
console.log("twentytwenty"); $('.twentytwenty-container').twentytwenty();
}); </script>
</html>