I've been wanting to put the LJ icons I create in table-format posting for some time now, but couldn't really be bothered with writing up tables again and again or copy-pasting groups of cells or something. I'm lazy that way. ;) So I ended up getting into geek mode for a few hours tonight and came up with this --
a script that takes a (preset or
(
Read more... )
Comments 316
Reply
Reply
Reply
Reply
Reply
What do you mean by "second row with the numbers"? You mean, how to automatically generate the numbers from how many images you enter in the form?
Reply
Anyway, in case you do know the trick anyway, I wrote down the code I'm talking about:
( ... )
Reply
Hmm. I can't exactly tell how you've implemented your generator through the HTML output, although I believe one of my templates have that sort of layout. What happens in my script, though, is that the "body" contains not just one row of cells but two rows -- one row first for the numbers and another row for the images. :) The number of icons (for the number of the icon) is handled by a counter variable and incremented each time an icon is "placed" in the resulting HTML, not after EACH icon; each row in my template could have one, two, three, etc number of icons (as opposed to just one).
Reply
Reply
Reply
Reply
Reply
Reply
Reply
Leave a comment