Widget:Twentytwenty: Unterschied zwischen den Versionen
Aus FürthWiki
(jQuery rausgenommen wegen Problemen mit dem Stadtplanausschnitten) |
KKeine Bearbeitungszusammenfassung |
||
Zeile 5: | Zeile 5: | ||
<img src='<!--{$Bild2|escape:'html'}-->' /> | <img src='<!--{$Bild2|escape:'html'}-->' /> | ||
</div> | </div> | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
Zeile 28: | Zeile 26: | ||
} | } | ||
</style> | </style> | ||
<script src="//cdnjs.cloudflare.com/ajax/libs/mhayes-twentytwenty/2.0.0-beta.1/jquery.twentytwenty.min.js"></script> | |||
</html> | </html> |
Version vom 21. August 2017, 15:06 Uhr
<html>
<img src= /> <img src= />
<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>
<script src="//cdnjs.cloudflare.com/ajax/libs/mhayes-twentytwenty/2.0.0-beta.1/jquery.twentytwenty.min.js"></script>
</html>