Vorlage:FlogrThumbs: Unterschied zwischen den Versionen

Aus RTW

(classes)
(cutting fat)
Zeile 1: Zeile 1:
 
<html>
 
<html>
<div id="flogrthumb_container" class="flogrthumb">
+
<div id="flogrthumb_container" class="flogrthumb"></div>
<div id="flogrthumb_wrapper" class="container"></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('#flogrthumb_wrapper').html(res[0]);
+
jQuery('#flogrthumb_container').html(res[0]);
 
});
 
});
 
});
 
});
 
</script>
 
</script>
 
</html>
 
</html>

Version vom 21. August 2011, 20:36 Uhr