Hi TwWizards
I have this wonderfull script from Eric:
<script>
var out="";
var txt=store.getTiddlerText("CoverList","Get Urls from the
Coverlist");
var items=txt.split("\n----\n");
if (!items[1]) items=txt.split("\n");
for (var i=0; i<items.length; i++) {
if (i>0 && i/5==Math.floor(i/5)) out += "|\n"; // start a new row
out += "|"+items[i];// add item to row
}
out += "|\n"; // end last row
return out;
</script>
I have tried all sorts of combinations to get the image markup to
surround items(Urls) fetched from the CoverList.
I did: out += "|[img["+items[i];// add item to row
and: out += "]]|\n";
But it only worked with one item, as soon as I added items to the
CoverList the table was broken..
regards Måns Mårtensson
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/tiddlywiki?hl=en.