On Jan 23, 7:09 pm, Kosmaton <[email protected]> wrote:
> I got closer to the goal today, check sndbxy3.tiddlyspace.com . It starts
> from the neui-em theme.
>
> But there are still many issues. Please see if you can help:
>
> 1) The *'locking' of the sidebars*. I put the Toggle[Left/Right]SideBarEm
> arrows in there, but they are not doing anything. In any case I need
> 'lock/unlock', not 'hide/show'. Hide behaviour would be bad, as it would
> hide the toggle arrow too!
> (When the sidebars are not locked, they slide over the central 
> width:90%tiddlers when hovered over. But when the sidebars are locked, the 
> central
> tiddlers must somehow fit in whatever space remains, i.e. using variable
> width.)
The neui-em theme has a config tiddler: http://sndbxy3.tiddlyspace.com/#zzConfig

which contains some cookies, that can be defined at startup:
// config.options.chkShowRightSidebar = false;          // false or true

just remove the leading // like this
config.options.chkShowRightSidebar = false;             // false or true

and the right sidebar is hidden, at startup.

If you look at the code inside  Toggle[Left/Right]SideBarEm, then
you'll see, that it changes the dpxxx parameters from displayArea and
the sidebars if clicked. Removing the dpxxx from the divs, removes the
funtions. Setting displayArea to width=90% overrules anything else
anyway. So if you want to change your fixed 90% some new js will be
needed.  ToggleSidebar can't do it anymore.

> 2) The *image map* did not work because it was *covered* (z-index) by the
> main div in NeUIemTheme, right after "<!-- tsRowBody -->". I removed 
> class='dp100
> clearfix row' from that div. Now the image map is fully clickable in Chrome
> and Opera; but still covered *in Firefox*: you can click the lower part of
> the thermometer quadrant but not the higher part. Odd?
It seems that FireFox  uses a height for the outermost <html> tag.
Changed it with firebug to 1em, it fixed it. But I am not sure, if
there are any side effects. On the other hand, the default theme has
the same behaviour, so it's not the framework.

> 3) *Image map hover 'animation' through jQuery* in MarkupPostHeader is still
> not working. Not sure if I can just invoke jQuery like that?
Nope. jQuery is allready invoked by the core, there is no need to
revoke it again.

I tested your js in Firebug console. It seems, that it invokes the
mouseover() function
but it seems that  "$(this)" is null and that's why the CSS change is
not tirggered.
Didn't do any further invastigation.

> 4) My page layout doesn't really use emastic properly. So I wonder if the
> extra loading time (?)
> is worth including that framework in my page (via the neui-em theme), ...

There is indeed a 200kByte difference in filesize, between an empty
default theme and neui-em. (having system-plugins, fxplugins, neui-em
included)
It mainly comes from the additional plugins (tagglyTagging,
gotoPlugin, searchoptions plugin, + some others), and some svgs.

But since TiddlySpace trasfers the site as a gzip to the pc it's
neui-em .. 288 kB
default .. 252 kB
so the difference shouldn't be that big :) (used: PageSpeed Firefox
plugin for measurement)

> ... or better start from a blank slate. But are there any 'blank
> slates' available for TiddlySpace, i.e. incorporating the TS extras wrt TW?
> I do like how neui-em displays tiddlers, though.
You changed the bahaviour in a very interesting way :) But activating
the sidebars by CSS only will imo not be possible. It will need some
additional js.
But lock/unlock should be done with zzConfig see above.

There are some other themes [1]. neui-em is already prepared to deal
with TiddlerTabsPlugin. (May be some CSS is needed. But this would be
my problem, since I'd fix it, because I want to have it :)

-m
[1] http://themes.tiddlyspace.com/

-- 
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.

Reply via email to