Oberflächenadministratoren, SMW-Administratoren, SMW-Kuratoren, SMW-Editoren, Oversighter, Administratoren, Widget-Bearbeiter
1.217
Bearbeitungen
KKeine Bearbeitungszusammenfassung |
(load jquery-plugin asyncronous) |
||
Zeile 1: | Zeile 1: | ||
< | <noinclude>__NOTOC__ | ||
TwentyTwenty-Image Widget | |||
< | </noinclude> | ||
<includeonly> | |||
<style> | <style> | ||
.twentytwenty-wrapper { | .twentytwenty-wrapper { | ||
Zeile 17: | Zeile 17: | ||
} | } | ||
</style> | </style> | ||
<div class="twentytwenty-container"> | <div class="twentytwenty-container"> | ||
<img src="<!--{$Bild1}-->" /> | <img src="<!--{$Bild1}-->" /> | ||
<img src="<!--{$Bild2}-->" /> | <img src="<!--{$Bild2}-->" /> | ||
</div> | </div> | ||
</ | |||
</ | <script> | ||
RLQ.push(function(){ | |||
$(function(){ | |||
$.getScript( "https://fuerthwiki.de/wiki/resources/lib/twentytwenty/jquery.twentytwenty.min.js", function( data, textStatus, jqxhr ) { | |||
console.log("initializing ImageSlider"); | |||
$('.twentytwenty-container').twentytwenty(); | |||
}); | |||
}); | |||
}); | |||
</script> | |||
</includeonly> |
Bearbeitungen