Vorlage:FlogrThumbs: Unterschied zwischen den Versionen
Aus RTW
Wiese (Diskussion | Beiträge) (rels) |
Wiese (Diskussion | Beiträge) (relative url) |
||
Zeile 5: | Zeile 5: | ||
jQuery('#flogrthumb_container').addClass('initialized loading'); | jQuery('#flogrthumb_container').addClass('initialized loading'); | ||
var amp = String.fromCharCode(38); // wiki escapes ampersands | var amp = String.fromCharCode(38); // wiki escapes ampersands | ||
− | var url = ' | + | var url = '/extensions/flogr/index.php?type=sets'+amp+'setId=</html>{{{1}}}<html>'; |
jQuery.get(url, function(data) { | jQuery.get(url, function(data) { | ||
var res = data.match(/.*<div id=['"]thumbnail_container['"]>([\s\S]+?)<\/div>.*/ig); | var res = data.match(/.*<div id=['"]thumbnail_container['"]>([\s\S]+?)<\/div>.*/ig); |
Version vom 21. August 2011, 22:11 Uhr