|
|
(17 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) |
Zeile 1: |
Zeile 1: |
− | <html>
| + | <div class="flogrthumbs" style="display:none" data-flogr-type="{{{1}}}" data-flogr-value="{{{2}}}"></div> |
− | <div id="flogrthumb_container" class="flogrthumb"></div> | |
− | <script type="text/javascript">
| |
− | jQuery(document).ready(function() {
| |
− | jQuery('#flogrthumb_container').addClass('initialized loading');
| |
− | var amp = String.fromCharCode(38); // wiki escapes ampersands
| |
− | var url = '/extensions/flogr/index.php?type=sets'+amp+'setId=</html>{{{1}}}<html>';
| |
− | jQuery.get(url, function(data) {
| |
− | var res = data.match(/.*<div id=['"]thumbnail_container['"]>([\s\S]+?)<\/div>.*/ig);
| |
− | jQuery('#flogrthumb_container').removeClass('loading').html(res[0]);
| |
− | jQuery('#flogrthumb_container a').attr('rel', 'lightbox[</html>{{{1}}}<html>]');
| |
− | new Lightbox();
| |
− | });
| |
− | });
| |
− | </script> | |
− | </html>
| |