Hi Rouilj,
Sorry if this is what you attempted already but here is what I would
do if I was working on this.
Firstly, I would create CSS classes for each of the states of things
that will be changing. E.g.
- noBG (for when I don't want the background image to show)
- noTitle (for when I don't want to show the title div)
The CSS would be a little like
.noBG {
background-image: none;
}
.noTitle .title{
display: none;
}
I would then use JQuery to add and remove classes to the elements as
and when required. So in your javascript that performs things like
exiting the presentation I would have JQuery like:
$(elem-with-bg).removeClass(hasBG);
$(tiddler-on-display).removeClass(noTitle);
Similarly I'd apply these classes when I needed the effects to be
used.
Hope that helps a bit,
colmjude
--
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.