Vorlage:FlogrThumbs: Unterschied zwischen den Versionen
Aus RTW
Wiese (Diskussion | Beiträge) (classes) |
Wiese (Diskussion | Beiträge) (cutting fat) |
||
Zeile 1: | Zeile 1: | ||
<html> | <html> | ||
− | <div id="flogrthumb_container" class="flogrthumb"> | + | <div id="flogrthumb_container" class="flogrthumb"></div> |
− | |||
− | </div> | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
jQuery(document).ready(function() { | jQuery(document).ready(function() { | ||
Zeile 8: | Zeile 6: | ||
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); | ||
− | jQuery('# | + | jQuery('#flogrthumb_container').html(res[0]); |
}); | }); | ||
}); | }); | ||
</script> | </script> | ||
</html> | </html> |
Version vom 21. August 2011, 20:36 Uhr