I don't see what you are describing in _this_ exhibit, but it reflects
exhibit's way of dealing with a "multi-valued property". So, for
example, if your exhibit had {label: "vowels", letters: ["A", "E", "I",
"O", "U"]} then a lens that contained <span
ex:content=".letters"></span> would display "A, E, I, O, and U". If you
want to override this behavior, you need to specify a different way of
rendering the individual values. I believe the following:
<span ex:content=".letters">
<div>
<span ex:content="value"></span>
</div>
</span>
will render each letter inside its own div (when you put stuff _inside_
a pair of ex:content tags, exhibit renders that inner material for
_each_ value of the content, and concatenates. ex:content="value" says
"use the actual value of the item being rendered, rather than any of its
properties".
jops wrote:
> Hello everyone,
>
> in the example created by David Huynh for an adjustable height
> timeline (http://people.csail.mit.edu/dfhuynh/projects/timeline-
> exhibit/timeline-exhibit2.html) I observe that when events have the
> same name and date they are added to the bubble and separated by
> comas, and an "and" separating the last item.
>
> Question: how can one change this format, removing the comas and the
> "and" ? Or at least change the "and" to another language ?
>
> This feature can have interesting applications for collecting events
> in the same bubble.
>
> Thank you very much for your attention and I would be very grateful if
> someone would be so king to reply.
> Paulo
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"SIMILE Widgets" 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/simile-widgets?hl=en
-~----------~----~----~----~------~----~------~--~---