Hi NPS,

Comments below.

Regards,

Larry

On Apr 10, 4:01 am, NPS <[email protected]> wrote:
> Just discovered SIMILE Timeline and it's an amazing tool--thanks to
> the developers.
>
> I have a few questions about formatting the bubble, which I haven't
> really gotten a good answer on from reviewing discussions, help, etc.
>
> 1. Setting bubble height...
>
> I have tried to do this both by coding in my html document:
>
>   var theme = Timeline.ClassicTheme.create();
>             theme.event.bubble.width = 250;
>             theme.event.bubble.height = 200;
>
> As well as trying by fixing height/width in the .timeline-event-bubble-
> body in the timeline-bundle.css
>
> But while the bubble responds to the width adjustments, the height
> still extends beyond the parameter I'm setting.  Is there something
> else that I should be doing?

1. Are you using the current version of Timeline? You should be
loading from
http://api.simile-widgets.org/timeline/2.3.1/timeline-api.js
2. You set the max bubble height by using
    theme.event.bubble.maxHeight = 350; // pixels


>
> 2. Overflow: auto  in bubble
>
> Some of my bubble have a lot of text and I would like the option of
> adding scroll bars when necessary.
>
> I have attempted to set overflow: auto in the timeline-bundle.css
> bubble body setting, but this does not seem to be working.  Is there
> somewhere else that I need to make this addition?
>

If you remove all of your added css, and set the maxHeight, then
you'll get a scrollbar when your bubble content exceeds the height.


> 3. My next question is: is there a way to embed an object in the
> bubble (such as audio clip or video clip)?  Is there something I have
> to do to the fillinfobubble setting (like add a variable)?  And is
> that done in the sources.js file or is the over-riding done in my html
> document (and if so, exactly where in the html document should the
> script appear)?
>

You should write your own function that will supply the bubble's
content. That way, the content can be anything that you want. search
the newsgroup for how to do supply your own bubble content.

> 4. Lastly, is there a way to instruct links in a bubble to open within
> the bubble, as opposed to another page?  Or maybe even open with
> another pop up window?

You can do any of this by supplying your own bubble content.

>
> Many thanks for any assistance.
--~--~---------~--~----~------------~-------~--~----~
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