Vorlage:FlogrThumbs: Unterschied zwischen den Versionen

Aus RTW

(relative url)
(losing index.php)
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 = '/extensions/flogr/index.php?type=sets'+amp+'setId=</html>{{{1}}}<html>';
+
var url = '/extensions/flogr/?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:12 Uhr