I wonder if we shouldn't get rid of those
<div> and <h1> altogether?
I guess this is sort of a relict from SmallWiki where there were no
environments. Nowadays designers can add <div> (or other tags) around
a widget within the environment if necessary. There is no need to
write Smalltalk for that anymore.
Does that make sense?
Lukas
It makes sense, but I am not 100% sure it is a good idea.
I am assuming that, where the environment once contained +header+, the
environment would now be able to contain
<div class="widget" id="header">+header+</div>
so that the environment designer takes responsibility for the tags.
---
I am aiming to migrate pier to use a similar UI to that of TiddlyWiki.
(see
tiddlywiki.com)
In tiddly wiki there is a fair bit of javascript programmatic control of
things, making things appear and disappear, with a variety of
animations. If a user had embedded a widget via +mywidget+ Would this
change mean loosing the handle necessary to hide/show widgets under
javascript control of the style.
Another feature of my tiddlywiki derivative is switching styles sheets
on the fly, via javascript. I am concerned that I may loose the handles
necessary to do this, however I can of course put them back in in the
environment as you stated.
I am not saying don't do it I am just trying to get my head around the
issues.
cheers
Keith