Widget:Twentytwenty: Unterschied zwischen den Versionen

Aus FürthWiki

Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 11: Zeile 11:
<script type="text/javascript">
<script type="text/javascript">
$(function(){
$(function(){
   $('.twentytwenty-container').twentytwenty();
   $('.twentytwenty-container').twentytwenty({
    before_label: 'January 2017', // Set a custom before label
    after_label: 'March 2017', // Set a custom after label
  });
});
});
</script>
</script>
</html>
</html>

Version vom 13. Juni 2017, 09:05 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({
   before_label: 'January 2017', // Set a custom before label
   after_label: 'March 2017', // Set a custom after label
 });

}); </script> </html>