Widget:Twentytwenty: Unterschied zwischen den Versionen

Aus FürthWiki
Zur Navigation springen Zur Suche springen
Zeile 16: Zeile 16:
  
 
<style>
 
<style>
.twentytwenty-before-label:before {
+
.twentytwenty-overlay {
    content: "<!--{$title1|escape:'html'}-->";
+
     display: none;
}
 
.twentytwenty-after-label:before {
 
     content: "<!--{$title2|escape:'html'}-->";
 
 
}
 
}
 
</style>
 
</style>
  
 
</html>
 
</html>

Version vom 13. Juni 2017, 10:33 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-overlay {

   display: none;

} </style>

</html>