As mentioned by the previous posters, the bubbles can contain almost
anything.  How you go about getting what you
want, I think, depends on your situation.

I have tried both the function override of the bubble composer and
providing the html in the delivered xml file.
In my case, the latter worked better for me.  My timeline info comes
from a database query, the results of which are
formatted into the requisite xml format required by the timeline at
the server.  I found that it was easier to do all the
layout (tables ordered lists, url's) at the server, and leave the
styling at the client via css.  The bubbles on my timeline
carry a fair amount of detail which displays nicely as a table.  Some
of those table cell values are also links which allow
the user to generate a new timeline based on params sent back to the
server.  It is all very flexible.

Partly this is due to the fact that I am very weak in javascript and
fairly strong on perl.  The other part is that I like
to leave as little processing as possible to the client, as I don't
know what browser the client might be using.  Yet
another consideration that came into play was that my timeline is
generated entirely dynamically, based on inputs
from a form that the user fills out(much like NPR has on their
timeline), so there are no static html pages or xml files.

Any of the methods mentioned by responders to this post will work, and
it is worth the time to explore them to
see which might work best for you.

my $0.02 worth

wjw


On May 21, 5:48 am, Marko <[email protected]> wrote:
> Don't use html, but use css. Break down all elements into the database
> (json/spreadsheets) and you can style every item in the lens like you
> want with css. You can even have scrollbars in the bubble.
>
> On May 21, 2:11 am, [email protected] wrote:
>
> > Hi,
>
> > You can also override the function that composes the bubbles. That way you 
> > don't have to mix presentation html in with your data. See other messages 
> > about how to overwrite the bubble compose function.
>
> > Larry
> > Sent via BlackBerry from T-Mobile
>
> > -----Original Message-----
> > From: Jon Crump <[email protected]>
>
> > Date: Wed, 20 May 2009 11:46:55
> > To: SIMILE Widgets<[email protected]>
> > Subject: Re: Timeline: formatting the description bubble
>
> > On Wed, 20 May 2009, jgro wrote:
>
> > > Has anyone out there been able to add any formatting to the
> > > description bubble on a timeline (ie. when you click on a dot, a
> > > bubble with a more in-depth description of the event pops up).  We
> > > need a list of items to be displayed in this bubble.  I tried adding
> > > some html tags within the xml file, but simile doesn't seem to like
> > > them.  Any help would be appreciated!  Thanks!
>
> > You can use html tags within the xml description element if you escape all
> > the tag brackets thus:
>
> > for <element> use:
> > <element>
>
> > hope that works for you,
>
> > Jon
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to