[tw5] Some odd stuff for the fun of it

Import the attachement into TW at the official site.

From the Recent tab, open the 3
Grid fill test bottom row and 3 Grid fill test top row tiddlers

Open “Grid fill test” tiddler last. Don’t worry about opening " Grid fill test 0", it’s a template.

Add and remove from the story river the Grid fill test bottom row and Grid fill test top row tiddlers and what the graphics of the other tiddlers.

gridtesttiddlers.json (2.56 KB)

I can’t explain why, but that was fun and visually appealing.

an interesting quirk I discovered by mistake because of the template, each tiddler opened adds its unique id to the css styling (for cyan block fill) in the template and the template (text widget transclusion) registers them all, instead of replacing any of the others. I use it for filling in nap sections like Wikipedia does for countries in their upper right corner world map on their pages.

1 Like

Dear 422 / Gloom (not gloomy)

After sweat I got the joke! :slight_smile: Though I do think a link to a TW that does it and explains it might evoke the startlement better :-).

Just moaning, TT x

Hi,
What do you try to prove?
You seem to dynamically define STYLE tags in the template, when the tiddler is opened. Those styles are active.

When the tiddlers are closed, the styles are gone. It seems to be intended behaviour. … Or am I missing something?

-m

I’d say you are missing “the fun of it.”

Pure fun. Creative play. It is good stuff for the brain and the soul.

Well, that’s what I got from it.

Hello Mario,

I only said something about the unexpected behavior of the text widget in the template appending multiple ids to the style when it was just expected to read and transclude just one id in the field* of the currentTiddler of the tiddler it was being displayed in. I was expecting the id of each new tiddler opened to replace the id of the previously opened tiddler.

*each tiddler just had one id in the field being read

it will be useful for the video game interface svg constructs that I replaced the text content of the top bars and right sidebar divs (site title, subtitle, searchbar, toolbars and tabs segments) with. I been working on including TW buttons/actions functions (code) into them.