Vorlage:FlogrThumbs: Unterschied zwischen den Versionen

Aus RTW

(shot at anchorencode)
(storing tasks in global instead of function call - not better, but hopefully functional)
Zeile 2: Zeile 2:
 
<div id="flogrthumb_container_</html>{{anchorencode:{{{2}}}}}<html>" class="flogrthumb" style="display:none"></div>
 
<div id="flogrthumb_container_</html>{{anchorencode:{{{2}}}}}<html>" class="flogrthumb" style="display:none"></div>
 
<script type="text/javascript">
 
<script type="text/javascript">
jQuery(document).ready(function() {
+
if (typeof flogrThumbsTasks === 'undefined') { flogrThumbsTasks = new Array(); }
flogrThumbs('flogrthumb_container_</html>{{anchorencode:{{{2}}}}}<html>', '</html>{{{1}}}<html>', '</html>{{{2}}}<html>');
+
flogrThumbsTasks.push({
 +
domId: 'flogrthumb_container_</html>{{anchorencode:{{{2}}}}}<html>',  
 +
type: '</html>{{{1}}}<html>',
 +
value: '</html>{{{2}}}<html>'
 
});
 
});
 
</script>
 
</script>
 
</html>
 
</html>

Version vom 18. Februar 2012, 12:01 Uhr