[Simile-Widgets] Re: Exhibit - Custom Bubble Position (thickbox style)?
Hi Jonno B Did you ever make any progress with this? I'm trying to do something similar. best, Jon On Thursday, August 26, 2010 at 4:48:42 PM UTC-7, Jonno B wrote: > > Hi All, > > Some background: I am creating a custom Exhibit data bubble using this > script: > > function showItem(elmt) { > var itemID = Exhibit.getAttribute(elmt, "itemID"); > Exhibit.UI.showItemInPopup(itemID, elmt, exhibit.getUIContext()); > } > > and this link in the viewpanel: > > ex:itemID-content="value"> > > > When a data bubble is created in Exhibit, it's CSS position is > automatically added to the generated bubble DIV container - eg: > > > > > This positions the bubble directly above the link that generated it. > > How can I modify/control the automatically generated "left" and "top" > style? > > I am wanting to achieve a full page height and width bubble (using css) - > one that floats over the rest of the page (thickbox style). I am getting > there with my CSS, but if there is a way to control the automatic style > rules it would make it much easier. Any help/insight is appreciated. > > Regards, > Jon > > > -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To unsubscribe from this group and stop receiving emails from it, send an email to simile-widgets+unsubscr...@googlegroups.com. To post to this group, send email to simile-widgets@googlegroups.com. Visit this group at https://groups.google.com/group/simile-widgets. For more options, visit https://groups.google.com/d/optout.
Re: [Simile-Widgets] bubble title
Hi Luis, All, thanks reply. I am not sure on how to post an example. What I wish is the following: say I have, for each event to be shown, a short and a long title. I wish to display the short title in the timeline, the long one in the corresponding bubble (on the top line). How do I do? More in general, I am not sure on how to customize the bubble. Is there a tutorial/wiki? thanks mario On Saturday, 18 March 2017 07:12:21 UTC+1, Luis Miguel Morillas wrote: > > Send an example, please. Maybe you can do it with some css? > Saludos, > -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To unsubscribe from this group and stop receiving emails from it, send an email to simile-widgets+unsubscr...@googlegroups.com. To post to this group, send email to simile-widgets@googlegroups.com. Visit this group at https://groups.google.com/group/simile-widgets. For more options, visit https://groups.google.com/d/optout.
Re: [Simile-Widgets] bubble title
Send an example, please. Maybe you can do it with some css? Saludos, -- luismiguel (@lmorillas) 2017-03-18 2:28 GMT+01:00 mario chiari : > Hi > > states: > > title - text title that goes next to the tape in the Timeline. Also shown in > the bubble. The title attribute is optional. Leave it out if you want just > an icon or icon and tape. The description will be shown in the bubble when > the icon or tape is clicked. > > I like both the title next to the icon/tape and into the bubbble. BUT, i > would like to have different strings in the two locations. How do I get it? > Is it possible? > thanks > mario > > -- > You received this message because you are subscribed to the Google Groups > "SIMILE Widgets" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to simile-widgets+unsubscr...@googlegroups.com. > To post to this group, send email to simile-widgets@googlegroups.com. > Visit this group at https://groups.google.com/group/simile-widgets. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To unsubscribe from this group and stop receiving emails from it, send an email to simile-widgets+unsubscr...@googlegroups.com. To post to this group, send email to simile-widgets@googlegroups.com. Visit this group at https://groups.google.com/group/simile-widgets. For more options, visit https://groups.google.com/d/optout.
[Simile-Widgets] bubble title
Hi states: title - text title that goes next to the tape in the Timeline. Also shown in the bubble. The title attribute is optional. Leave it out if you want just an icon or icon and tape. The description will be shown in the bubble when the icon or tape is clicked. I like both the title next to the icon/tape and into the bubbble. BUT, i would like to have different strings in the two locations. How do I get it? Is it possible? thanks mario -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To unsubscribe from this group and stop receiving emails from it, send an email to simile-widgets+unsubscr...@googlegroups.com. To post to this group, send email to simile-widgets@googlegroups.com. Visit this group at https://groups.google.com/group/simile-widgets. For more options, visit https://groups.google.com/d/optout.
[Simile-Widgets] Unable to trigger info bubble
Hi developers! I am picking up an already started project with Simile Timeline v2.3. The timeline uses duration events (tapes) but they do not show a info bubble when clicked. I have but breakpoints in the following places: Timeline.OriginalEventPainter.prototype._showBubble Timeline.OriginalEventPainter.prototype.showBubble Timeline.OriginalEventPainter.prototype._onClickDurationEvent But none of these are triggered. My events are at the highest z-index so the click event should not be blocked. *Do I need to enable info bubbles somewhere?* Thanks -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To unsubscribe from this group and stop receiving emails from it, send an email to simile-widgets+unsubscr...@googlegroups.com. To post to this group, send email to simile-widgets@googlegroups.com. Visit this group at http://groups.google.com/group/simile-widgets. For more options, visit https://groups.google.com/d/optout.
[Simile-Widgets] Formatting the bubble in Timeline
I would like to format the bubble using a table layout. (I am using Timeline not Exhibit.) I can do this by generating XML data looking like this: <style> h1, h4 { color: red; } </style> <h1> Academy Awards - 1939 </h1 > <table border="1" > <tr > <td > Best Film: </td > <td > <h4> Gone With the Wind </h4 > </td > </tr > <tr > <td > Best Actor: </td > <td > <h4> Robert Donat </h4 ></td > </tr > <tr > <td > Best Actress: </td > <td > <h4> Vivien Leigh </h4 > </td > </tr > </table > <br /> <br /> <br>OSCAR<br /><br /> <a href=" https://www.youtube.com/embed/v/h2oX0zQA67U " target = " _blank ">See it on You Tube</a> This is obviously cumbersome, difficult to read etc. I believe I should be able to use CSS and a class statement to replace all that HTML stuff. Is this right and can someone point me to a description of "How"? You can see where this used here: http://www.timelinecontinuum.com/akm1207.aspx TIA -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To unsubscribe from this group and stop receiving emails from it, send an email to simile-widgets+unsubscr...@googlegroups.com. To post to this group, send email to simile-widgets@googlegroups.com. Visit this group at http://groups.google.com/group/simile-widgets. For more options, visit https://groups.google.com/d/optout.
Re: [Simile-Widgets] Ex3 scripted - How can I suppress double info bubble?
Andrew, we haven't made any changes to timeline that should change this behavior. What *have* changed, which I think may be the problem, is the way we load timeline. It now gets loaded a different way that probably makes it load *later*. So I suspect your redefition is now happening *before* timeline gets loaded, so the original definition comes in later and overwrites yours. I suggets you try attaching your function redefinition to an event that gets triggered late in the initializations, after extensions have been loaded. I'd start by trying the exhibitConfigured event. See https://github.com/zepheira/exhibit3/wiki/Scripted-Event-API On 10/24/2013 10:34 PM, Drew wrote: I am upgrading my Exhibit (' http://www.TheWidjiWay.com/ <http://www.thewidjiway.com/> ') from 2.x to 3.0. I currently utilize a function to suppress the bubble generated from the Timeline, so that only the Map bubble renders on a click from either. You can see this if you click the single 2013 entry in the timeline. The function = </pre><tt>Timeline.OriginalEventPainter.prototype._showBubble = function(x, y, </tt><tt>evt) {} </tt><pre style="margin: 0em;"> This does not seem to work with new 3.x version of Exhibit. (Both info bubbles from the timeline and the map render.) Does anyone know how I could replicate this behavior? Anyone? Buelher? Thanks in advance, Drew -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To unsubscribe from this group and stop receiving emails from it, send an email to simile-widgets+unsubscr...@googlegroups.com. To post to this group, send email to simile-widgets@googlegroups.com. Visit this group at http://groups.google.com/group/simile-widgets. For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To unsubscribe from this group and stop receiving emails from it, send an email to simile-widgets+unsubscr...@googlegroups.com. To post to this group, send email to simile-widgets@googlegroups.com. Visit this group at http://groups.google.com/group/simile-widgets. For more options, visit https://groups.google.com/groups/opt_out.
[Simile-Widgets] Ex3 scripted - How can I suppress double info bubble?
I am upgrading my Exhibit (' http://www.TheWidjiWay.com/<http://www.thewidjiway.com/> ') from 2.x to 3.0. I currently utilize a function to suppress the bubble generated from the Timeline, so that only the Map bubble renders on a click from either. You can see this if you click the single 2013 entry in the timeline. The function = Timeline.OriginalEventPainter.prototype._showBubble = function(x, y, evt) {} This does not seem to work with new 3.x version of Exhibit. (Both info bubbles from the timeline and the map render.) Does anyone know how I could replicate this behavior? Anyone? Buelher? Thanks in advance, Drew -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To unsubscribe from this group and stop receiving emails from it, send an email to simile-widgets+unsubscr...@googlegroups.com. To post to this group, send email to simile-widgets@googlegroups.com. Visit this group at http://groups.google.com/group/simile-widgets. For more options, visit https://groups.google.com/groups/opt_out.
[Simile-Widgets] Open Lightbox instead of bubble
Hi all, I'm trying to open Lightbox from the event band - is there any way this can be done? I found this: http://www.simile-widgets.org/wiki/How_to_integrate_Thickbox_into_Exhibit but it doesn't show how to open Thickbox/Lightbox instead of a bubble. Can anyone help? Would be VERY grateful! Thanks -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To unsubscribe from this group and stop receiving emails from it, send an email to simile-widgets+unsubscr...@googlegroups.com. To post to this group, send email to simile-widgets@googlegroups.com. Visit this group at http://groups.google.com/group/simile-widgets. For more options, visit https://groups.google.com/groups/opt_out.
[Simile-Widgets] Displaying bubble inside a Iframe
Hello, I use to display my exhibit webpage in a IFrame inside Sharepoint. In my initial view, I make a reference to a sub-lens using . When clicking on this link, a bubble is displayed with much more informations. As I'm inside a Iframe, my problem is that the bubble may not be entirely displayed because the bubble size is calculated with "docHeight = $(window).height();" from jquery.simile.bubble.js. The bubble top may be hidden by the HTML parent. I wonder if someone already faces this problem and if a workaround exists? Regards, Brice -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To unsubscribe from this group and stop receiving emails from it, send an email to simile-widgets+unsubscr...@googlegroups.com. To post to this group, send email to simile-widgets@googlegroups.com. Visit this group at http://groups.google.com/group/simile-widgets. For more options, visit https://groups.google.com/groups/opt_out.
[Simile-Widgets] Bubble does not display properly in IFRAME: misaligned arrow
I got the SIMILE Timeline working, but as soon as I embed it into an iframe, the bubble arrows no longer align to the bubble body. This is a fragment of a timeline in a standalone page, rendering properly: <https://lh3.googleusercontent.com/-mY2OQj_Hh0Q/UVOMC7HYMKI/AJQ/ZoDWSpKOXJ8/s1600/Timeline-No-Iframe.jpg> And this is how it renders as soon as I put it into an iframe: <https://lh5.googleusercontent.com/-Ov07l5GM7jw/UVOMNryXFfI/AJY/mgkDN8oz-tA/s1600/Timeline-Iframe.jpg> Depending on the scroll and zoom of the timeline, the placement will vary, but it is consistently mangled in this way. Any thoughts as to why this is happening or what I can do to correct it? -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To unsubscribe from this group and stop receiving emails from it, send an email to simile-widgets+unsubscr...@googlegroups.com. To post to this group, send email to simile-widgets@googlegroups.com. Visit this group at http://groups.google.com/group/simile-widgets?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
[Simile-Widgets] Re: size of timeline event bubble
var theme = Timeline.getDefaultTheme(); theme.event.bubble.width = 500; theme.event.bubble.height = 400; theme.mouseWheel = 'scroll'; bp.theme = theme; Note that bp is a dictionary that I pass to Timeline.createBandInfo(bp) Hope that helps! On Friday, February 8, 2013 2:28:17 PM UTC-8, Jeff Chapman wrote: > > Is there a way to configure the size of the event bubble that pops up when > a user clicks on an event? > > Thanks. > > -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To unsubscribe from this group and stop receiving emails from it, send an email to simile-widgets+unsubscr...@googlegroups.com. To post to this group, send email to simile-widgets@googlegroups.com. Visit this group at http://groups.google.com/group/simile-widgets?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: [Simile-Widgets] size of timeline event bubble
>> Is there a way to configure the size of the event bubble that pops up when a >> user clicks on an event? After: var theme = Timeline.ClassicTheme.create(); Then: theme.event.bubble.width = 800; theme.event.bubble.height = 0 There is something that takes care of itself if you just specify the width. I forget. Experiment. Thanks Jeff Roehl jroe...@yahoo.com (818) 912-7530 > > From: Jeff Chapman >To: simile-widgets@googlegroups.com >Sent: Friday, February 8, 2013 4:28 PM >Subject: [Simile-Widgets] size of timeline event bubble > > >Is there a way to configure the size of the event bubble that pops up when a >user clicks on an event? > > >Thanks. > > -- >You received this message because you are subscribed to the Google Groups >"SIMILE Widgets" group. >To unsubscribe from this group and stop receiving emails from it, send an >email to simile-widgets+unsubscr...@googlegroups.com. >To post to this group, send email to simile-widgets@googlegroups.com. >Visit this group at http://groups.google.com/group/simile-widgets?hl=en. >For more options, visit https://groups.google.com/groups/opt_out. > > > > > -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To unsubscribe from this group and stop receiving emails from it, send an email to simile-widgets+unsubscr...@googlegroups.com. To post to this group, send email to simile-widgets@googlegroups.com. Visit this group at http://groups.google.com/group/simile-widgets?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
[Simile-Widgets] size of timeline event bubble
Is there a way to configure the size of the event bubble that pops up when a user clicks on an event? Thanks. -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To unsubscribe from this group and stop receiving emails from it, send an email to simile-widgets+unsubscr...@googlegroups.com. To post to this group, send email to simile-widgets@googlegroups.com. Visit this group at http://groups.google.com/group/simile-widgets?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
[Simile-Widgets] display only Year in a bubble (TIMELINE)
Hello! I am a new to Timeline. I would like bubble to show only Year and not to show Month, Day, Hour, Minute/ For example, in XML file I write *event start='860' * Bubble shows *Wed, 31 Dec 0859 18:00:00 GMT *I want bubble to show* 860 *and no more* *Please, help me* * PS Excuse me if such topic already exists, I just searched for 30 minutes and found no answer. Thanks* * -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To view this discussion on the web visit https://groups.google.com/d/msg/simile-widgets/-/MAyai3WA6YYJ. To post to this group, send email to simile-widgets@googlegroups.com. To unsubscribe from this group, send email to simile-widgets+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en.
Re: [Simile-Widgets] Re: Event bubble disappears when click on it at IE
This bug appeared in 2.3 that was downloaded from the trunk. On Thursday, August 23, 2012 11:41:47 AM UTC-7, David Karger wrote: > Important clarification: NOBODY should be using the code at > http://static.simile.mit.edu/ . It is out of date and the machine isn't > reliable. Instead, you should use the code at > http://www.simile-widgets.org/ or http://trunk.simile-widgets.org/ . The > machine is more reliably up, and the code is newer with bugfixes that don't > appear at static.simile. www.simile-widgets.org has the latest release > (exhibit 2.2) and trunk.simile-widgets.org has not-yet-released bugfixes > (hopefully to be released in exhibit 2.3). > > > On 8/23/2012 12:47 PM, Assaf Israel wrote: > > I've been looking for a way around this all morning. > Thanks the tip ! > > On Friday, February 24, 2012 4:11:36 AM UTC-8, omer ozkan wrote: >> >> I have been struggling for 5 hours to this problem and find a solution >> myself. >> The problem is, when clicking on an event bubble, bubble disappears so >> that any link on the bubble doesn't lead to anywhere, because bubble >> disappears before link works. >> >> -For those encounter the same problem, here is my solution. - >> >> In the simile-ajax-bundle.js, just remove inside the _onBodyMouseDown >> function so that the bubble can only be closed by clicking click >> button or outside of bubble. >> >> SimileAjax.WindowManager._onBodyMouseDown = function(B, A, C) { >> // if (!("eventPhase" in A) || A.eventPhase == A.BUBBLING_PHASE) { >>// SimileAjax.WindowManager.cancelPopups(A); >>// } >> }; >> >> >> Note that, don't remove whole method and be sure that you are using >> your local copy of simile-ajax-bundle.js not the one at >> http://static.simile.mit.edu. >> >> Good luck > > -- > You received this message because you are subscribed to the Google Groups > "SIMILE Widgets" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/simile-widgets/-/zB9_RQnqRM8J. > To post to this group, send email to simile-...@googlegroups.com > . > To unsubscribe from this group, send email to > simile-widget...@googlegroups.com . > For more options, visit this group at > http://groups.google.com/group/simile-widgets?hl=en. > > > -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To view this discussion on the web visit https://groups.google.com/d/msg/simile-widgets/-/wjNyBcNMU58J. To post to this group, send email to simile-widgets@googlegroups.com. To unsubscribe from this group, send email to simile-widgets+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en.
Re: [Simile-Widgets] Re: Event bubble disappears when click on it at IE
Important clarification: NOBODY should be using the code at http://static.simile.mit.edu/ . It is out of date and the machine isn't reliable. Instead, you should use the code at http://www.simile-widgets.org/ or http://trunk.simile-widgets.org/ . The machine is more reliably up, and the code is newer with bugfixes that don't appear at static.simile. www.simile-widgets.org has the latest release (exhibit 2.2) and trunk.simile-widgets.org has not-yet-released bugfixes (hopefully to be released in exhibit 2.3). On 8/23/2012 12:47 PM, Assaf Israel wrote: I've been looking for a way around this all morning. Thanks the tip ! On Friday, February 24, 2012 4:11:36 AM UTC-8, omer ozkan wrote: I have been struggling for 5 hours to this problem and find a solution myself. The problem is, when clicking on an event bubble, bubble disappears so that any link on the bubble doesn't lead to anywhere, because bubble disappears before link works. -For those encounter the same problem, here is my solution. - In the simile-ajax-bundle.js, just remove inside the _onBodyMouseDown function so that the bubble can only be closed by clicking click button or outside of bubble. SimileAjax.WindowManager._onBodyMouseDown = function(B, A, C) { // if (!("eventPhase" in A) || A.eventPhase == A.BUBBLING_PHASE) { // SimileAjax.WindowManager.cancelPopups(A); // } }; Note that, don't remove whole method and be sure that you are using your local copy of simile-ajax-bundle.js not the one at http://static.simile.mit.edu. Good luck -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To view this discussion on the web visit https://groups.google.com/d/msg/simile-widgets/-/zB9_RQnqRM8J. To post to this group, send email to simile-widgets@googlegroups.com. To unsubscribe from this group, send email to simile-widgets+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en. -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to simile-widgets@googlegroups.com. To unsubscribe from this group, send email to simile-widgets+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en.
[Simile-Widgets] Re: Event bubble disappears when click on it at IE
I've been looking for a way around this all morning. Thanks the tip ! On Friday, February 24, 2012 4:11:36 AM UTC-8, omer ozkan wrote: > > I have been struggling for 5 hours to this problem and find a solution > myself. > The problem is, when clicking on an event bubble, bubble disappears so > that any link on the bubble doesn't lead to anywhere, because bubble > disappears before link works. > > -For those encounter the same problem, here is my solution. - > > In the simile-ajax-bundle.js, just remove inside the _onBodyMouseDown > function so that the bubble can only be closed by clicking click > button or outside of bubble. > > SimileAjax.WindowManager._onBodyMouseDown = function(B, A, C) { > // if (!("eventPhase" in A) || A.eventPhase == A.BUBBLING_PHASE) { >// SimileAjax.WindowManager.cancelPopups(A); >// } > }; > > > Note that, don't remove whole method and be sure that you are using > your local copy of simile-ajax-bundle.js not the one at > http://static.simile.mit.edu. > > Good luck -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To view this discussion on the web visit https://groups.google.com/d/msg/simile-widgets/-/zB9_RQnqRM8J. To post to this group, send email to simile-widgets@googlegroups.com. To unsubscribe from this group, send email to simile-widgets+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en.
[Simile-Widgets] Re: Exhibit map-view: formatting bubble when having multiple items at the same location
I would be interested in a solution to this as well. I've seen a solution where just the ID is displayed (see Presidents Example), however this may not be feasible for all datasets as duplicate Names may occur. I am currently relying on the drupal version of exhibit which uses a number as the ID. This number is consequently displayed in the bubble appearing when clicking on a cluster. Is there any way to change this behavior? Possibly via an expression? Am Montag, 17. August 2009 13:17:42 UTC+2 schrieb steff: > > Hi, > > I'm searching for a way to format the map bubble when there is more > than 1 item at the same location. To clarify: > > - if there are - let's say - 3 items, all located in Los Angeles. When > one clicks the map marker (displaying just a '3') one will get a > bubble revealing the 3 items' titles and nothing else. > > Now I would like to add some information to that specific bubble. How > can I do that? > > Thanks in advance, > steff -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To view this discussion on the web visit https://groups.google.com/d/msg/simile-widgets/-/TJlp6BqIqj4J. To post to this group, send email to simile-widgets@googlegroups.com. To unsubscribe from this group, send email to simile-widgets+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en.
Re: [Simile-Widgets] How to cut-off time in timeline-event-bubble-time
The Timeline default is to use Timeline.GregorianDateLabeller.labelPrecise. The painter calls showBubble when you click an event. This calls fillInfoBubble on the event. This calls fillTime on the event, which is what calls labelPrecise. To change this, make your own copy of the labelPrecise function and load it after you load Timeline. (I usually recommend against modifying the timeline source for these kinds of changes, and certainly don't try to make the edits in the timeline bundle file. Much better to load a clean copy of timeline and apply your own patches afterwards.) I've been using Steven Levithan's Date Format.js http://stevenlevithan.com/assets/misc/date.format.js This provides most common date formats: dateFormat.masks = { "default": "ddd mmm dd HH:MM:ss", shortDate: "m/d/yy", mediumDate: "mmm d, ", longDate: " d, ", fullDate: ", d, ", shortTime: "h:MM TT", mediumTime: "h:MM:ss TT", longTime: "h:MM:ss TT Z", isoDate:"-mm-dd", isoTime:"HH:MM:ss", isoDateTime:"-mm-dd'T'HH:MM:ss", isoUtcDateTime: "UTC:-mm-dd'T'HH:MM:ss'Z'" }; So using date.format.js and a custom labelPrecise: Timeline.GregorianDateLabeller.prototype.labelPrecise = function(date) { return SimileAjax.DateTime.removeTimeZoneOffset( date, this._timeZone //+ (new Date().getTimezoneOffset() / 60) ).format("fullDate"); }; gives: Wednesday, December 31, 1962 .format("shortDate") gives "12/31/62" --Mike On Jul 26, 2012, at 6:47 AM, Eugen Zhuravlov wrote: > Hi Gents, > Did anybody know how I can cut off "hh:mm:ss" from timeline? > I need only dates in my popup. But now I also receive date & time - "21:00:00 > UTC". > I try to look in timeline-bundle.js but i cannot find in which function popup > generate is going to change format of date output. > Can somebody give me a function name or method by which I can fix this? > > Thanks in advance, > Eugen. > > > -- > You received this message because you are subscribed to the Google Groups > "SIMILE Widgets" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/simile-widgets/-/3FToLTsWp8IJ. > To post to this group, send email to simile-widgets@googlegroups.com. > To unsubscribe from this group, send email to > simile-widgets+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/simile-widgets?hl=en. -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to simile-widgets@googlegroups.com. To unsubscribe from this group, send email to simile-widgets+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en.
Re: [Simile-Widgets] How to cut-off time in timeline-event-bubble-time
This might help: http://simile-widgets.org/wiki/Exhibit/Formats On 7/26/2012 6:47 AM, Eugen Zhuravlov wrote: Hi Gents, Did anybody know how I can cut off "hh:mm:ss" from timeline? I need only dates in my popup. But now I also receive date & time - "21:00:00 UTC". I try to look in timeline-bundle.js but i cannot find in which function popup generate is going to change format of date output. Can somebody give me a function name or method by which I can fix this? Thanks in advance, Eugen. -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To view this discussion on the web visit https://groups.google.com/d/msg/simile-widgets/-/3FToLTsWp8IJ. To post to this group, send email to simile-widgets@googlegroups.com. To unsubscribe from this group, send email to simile-widgets+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en. -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to simile-widgets@googlegroups.com. To unsubscribe from this group, send email to simile-widgets+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en.
[Simile-Widgets] How to cut-off time in timeline-event-bubble-time
Hi Gents, Did anybody know how I can cut off "hh:mm:ss" from timeline? I need only dates in my popup. But now I also receive date & time - "21:00:00 UTC". I try to look in timeline-bundle.js but i cannot find in which function popup generate is going to change format of date output. Can somebody give me a function name or method by which I can fix this? Thanks in advance, Eugen. -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To view this discussion on the web visit https://groups.google.com/d/msg/simile-widgets/-/3FToLTsWp8IJ. To post to this group, send email to simile-widgets@googlegroups.com. To unsubscribe from this group, send email to simile-widgets+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en.
Re: [Simile-Widgets] Define target in bubble link
Pascal, I'm not certain exactly what you're asking for. This Exhibit: http://projects.csail.mit.edu/ifd/ opens a new tab when you click "click for video" in a popup bubble. On 4/23/2012 9:22 AM, Pascal wrote: Hi there, i was wondering if it is possible to define a target (new tab) for the link displayed in the popup bubble. It works with the wiki link in the timeline-bundle.js via var A=document.createElement("a"); A.href=B; A.target="new"; Unfortunately target="new" doesn't work for the link Attribute (getLink()) in the popub bubbles. thanks for helping. Pascal -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to simile-widgets@googlegroups.com. To unsubscribe from this group, send email to simile-widgets+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en.
[Simile-Widgets] Define target in bubble link
Hi there, i was wondering if it is possible to define a target (new tab) for the link displayed in the popup bubble. It works with the wiki link in the timeline-bundle.js via var A=document.createElement("a"); A.href=B; A.target="new"; Unfortunately target="new" doesn't work for the link Attribute (getLink()) in the popub bubbles. thanks for helping. Pascal -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to simile-widgets@googlegroups.com. To unsubscribe from this group, send email to simile-widgets+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en.
[Simile-Widgets] Event bubble disappears when click on it at IE
I have been struggling for 5 hours to this problem and find a solution myself. The problem is, when clicking on an event bubble, bubble disappears so that any link on the bubble doesn't lead to anywhere, because bubble disappears before link works. -For those encounter the same problem, here is my solution. - In the simile-ajax-bundle.js, just remove inside the _onBodyMouseDown function so that the bubble can only be closed by clicking click button or outside of bubble. SimileAjax.WindowManager._onBodyMouseDown = function(B, A, C) { // if (!("eventPhase" in A) || A.eventPhase == A.BUBBLING_PHASE) { // SimileAjax.WindowManager.cancelPopups(A); // } }; Note that, don't remove whole method and be sure that you are using your local copy of simile-ajax-bundle.js not the one at http://static.simile.mit.edu. Good luck -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to simile-widgets@googlegroups.com. To unsubscribe from this group, send email to simile-widgets+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en.
[Simile-Widgets] Translate DateTime in bubble into other language
Hello everybody, I would like the date and time inside the bubble to translate into another language. I already tried to use forceLocale = "pt" but it doesn't work. I'm able to translate the "discussion"/wiki label, but not the rest... Please, does anybody know how to do this? Thank you. -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to simile-widgets@googlegroups.com. To unsubscribe from this group, send email to simile-widgets+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en.
[Simile-Widgets] Link from a internal bubble text to another timeline event?
Is it possible to link to another event out of the description text like this: e.g.: A quick brown fox jumps 1961 over a lazy dog Thanks for your help or for the reference to the FAQ section. Marco -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to simile-widgets@googlegroups.com. To unsubscribe from this group, send email to simile-widgets+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en.
[Simile-Widgets] Re: Timeline: Sizing the popup bubble
You can specify the bubble size in the Timeline Initialization file: E.g: var theme = Timeline.ClassicTheme.create(); theme.event.bubble.width = 450; theme.event.bubble.height = 350; On Jun 11, 4:09 pm, espressoguy wrote: > Timeline Problem: > I've noticed that if an event is clicked and there is lots of > descriptive text associated with that event, the popup bubble will not > stay open for more than about a second. This occurs when the user's > computer screen is so small that there's not enough room for the tall > popup. > > Question: > I've seen discussion in this group about sizing the popup > bubble. What's the best/easiest way to do this? -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to simile-widgets@googlegroups.com. To unsubscribe from this group, send email to simile-widgets+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en.
[Simile-Widgets] Re: Bubble not showing
I have fixed it! Seems not to like numeric only ID. Changed from "10" to "e10" etc and all is well. Andrew McG On Jun 16, 11:50 am, ZermattMan wrote: > This seems awfully basic! What am I missing? > > I have events with an ID and structure like this: > > title="A radio transmission from Flight 93 is overheard by flight > c..." textColor="green">A radio transmission from Flight 93 is > overheard by flight controllers at Cleveland: "Keep remaining sitting. > We have a bomb on board." > > I am showing the timeline in 2 bands - top is a summary band with the > bottom one a detail band. > > The function below does nothing - not even an error message: > > function openBubble(eventID) { > /// alert(eventID); > tl.getBand(1).showBubbleForEvent("67"); > } > > Any help much appreciated... > > Andrew McG -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to simile-widgets@googlegroups.com. To unsubscribe from this group, send email to simile-widgets+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en.
[Simile-Widgets] Bubble not showing
This seems awfully basic! What am I missing? I have events with an ID and structure like this: A radio transmission from Flight 93 is overheard by flight controllers at Cleveland: "Keep remaining sitting. We have a bomb on board." I am showing the timeline in 2 bands - top is a summary band with the bottom one a detail band. The function below does nothing - not even an error message: function openBubble(eventID) { /// alert(eventID); tl.getBand(1).showBubbleForEvent("67"); } Any help much appreciated... Andrew McG -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to simile-widgets@googlegroups.com. To unsubscribe from this group, send email to simile-widgets+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en.
[Simile-Widgets] Timeline: Sizing the popup bubble
Timeline Problem: I've noticed that if an event is clicked and there is lots of descriptive text associated with that event, the popup bubble will not stay open for more than about a second. This occurs when the user's computer screen is so small that there's not enough room for the tall popup. Question: I've seen discussion in this group about sizing the popup bubble. What's the best/easiest way to do this? -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to simile-widgets@googlegroups.com. To unsubscribe from this group, send email to simile-widgets+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en.
[Simile-Widgets] Get rid of date in info-bubble.
I finally figured it out. .timeline-event-bubble-time{ display: none; } Thanks Jeff Roehl -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to simile-widgets@googlegroups.com. To unsubscribe from this group, send email to simile-widgets+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en.
Re: [Simile-Widgets] Info Bubble.
I see now. My answer focused more on customizing the text/display of the info bubble. The Discuss link in the bubble comes from the fillWikiInfo method, it is not part of the theme. Looking at the code, we see: if (this._wikiURL == null || this._wikiSection == null) { return; // EARLY RETURN } The wikiURL comes from the XML file used, in the document attributes: http://simile.mit.edu/shelf/"; wiki-section="Simile JFK Timeline" > If these are left out of the XML (or JSON), then there will be no Discuss link shown. The campaignEvents.xml file does not include these attributes, so there is no wiki Discuss link shown. --Mike On Jun 2, 2011, at 6:05 PM, Jeff Roehl wrote: > >> Timeline.DefaultEventSource.Event.prototype.fillInfoBubble = > >> function(elmt, theme, labeller) { > >>// define your custom infoBubble code here... > >> } > > I still dont see how this will get rid of the "Discuss" link in the bubble. > > The following timeline dosent have the "Discuss" link in the bubble. Is there > a specific line that gets rid of this link? > > http://antietam.aotw.org/campaignEvents.xml > > Is there something that gets rid of the link in this (from this website)?: -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to simile-widgets@googlegroups.com. To unsubscribe from this group, send email to simile-widgets+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en.
Re: [Simile-Widgets] Info Bubble.
>> Timeline.DefaultEventSource.Event.prototype.fillInfoBubble = function(elmt, >>theme, labeller) { >> // define your custom infoBubble code here... >> } I still dont see how this will get rid of the "Discuss" link in the bubble. The following timeline dosent have the "Discuss" link in the bubble. Is there a specific line that gets rid of this link? http://antietam.aotw.org/campaignEvents.xml Is there something that gets rid of the link in this (from this website)?: var theme = Timeline.ClassicTheme.create(); theme.event.bubble.width = 420; theme.event.bubble.height = 220; theme.event.track.height = 1.5; theme.event.track.gap = 0.1; theme.event.instant.lineColor = "#99"; theme.event.duration.color = "#99"; theme.event.instant.impreciseColor = "#99"; theme.event.instant.impreciseOpacity = 20; theme.event.label.insideColor = "white"; theme.event.label.outsideColor = "#33"; theme.event.instant.icon = "../images/star_gray.gif"; theme.ether.interval.weekend.opacity = 0; theme.ether.highlightColor = "#F0"; theme.ether.highlightOpacity = 100; theme.ether.backgroundColors = [ "#F0", "#99" ]; Thanks Jeff Roehl -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to simile-widgets@googlegroups.com. To unsubscribe from this group, send email to simile-widgets+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en.
Re: [Simile-Widgets] Info Bubble.
>> You'll want too customize the fillInfoBubble() method Wow, thanks, I will try that. This is very helpful. Thanks Jeff Roehl > >From: Michael Nosal >To: "simile-widgets@googlegroups.com" >Sent: Tue, May 31, 2011 6:57:14 AM >Subject: Re: [Simile-Widgets] Info Bubble. > >You'll want too customize the fillInfoBubble() method of the Event object. > > >Look in /webapp/api/scripts/sources.js, where >Timeline.DefaultEventSource.Event.prototype is defined. >One of the member methods is a function called fillInfoBubble. This is what >builds the content that goes in the info bubble. >It calls some helper functions to handle styling/formatting. >The "[Discuss]" link comes from the fillWikiInfo method which fills in the >wiki >info for events. >The date in the info bubble comes from the fillTime method. > > >You can easily override the info bubble behavior and customize it by including >your own fillInfoBubble method. >In your script, after the timeline scripts have been loaded, add: > > >Timeline.DefaultEventSource.Event.prototype.fillInfoBubble = function(elmt, >theme, labeller) { >// define your custom infoBubble code here... >} > > >For example, you could override the fillWikiInfo method to leave off the >[Discuss] link, or leave off the image. > > >Your bubble border images aren't showing up because the relative path to the >images is incorrect. Look at where the graphics.css stylesheet is coming from, >and then check that there is an images directory one level above it. That's >where it is expecting to find all the bubble border images. > > >--Mike > > >On May 27, 2011, at 4:50 PM, Jeff Roehl wrote: > >Hi all, >> >>Concerning: >> >>http://184.72.244.64/hp/page6.htm >> >>How do I get rid of the "[Discuss]" link in the info bubble? >> >>How do I get rid of the date in the info bubble? >> >>How do I get the borders of the bubble to appear? >> >>Tanks very much in advance. >> >>Thanks >>Jeff Roehl >> >>-- >>You received this message because you are subscribed to the Google Groups >>"SIMILE Widgets" group. >>To post to this group, send email to simile-widgets@googlegroups.com. >>To unsubscribe from this group, send email >>to simile-widgets+unsubscr...@googlegroups.com. >>For more options, visit this group >>at http://groups.google.com/group/simile-widgets?hl=en. >> > -- >You received this message because you are subscribed to the Google Groups >"SIMILE Widgets" group. >To post to this group, send email to simile-widgets@googlegroups.com. >To unsubscribe from this group, send email to >simile-widgets+unsubscr...@googlegroups.com. >For more options, visit this group at >http://groups.google.com/group/simile-widgets?hl=en. > -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to simile-widgets@googlegroups.com. To unsubscribe from this group, send email to simile-widgets+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en.
Re: [Simile-Widgets] Info Bubble.
You'll want too customize the fillInfoBubble() method of the Event object. Look in /webapp/api/scripts/sources.js, where Timeline.DefaultEventSource.Event.prototype is defined. One of the member methods is a function called fillInfoBubble. This is what builds the content that goes in the info bubble. It calls some helper functions to handle styling/formatting. The "[Discuss]" link comes from the fillWikiInfo method which fills in the wiki info for events. The date in the info bubble comes from the fillTime method. You can easily override the info bubble behavior and customize it by including your own fillInfoBubble method. In your script, after the timeline scripts have been loaded, add: Timeline.DefaultEventSource.Event.prototype.fillInfoBubble = function(elmt, theme, labeller) { // define your custom infoBubble code here... } For example, you could override the fillWikiInfo method to leave off the [Discuss] link, or leave off the image. Your bubble border images aren't showing up because the relative path to the images is incorrect. Look at where the graphics.css stylesheet is coming from, and then check that there is an images directory one level above it. That's where it is expecting to find all the bubble border images. --Mike On May 27, 2011, at 4:50 PM, Jeff Roehl wrote: > Hi all, > > Concerning: > > http://184.72.244.64/hp/page6.htm > > How do I get rid of the "[Discuss]" link in the info bubble? > > How do I get rid of the date in the info bubble? > > How do I get the borders of the bubble to appear? > > Tanks very much in advance. > > Thanks > Jeff Roehl > > -- > You received this message because you are subscribed to the Google Groups > "SIMILE Widgets" group. > To post to this group, send email to simile-widgets@googlegroups.com. > To unsubscribe from this group, send email to > simile-widgets+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/simile-widgets?hl=en. -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to simile-widgets@googlegroups.com. To unsubscribe from this group, send email to simile-widgets+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en.
[Simile-Widgets] Info Bubble.
Hi all, Concerning: http://184.72.244.64/hp/page6.htm How do I get rid of the "[Discuss]" link in the info bubble? How do I get rid of the date in the info bubble? How do I get the borders of the bubble to appear? Tanks very much in advance. Thanks Jeff Roehl -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to simile-widgets@googlegroups.com. To unsubscribe from this group, send email to simile-widgets+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en.
[Simile-Widgets] Re: Times have disappeared from bubble!
Thank you, that was it. I don't recall changing it, and I don't understand why it works on my local system... But I'll move on. Thanks again for your quick response. Andrew On Feb 2, 8:23 am, Contemplative wrote: > I took a look at your TL.css file and noted the following: > > > .timeline-event-bubble-time > { > display: none; > } > ... > > Using chrome 'inspect element', I changed that value to display: block; and > the dates in the pop-up bubble then showed. > > Hope that helps, > > Wes -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to simile-widgets@googlegroups.com. To unsubscribe from this group, send email to simile-widgets+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en.
[Simile-Widgets] Re: Times have disappeared from bubble!
I took a look at your TL.css file and noted the following: .timeline-event-bubble-time { display: none; } ... Using chrome 'inspect element', I changed that value to display: block; and the dates in the pop-up bubble then showed. Hope that helps, Wes -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to simile-widgets@googlegroups.com. To unsubscribe from this group, send email to simile-widgets+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en.
[Simile-Widgets] Times have disappeared from bubble!
I have several timelines on my site in which I use "Timeline.GregorianDateLabeller.prototype.labelPrecise = ..." to format the appearance of the dates in the bubble. This has been working fine, but recently these dates have stopped appearing at all on the live site. They are still OK on my local version, however. The site is www.TimeLinesOfOurTimes.com Any help is much appreciated. TIA Andrew -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to simile-widgets@googlegroups.com. To unsubscribe from this group, send email to simile-widgets+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en.
[Simile-Widgets] HELP PLEASE - Error in bubble size, sending me crazy,
Hello all, I've set up Smilie Timeline to record a town's history over the last 250 years or so, and its got 1,500 entries in it. Not sure if that is large, but it ltook a hell of a time to get the data in the XML file. Anyway, I got a problem with scroll bars showing up when I get images in bubbles. I can see that quite a few people have had the same issues. I tried to do a pre-featch on the images, but it takes so long because it tries to pre-featch ALL the images :o( Next, I tried to set the default size of the bubble large enough to hold the image. The size has changed, but I still get the scroll bars on the bubble for the first time I view, but ok on the second view because it is cached. In my themes.js files, I got the following bubble: { width: 500, // px height: 500, // px HELP, planning on going live with the project very soon, and I'm hitting my head against a brick wall. I set it up on 2.3 to start with, then went back to 2.1, but still got the same error. Please check it out at: http://www.tredegar.co.uk/pierre/timeline_2.1.0/src/webapp/index.html Thanks -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to simile-widgets@googlegroups.com. To unsubscribe from this group, send email to simile-widgets+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en.
[Simile-Widgets] Re: Hiding the event bubble
I spent a lot of time learning/understanding timeline project and started using it in my project. Later on I learnt about exhibit but unfortunately I was too much ahead in my project to change it. However, exhibit seems to be very good and impressive. I will now keep exhibit as an option during my future projects. --Atul On Dec 30, 11:25 am, David Karger wrote: > here's such a student history timeline: > http://fc.gannacademy.org/gannopedia/jhistory/jhexhibit.html > > If you're really talking about collaborative editing, you might want to > consider using wibit: > http://projects.csail.mit.edu/wibit/ > > you can use an wibit installation to hold the entire exhibit, or just to > manage the data and export it for use in a "real" exhibit > (http://projects.csail.mit.edu/wibit/wiki/index.php?title=Making_exhib...) > > On 12/30/2010 2:04 PM, Jon Crump wrote: > > > On Wed, Dec 29, 2010 at 6:40 PM, Atul wrote: > >> Yescalling SimileAjax.WIndowManager.cancelPopups() gets rid of the > >> event bubble! Thanks Jon. > > >> --Atul > > Atul, > > > You are entirely welcome. I'm delighted to be able to help. I take a > > rather personal interest in the timeline code. I hope that you will be > > able to share your project with us all at some time. I love seeing > > what others have done with it. > > > As David Karger has responded: > >> Unless you are doing something very specialized, or working > >> with a very large amount of data, exhibit is an easier way to > >> drive the timeline widget. It requires less javascript > >> programming and offers more flexibility. > > David has gently chivvied me in the past to use exhibit as well. But > > since I invested considerable effort in understanding the timeline > > code, I've been reluctant to spend much time with exhibit for doing > > timeline tasks; however, what he says is true. It is beautifully > > simple to drive a timeline with exhibit and you get all sorts of other > > features in the bargain. I'm now building a collaboratively edited > > timeline for my students in a world history class, and the simplicity > > and flexibility of the Exhibit framework is impressive: a testament to > > the skill of David Huynh, the principle author, and to the vision of > > the Simile project in general. > > > Jon -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to simile-widg...@googlegroups.com. To unsubscribe from this group, send email to simile-widgets+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en.
Re: [Simile-Widgets] Re: Hiding the event bubble
here's such a student history timeline: http://fc.gannacademy.org/gannopedia/jhistory/jhexhibit.html If you're really talking about collaborative editing, you might want to consider using wibit: http://projects.csail.mit.edu/wibit/ you can use an wibit installation to hold the entire exhibit, or just to manage the data and export it for use in a "real" exhibit (http://projects.csail.mit.edu/wibit/wiki/index.php?title=Making_exhibits_from_data_of_Semantic_MediaWikis) On 12/30/2010 2:04 PM, Jon Crump wrote: On Wed, Dec 29, 2010 at 6:40 PM, Atul wrote: Yescalling SimileAjax.WIndowManager.cancelPopups() gets rid of the event bubble! Thanks Jon. --Atul Atul, You are entirely welcome. I'm delighted to be able to help. I take a rather personal interest in the timeline code. I hope that you will be able to share your project with us all at some time. I love seeing what others have done with it. As David Karger has responded: Unless you are doing something very specialized, or working with a very large amount of data, exhibit is an easier way to drive the timeline widget. It requires less javascript programming and offers more flexibility. David has gently chivvied me in the past to use exhibit as well. But since I invested considerable effort in understanding the timeline code, I've been reluctant to spend much time with exhibit for doing timeline tasks; however, what he says is true. It is beautifully simple to drive a timeline with exhibit and you get all sorts of other features in the bargain. I'm now building a collaboratively edited timeline for my students in a world history class, and the simplicity and flexibility of the Exhibit framework is impressive: a testament to the skill of David Huynh, the principle author, and to the vision of the Simile project in general. Jon -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to simile-widg...@googlegroups.com. To unsubscribe from this group, send email to simile-widgets+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en.
Re: [Simile-Widgets] Re: Hiding the event bubble
On Wed, Dec 29, 2010 at 6:40 PM, Atul wrote: > Yescalling SimileAjax.WIndowManager.cancelPopups() gets rid of the > event bubble! Thanks Jon. > > --Atul Atul, You are entirely welcome. I'm delighted to be able to help. I take a rather personal interest in the timeline code. I hope that you will be able to share your project with us all at some time. I love seeing what others have done with it. As David Karger has responded: > Unless you are doing something very specialized, or working > with a very large amount of data, exhibit is an easier way to > drive the timeline widget. It requires less javascript > programming and offers more flexibility. David has gently chivvied me in the past to use exhibit as well. But since I invested considerable effort in understanding the timeline code, I've been reluctant to spend much time with exhibit for doing timeline tasks; however, what he says is true. It is beautifully simple to drive a timeline with exhibit and you get all sorts of other features in the bargain. I'm now building a collaboratively edited timeline for my students in a world history class, and the simplicity and flexibility of the Exhibit framework is impressive: a testament to the skill of David Huynh, the principle author, and to the vision of the Simile project in general. Jon -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to simile-widg...@googlegroups.com. To unsubscribe from this group, send email to simile-widgets+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en.
Re: [Simile-Widgets] Re: Hiding the event bubble
Unless you are doing something very specialized, or working with a very large amount of data, exhibit is an easier way to drive the timeline widget. It requires less javascript programming and offers more flexibility. On 12/29/2010 6:40 PM, Atul wrote: Thanks David. I will generate a click event on some part of my page to get rid of the bubble. I am using only simile timeline and not using exhibit so cannot use lens to include a button in the bubble. My apologies for not clearly specifying it in my post. Thanks again, Atul On Dec 28, 7:15 pm, David Karger wrote: Atul, you don't have to override fillInfoBubble in order to put a button in the bubble. If you define a lens () to go in the bubble, that lens can contain a button that executes some javascript on a click. You can see a simple example of this on my publications page:http://people.csail.mit.edu/karger/papers.htmlwhere I've implemented a "click for abstract" link (that could equally well be a button). As for hiding the bubble, note that the bubble disappears when you click outside it. So firing a click event somewhere else on the page ought to make it disappear. On 12/28/2010 10:06 PM, Atul wrote:> Hi All, In my project I have customized the event bubble (by overriding fillInfoBubble method) to include a button, clicking on which loads further details about that event in another part of the same page - this is achieved by using jQuery's load method. Once those details are loaded I want to hide the event bubble. However, I am not able to find out how that can be achieved. Can some one please suggest a way to hide event bubble on custom action (in my case clicking on a button in the event bubble)? Thanks, Atul -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to simile-widg...@googlegroups.com. To unsubscribe from this group, send email to simile-widgets+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en.
[Simile-Widgets] Re: Hiding the event bubble
Yescalling SimileAjax.WIndowManager.cancelPopups() gets rid of the event bubble! Thanks Jon. --Atul On Dec 29, 5:08 pm, Jon Crump wrote: > Atul, > > How about using the jQuery load method to generate a call to > SimileAjax.WindowManager.cancelPopups() > > Jon > > On Wed, Dec 29, 2010 at 4:29 PM, Atul wrote: > > I tried generating a click event on other part of my page using two > > options (here I am using 'elementId' as a place holder ID for > > illustration purpose): > > 1) document.getElementById("elementId").onclick() - this gives me an > > error saying onclick is not a function > > 2) jQuery's trigger('click') method on $("#elementId") - this doesn't > > give any error but doesn't hide the bubble either > > > Can anyone suggest a way to generate a click on some html element? I > > tried googling but other than above two options nothing comes up and > > both of them don't work! > > > Or is there any other way to hide the event bubble? > > > --Atul > > > On Dec 29, 3:40 pm, Atul wrote: > >> Thanks David. I will generate a click event on some part of my page to > >> get rid of the bubble. > > >> I am using only simile timeline and not using exhibit so cannot use > >> lens to include a button in the bubble. My apologies for not clearly > >> specifying it in my post. > > >> Thanks again, > >> Atul > > >> On Dec 28, 7:15 pm, David Karger wrote: > > >> > Atul, you don't have to override fillInfoBubble in order to put a button > >> > in the bubble. If you define a lens () to go in the > >> > bubble, that lens can contain a button that executes some javascript on > >> > a click. You can see a simple example of this on my publications > >> > page:http://people.csail.mit.edu/karger/papers.htmlwhereI'veimplemented a > >> > "click for abstract" link (that could equally well be a button). > > >> > As for hiding the bubble, note that the bubble disappears when you click > >> > outside it. So firing a click event somewhere else on the page ought to > >> > make it disappear. > > >> > On 12/28/2010 10:06 PM, Atul wrote:> Hi All, > > >> > > In my project I have customized the event bubble (by overriding > >> > > fillInfoBubble method) to include a button, clicking on which loads > >> > > further details about that event in another part of the same page - > >> > > this is achieved by using jQuery's load method. Once those details are > >> > > loaded I want to hide the event bubble. However, I am not able to find > >> > > out how that can be achieved. Can some one please suggest a way to > >> > > hide event bubble on custom action (in my case clicking on a button in > >> > > the event bubble)? > > >> > > Thanks, > >> > > Atul > > > -- > > You received this message because you are subscribed to the Google Groups > > "SIMILE Widgets" group. > > To post to this group, send email to simile-widg...@googlegroups.com. > > To unsubscribe from this group, send email to > > simile-widgets+unsubscr...@googlegroups.com. > > For more options, visit this group > > athttp://groups.google.com/group/simile-widgets?hl=en. -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to simile-widg...@googlegroups.com. To unsubscribe from this group, send email to simile-widgets+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en.
Re: [Simile-Widgets] Re: Hiding the event bubble
Atul, How about using the jQuery load method to generate a call to SimileAjax.WindowManager.cancelPopups() Jon On Wed, Dec 29, 2010 at 4:29 PM, Atul wrote: > I tried generating a click event on other part of my page using two > options (here I am using 'elementId' as a place holder ID for > illustration purpose): > 1) document.getElementById("elementId").onclick() - this gives me an > error saying onclick is not a function > 2) jQuery's trigger('click') method on $("#elementId") - this doesn't > give any error but doesn't hide the bubble either > > Can anyone suggest a way to generate a click on some html element? I > tried googling but other than above two options nothing comes up and > both of them don't work! > > Or is there any other way to hide the event bubble? > > --Atul > > On Dec 29, 3:40 pm, Atul wrote: >> Thanks David. I will generate a click event on some part of my page to >> get rid of the bubble. >> >> I am using only simile timeline and not using exhibit so cannot use >> lens to include a button in the bubble. My apologies for not clearly >> specifying it in my post. >> >> Thanks again, >> Atul >> >> On Dec 28, 7:15 pm, David Karger wrote: >> >> > Atul, you don't have to override fillInfoBubble in order to put a button >> > in the bubble. If you define a lens () to go in the >> > bubble, that lens can contain a button that executes some javascript on >> > a click. You can see a simple example of this on my publications >> > page:http://people.csail.mit.edu/karger/papers.htmlwhereI've implemented a >> > "click for abstract" link (that could equally well be a button). >> >> > As for hiding the bubble, note that the bubble disappears when you click >> > outside it. So firing a click event somewhere else on the page ought to >> > make it disappear. >> >> > On 12/28/2010 10:06 PM, Atul wrote:> Hi All, >> >> > > In my project I have customized the event bubble (by overriding >> > > fillInfoBubble method) to include a button, clicking on which loads >> > > further details about that event in another part of the same page - >> > > this is achieved by using jQuery's load method. Once those details are >> > > loaded I want to hide the event bubble. However, I am not able to find >> > > out how that can be achieved. Can some one please suggest a way to >> > > hide event bubble on custom action (in my case clicking on a button in >> > > the event bubble)? >> >> > > Thanks, >> > > Atul > > -- > You received this message because you are subscribed to the Google Groups > "SIMILE Widgets" group. > To post to this group, send email to simile-widg...@googlegroups.com. > To unsubscribe from this group, send email to > simile-widgets+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/simile-widgets?hl=en. > > -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to simile-widg...@googlegroups.com. To unsubscribe from this group, send email to simile-widgets+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en.
[Simile-Widgets] Re: Hiding the event bubble
The html element 'elementID' refers to is a div tag. --Atul On Dec 29, 4:29 pm, Atul wrote: > I tried generating a click event on other part of my page using two > options (here I am using 'elementId' as a place holder ID for > illustration purpose): > 1) document.getElementById("elementId").onclick() - this gives me an > error saying onclick is not a function > 2) jQuery's trigger('click') method on $("#elementId") - this doesn't > give any error but doesn't hide the bubble either > > Can anyone suggest a way to generate a click on some html element? I > tried googling but other than above two options nothing comes up and > both of them don't work! > > Or is there any other way to hide the event bubble? > > --Atul > > On Dec 29, 3:40 pm, Atul wrote: > > > Thanks David. I will generate a click event on some part of my page to > > get rid of the bubble. > > > I am using only simile timeline and not using exhibit so cannot use > > lens to include a button in the bubble. My apologies for not clearly > > specifying it in my post. > > > Thanks again, > > Atul > > > On Dec 28, 7:15 pm, David Karger wrote: > > > > Atul, you don't have to override fillInfoBubble in order to put a button > > > in the bubble. If you define a lens () to go in the > > > bubble, that lens can contain a button that executes some javascript on > > > a click. You can see a simple example of this on my publications > > > page:http://people.csail.mit.edu/karger/papers.htmlwhereI'veimplemented a > > > "click for abstract" link (that could equally well be a button). > > > > As for hiding the bubble, note that the bubble disappears when you click > > > outside it. So firing a click event somewhere else on the page ought to > > > make it disappear. > > > > On 12/28/2010 10:06 PM, Atul wrote:> Hi All, > > > > > In my project I have customized the event bubble (by overriding > > > > fillInfoBubble method) to include a button, clicking on which loads > > > > further details about that event in another part of the same page - > > > > this is achieved by using jQuery's load method. Once those details are > > > > loaded I want to hide the event bubble. However, I am not able to find > > > > out how that can be achieved. Can some one please suggest a way to > > > > hide event bubble on custom action (in my case clicking on a button in > > > > the event bubble)? > > > > > Thanks, > > > > Atul -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to simile-widg...@googlegroups.com. To unsubscribe from this group, send email to simile-widgets+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en.
[Simile-Widgets] Re: Hiding the event bubble
I tried generating a click event on other part of my page using two options (here I am using 'elementId' as a place holder ID for illustration purpose): 1) document.getElementById("elementId").onclick() - this gives me an error saying onclick is not a function 2) jQuery's trigger('click') method on $("#elementId") - this doesn't give any error but doesn't hide the bubble either Can anyone suggest a way to generate a click on some html element? I tried googling but other than above two options nothing comes up and both of them don't work! Or is there any other way to hide the event bubble? --Atul On Dec 29, 3:40 pm, Atul wrote: > Thanks David. I will generate a click event on some part of my page to > get rid of the bubble. > > I am using only simile timeline and not using exhibit so cannot use > lens to include a button in the bubble. My apologies for not clearly > specifying it in my post. > > Thanks again, > Atul > > On Dec 28, 7:15 pm, David Karger wrote: > > > Atul, you don't have to override fillInfoBubble in order to put a button > > in the bubble. If you define a lens () to go in the > > bubble, that lens can contain a button that executes some javascript on > > a click. You can see a simple example of this on my publications > > page:http://people.csail.mit.edu/karger/papers.htmlwhereI've implemented a > > "click for abstract" link (that could equally well be a button). > > > As for hiding the bubble, note that the bubble disappears when you click > > outside it. So firing a click event somewhere else on the page ought to > > make it disappear. > > > On 12/28/2010 10:06 PM, Atul wrote:> Hi All, > > > > In my project I have customized the event bubble (by overriding > > > fillInfoBubble method) to include a button, clicking on which loads > > > further details about that event in another part of the same page - > > > this is achieved by using jQuery's load method. Once those details are > > > loaded I want to hide the event bubble. However, I am not able to find > > > out how that can be achieved. Can some one please suggest a way to > > > hide event bubble on custom action (in my case clicking on a button in > > > the event bubble)? > > > > Thanks, > > > Atul -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to simile-widg...@googlegroups.com. To unsubscribe from this group, send email to simile-widgets+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en.
[Simile-Widgets] Re: Hiding the event bubble
Thanks David. I will generate a click event on some part of my page to get rid of the bubble. I am using only simile timeline and not using exhibit so cannot use lens to include a button in the bubble. My apologies for not clearly specifying it in my post. Thanks again, Atul On Dec 28, 7:15 pm, David Karger wrote: > Atul, you don't have to override fillInfoBubble in order to put a button > in the bubble. If you define a lens () to go in the > bubble, that lens can contain a button that executes some javascript on > a click. You can see a simple example of this on my publications > page:http://people.csail.mit.edu/karger/papers.htmlwhere I've implemented a > "click for abstract" link (that could equally well be a button). > > As for hiding the bubble, note that the bubble disappears when you click > outside it. So firing a click event somewhere else on the page ought to > make it disappear. > > On 12/28/2010 10:06 PM, Atul wrote:> Hi All, > > > In my project I have customized the event bubble (by overriding > > fillInfoBubble method) to include a button, clicking on which loads > > further details about that event in another part of the same page - > > this is achieved by using jQuery's load method. Once those details are > > loaded I want to hide the event bubble. However, I am not able to find > > out how that can be achieved. Can some one please suggest a way to > > hide event bubble on custom action (in my case clicking on a button in > > the event bubble)? > > > Thanks, > > Atul -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to simile-widg...@googlegroups.com. To unsubscribe from this group, send email to simile-widgets+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en.
Re: [Simile-Widgets] Hiding the event bubble
Atul, you don't have to override fillInfoBubble in order to put a button in the bubble. If you define a lens () to go in the bubble, that lens can contain a button that executes some javascript on a click. You can see a simple example of this on my publications page: http://people.csail.mit.edu/karger/papers.html where I've implemented a "click for abstract" link (that could equally well be a button). As for hiding the bubble, note that the bubble disappears when you click outside it. So firing a click event somewhere else on the page ought to make it disappear. On 12/28/2010 10:06 PM, Atul wrote: Hi All, In my project I have customized the event bubble (by overriding fillInfoBubble method) to include a button, clicking on which loads further details about that event in another part of the same page - this is achieved by using jQuery's load method. Once those details are loaded I want to hide the event bubble. However, I am not able to find out how that can be achieved. Can some one please suggest a way to hide event bubble on custom action (in my case clicking on a button in the event bubble)? Thanks, Atul -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to simile-widg...@googlegroups.com. To unsubscribe from this group, send email to simile-widgets+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en.
[Simile-Widgets] Hiding the event bubble
Hi All, In my project I have customized the event bubble (by overriding fillInfoBubble method) to include a button, clicking on which loads further details about that event in another part of the same page - this is achieved by using jQuery's load method. Once those details are loaded I want to hide the event bubble. However, I am not able to find out how that can be achieved. Can some one please suggest a way to hide event bubble on custom action (in my case clicking on a button in the event bubble)? Thanks, Atul -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to simile-widg...@googlegroups.com. To unsubscribe from this group, send email to simile-widgets+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en.
[Simile-Widgets] Translate DateTime in bubble into other language
Hi, I'm new to the world of simile widgets and have just begun to develop a timeline. I would like the date and time inside the bubble to translate into another language. When I use the built in translation by adding the parameter forceLocale to the reference [api.simile-widgets.org/exhibit/2.2.0/ exhibit-api.js?forceLocale=se] the months of the bands are translated, but not the date and time inside the bubbles. Please, does anybody know how to do this? -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to simile-widg...@googlegroups.com. To unsubscribe from this group, send email to simile-widgets+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en.
Re: [Simile-Widgets] Re: link from external site to exhibit, pass URL parameter, open corresponding bubble
Well, the functionality is there, as you can see from this example: http://simile-widgets.org/exhibit/examples/presidents/presidents.html if you click on a president in the timeline, it'll scroll the map and open the corresponding bubble. Question is whether/how that is exposed to the html. On 12/3/2010 2:38 PM, mkhines wrote: Thanks for that, I was unaware you could do that with the #label - unfortunately the idea is to link to the Exhibit from the "newspaper like" blog here - http://wdin.blogspot.com - if you scroll down a little bit (or search for Map It!), and click on the link next to an article to Map It, it should jump to the Exhibit and then pop open the window, giving people a geographic idea of where in the world the issue is taking place. I'm not much of a programmer and was really hoping for this being in the code somewhere. Argh! I'll see what else I can come up with. Thanks! On Dec 3, 1:20 pm, David Karger wrote: Well, you can do this: http://simile-widgets.org/exhibit/examples/presidents/presidents.html... which does open up the detail view for the particular item; however, I don't think it will open the bubble on the map. the problem is that the id reference is interpreted before exhibit knows which view is active. You can see how this is done by looking at the showFocusDialogOnItem in the last bit of code in the configureFromDOM method found inhttp://code.google.com/p/simile-widgets/source/browse/exhibit/trunk/s... On 12/3/2010 2:02 PM, mkhines wrote: Is this possible? I'm doing it in a 'regular' google map implementation here - example - http://wildlifedisease.nbii.gov/wdinNewsDigestMap.jsp?id=Phi%20Phi%20... but would like to do the same type of thing here (temporary URL) http://wildlifedisease.nbii.gov/newsmap It doesn't have to pass the string of location info, could use just the resource identifier (resourceId) in the schema (http:// wildlifedisease.nbii.gov/newsmap/schema.js) Any thoughts? Or if anyone has implemented or knows of an implementation out there I might be able to "copy" that would be great. Or.. if the code used in my old Google Map would transfer to the Simile Exhibit somehow? Thanks for any ideas! Megan -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to simile-widg...@googlegroups.com. To unsubscribe from this group, send email to simile-widgets+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en.
[Simile-Widgets] Re: link from external site to exhibit, pass URL parameter, open corresponding bubble
Thanks for that, I was unaware you could do that with the #label - unfortunately the idea is to link to the Exhibit from the "newspaper like" blog here - http://wdin.blogspot.com - if you scroll down a little bit (or search for Map It!), and click on the link next to an article to Map It, it should jump to the Exhibit and then pop open the window, giving people a geographic idea of where in the world the issue is taking place. I'm not much of a programmer and was really hoping for this being in the code somewhere. Argh! I'll see what else I can come up with. Thanks! On Dec 3, 1:20 pm, David Karger wrote: > Well, you can do this: > http://simile-widgets.org/exhibit/examples/presidents/presidents.html... > which does open up the detail view for the particular item; however, I > don't think it will open the bubble on the map. the problem is that the > id reference is interpreted before exhibit knows which view is active. > > You can see how this is done by looking at the showFocusDialogOnItem in > the last bit of code in the configureFromDOM method found > inhttp://code.google.com/p/simile-widgets/source/browse/exhibit/trunk/s... > > On 12/3/2010 2:02 PM, mkhines wrote: > > > Is this possible? I'm doing it in a 'regular' google map > > implementation here - example - > > >http://wildlifedisease.nbii.gov/wdinNewsDigestMap.jsp?id=Phi%20Phi%20... > > > but would like to do the same type of thing here (temporary URL) > >http://wildlifedisease.nbii.gov/newsmap > > > It doesn't have to pass the string of location info, could use just > > the resource identifier (resourceId) in the schema (http:// > > wildlifedisease.nbii.gov/newsmap/schema.js) > > > Any thoughts? Or if anyone has implemented or knows of an > > implementation out there I might be able to "copy" that would be > > great. > > > Or.. if the code used in my old Google Map would transfer to the > > Simile Exhibit somehow? > > > Thanks for any ideas! > > > Megan -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to simile-widg...@googlegroups.com. To unsubscribe from this group, send email to simile-widgets+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en.
Re: [Simile-Widgets] link from external site to exhibit, pass URL parameter, open corresponding bubble
Well, you can do this: http://simile-widgets.org/exhibit/examples/presidents/presidents.html#George%20Washington which does open up the detail view for the particular item; however, I don't think it will open the bubble on the map. the problem is that the id reference is interpreted before exhibit knows which view is active. You can see how this is done by looking at the showFocusDialogOnItem in the last bit of code in the configureFromDOM method found in http://code.google.com/p/simile-widgets/source/browse/exhibit/trunk/src/webapp/api/scripts/exhibit.js On 12/3/2010 2:02 PM, mkhines wrote: Is this possible? I'm doing it in a 'regular' google map implementation here - example - http://wildlifedisease.nbii.gov/wdinNewsDigestMap.jsp?id=Phi%20Phi%20Islands,%20Krabi,%20Thailand,%20Asia&z=5 but would like to do the same type of thing here (temporary URL) http://wildlifedisease.nbii.gov/newsmap It doesn't have to pass the string of location info, could use just the resource identifier (resourceId) in the schema (http:// wildlifedisease.nbii.gov/newsmap/schema.js) Any thoughts? Or if anyone has implemented or knows of an implementation out there I might be able to "copy" that would be great. Or.. if the code used in my old Google Map would transfer to the Simile Exhibit somehow? Thanks for any ideas! Megan -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to simile-widg...@googlegroups.com. To unsubscribe from this group, send email to simile-widgets+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en.
[Simile-Widgets] link from external site to exhibit, pass URL parameter, open corresponding bubble
Is this possible? I'm doing it in a 'regular' google map implementation here - example - http://wildlifedisease.nbii.gov/wdinNewsDigestMap.jsp?id=Phi%20Phi%20Islands,%20Krabi,%20Thailand,%20Asia&z=5 but would like to do the same type of thing here (temporary URL) http://wildlifedisease.nbii.gov/newsmap It doesn't have to pass the string of location info, could use just the resource identifier (resourceId) in the schema (http:// wildlifedisease.nbii.gov/newsmap/schema.js) Any thoughts? Or if anyone has implemented or knows of an implementation out there I might be able to "copy" that would be great. Or.. if the code used in my old Google Map would transfer to the Simile Exhibit somehow? Thanks for any ideas! Megan -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to simile-widg...@googlegroups.com. To unsubscribe from this group, send email to simile-widgets+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en.
Re: [Simile-Widgets] Re: Timeline: hacking the bubble
Nigel, Thanks, I did solve my problem. I had, by trial and error, to discover what you so correctly point out. In generating the html to insert into the bubble's description div, I had already calculated the maximum height for what I wanted, I merely had to apply that to the _containing_ div: no need to hack the bubble at all! Thanks, Jon On Fri, Oct 29, 2010 at 4:25 AM, Nigel wrote: > The correct behaviour for an HTML div with a defined height but no > content is. I believe, to be rendered with no height. That would mean > testing for its actual rendered height would return 0. A non-breaking > space HTML entity ( ) inside the empty div will cause it to > render at its defined height. > -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to simile-widg...@googlegroups.com. To unsubscribe from this group, send email to simile-widgets+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en.
[Simile-Widgets] Re: Timeline: hacking the bubble
The correct behaviour for an HTML div with a defined height but no content is. I believe, to be rendered with no height. That would mean testing for its actual rendered height would return 0. A non-breaking space HTML entity ( ) inside the empty div will cause it to render at its defined height. On Oct 28, 6:56 pm, jjon wrote: > here's a puzzle for you javascript wizards out there. > > As I understand it, the timeline software calculates the size of a > popup bubble in SimileAjax.Graphics.createBubbleForContentAndPoint. It > first generates the div for the bubble offscreen, and then in a > window.setTimeout function, it measures the size of the resulting div > by getting the div's srollHeight, then uses > createBubbleForContentAndPoint again to create the bubble with the > right dimensions at the point on the timeline where it's called for. > This gives it time for the contents of the bubble to be rendered > offscreen so that the correct height can be determined. > > This is pretty damned clever, but I'm puzzled by this: If the > description div in the body of my bubble contains an image, the > resulting bubble honors the dimensions of the image and opens a bubble > of the correct height to contain it; however, if the bubble contains a > div with a declared height and width, those dimensions are ignored > unless the div in question actually has content. > > Can anyone suggest how I might compel createBubbleForContentAndPoint > to honor the declared dimensions of the divs within the bubble content > such that the bubble is opened with the cumulative heights of the > contained elements, even if that means including whitespace? > > Jon -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to simile-widg...@googlegroups.com. To unsubscribe from this group, send email to simile-widgets+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en.
[Simile-Widgets] Timeline: hacking the bubble
here's a puzzle for you javascript wizards out there. As I understand it, the timeline software calculates the size of a popup bubble in SimileAjax.Graphics.createBubbleForContentAndPoint. It first generates the div for the bubble offscreen, and then in a window.setTimeout function, it measures the size of the resulting div by getting the div's srollHeight, then uses createBubbleForContentAndPoint again to create the bubble with the right dimensions at the point on the timeline where it's called for. This gives it time for the contents of the bubble to be rendered offscreen so that the correct height can be determined. This is pretty damned clever, but I'm puzzled by this: If the description div in the body of my bubble contains an image, the resulting bubble honors the dimensions of the image and opens a bubble of the correct height to contain it; however, if the bubble contains a div with a declared height and width, those dimensions are ignored unless the div in question actually has content. Can anyone suggest how I might compel createBubbleForContentAndPoint to honor the declared dimensions of the divs within the bubble content such that the bubble is opened with the cumulative heights of the contained elements, even if that means including whitespace? Jon -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to simile-widg...@googlegroups.com. To unsubscribe from this group, send email to simile-widgets+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en.
[Simile-Widgets] Problems with bubble display with multiple timelines
I'm working on an interactive history of the University of Washington using Timeline. Thus far, it's been great. Check out our current beta version: http://www.washington.edu/alumni/timeline/index.html We're doing something a little different than most of the uses of Timeline that I've seen. We spent quite a bit of time hacking the way Timeline displayes in order to provide a streamlined, quality experience. Anyway, my question (well, a couple really). I'm working on a version of the Timline that will allow our grads to add themselves. I'm having some problems with the bubble display. In IE the bubbles don't display at all for the 2nd timeline. In other browsers, it displays, but always in the upper left side of the timeline rather than near the event as it should (and does in the main top timeline). Here the test version: http://www.washington.edu/alumni/timeline/index-double.html On the lower timeline, try scrolling to 1960 to see a few entries. I'm guessing it's some problem with our javascript (I'm no js expert). Any idea what's going wrong? Also, we're hoping lots of alumni to add their own entries. If we're successful, displaying all those points will be tricky. Right now, about 5 entries per year fills up the entire vertical space. I tried using the compact event painter to overlap them, but for some reason, it strips the classname attribute that we were using to style. Did I miss something or is it intentionally stripped? Any other thoughts on how best to display a bunch of entries? I was thinking limiting to just icons w/o any label to save space. You'd see their name if you hovered over or clicked. Thanks in advance for any help. And apologies for the hacked up version of timeline we're using! mark -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to simile-widg...@googlegroups.com. To unsubscribe from this group, send email to simile-widgets+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en.
[Simile-Widgets] Re: Newbie - problem with audio in bubble
Eureka! Many thanks. I've read a lot of solutions for this, but this is the first one to work for me. Regards Andrew McGurk On Sep 27, 11:12 am, ZermattMan wrote: > I have a problem playing audio clips in the bubble. > In the Watergate timeline atwww.zermattbs.com. > in the event "President Nixon resigns", no control displays, but you > can see where it should be! > If I set AUTOPLAY='true', it will play when the bubble comes up; > but you still can't see it or control it! > > In my XML file I have this code: > > icon="../Media/speaker_on.png" title="President Nixon Resigns."> > Resignation of President on televised address to nation. Gerald > Ford becomes President. > </P><EMBED SRC='Media/WTG/DeanCancerShort.mp3' > AUTOSTART='false' HEIGHT='60' WIDTH='144'/></P> > > > TIA > > Andrew McGurk -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to simile-widg...@googlegroups.com. To unsubscribe from this group, send email to simile-widgets+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en.
[Simile-Widgets] Re: Newbie - problem with audio in bubble
Hi Andrew, Embedding audio on webpages has always been somewhat messy. Hopefully with HTML5 things will improve. For now, have you tried the flash player method described at www.labnol.org/internet/design/html-embed-mp3-songs-podcasts-music-in-blogs-websites/2232/ ? Michiel On Sep 27, 3:12 am, ZermattMan wrote: > I have a problem playing audio clips in the bubble. > In the Watergate timeline atwww.zermattbs.com. > in the event "President Nixon resigns", no control displays, but you > can see where it should be! > If I set AUTOPLAY='true', it will play when the bubble comes up; > but you still can't see it or control it! > > In my XML file I have this code: > > icon="../Media/speaker_on.png" title="President Nixon Resigns."> > Resignation of President on televised address to nation. Gerald > Ford becomes President. > </P><EMBED SRC='Media/WTG/DeanCancerShort.mp3' > AUTOSTART='false' HEIGHT='60' WIDTH='144'/></P> > > > TIA > > Andrew McGurk -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to simile-widg...@googlegroups.com. To unsubscribe from this group, send email to simile-widgets+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en.
[Simile-Widgets] Newbie - problem with audio in bubble
I have a problem playing audio clips in the bubble. In the Watergate timeline at www.zermattbs.com. in the event "President Nixon resigns", no control displays, but you can see where it should be! If I set AUTOPLAY='true', it will play when the bubble comes up; but you still can't see it or control it! In my XML file I have this code: Resignation of President on televised address to nation. Gerald Ford becomes President. </P><EMBED SRC='Media/WTG/DeanCancerShort.mp3' AUTOSTART='false' HEIGHT='60' WIDTH='144'/></P> TIA Andrew McGurk -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to simile-widg...@googlegroups.com. To unsubscribe from this group, send email to simile-widgets+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en.
Re: [Simile-Widgets] Solved: Exhibit Custom Pop-up Bubble (Thickbox Style)
Indeed - I have been playing around with the Universal Iphone UI Kit ( http://code.google.com/p/iphone-universal/), figuring out ways It could be applied to Exhibit. The popup is styled with CSS from this kit, but really it could look like anything. Regards, Jon On 13 September 2010 19:07, Jakob Fix wrote: > cool, I like it, it's meant for use on iphone and ipad, I take it? > > cheers, > Jakob. > > > > On Mon, Sep 13, 2010 at 06:16, Jonathan Bogacki > wrote: > > So it took a little styling, and a custom javascript function, but I > think I > > have it sorted. Example can be seen at: > > http://www.jonbogacki.com/examples/custombubble/nobelists.html > > > > Bubbles are generated as full page popup's, with a transparent backdrop. > > Popup can be styled to your needs, full page or centred. See > custombubble.js > > in the example for the modified bubble javascript, CSS style is in the > > example HTML. > > > > Hope someone finds it useful! > > > > Regards, > > Jon > > > > > > > > -- > > You received this message because you are subscribed to the Google Groups > > "SIMILE Widgets" group. > > To post to this group, send email to simile-widg...@googlegroups.com. > > To unsubscribe from this group, send email to > > simile-widgets+unsubscr...@googlegroups.com > . > > For more options, visit this group at > > http://groups.google.com/group/simile-widgets?hl=en. > > > > -- > You received this message because you are subscribed to the Google Groups > "SIMILE Widgets" group. > To post to this group, send email to simile-widg...@googlegroups.com. > To unsubscribe from this group, send email to > simile-widgets+unsubscr...@googlegroups.com > . > For more options, visit this group at > http://groups.google.com/group/simile-widgets?hl=en. > > -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to simile-widg...@googlegroups.com. To unsubscribe from this group, send email to simile-widgets+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en.
Re: [Simile-Widgets] Solved: Exhibit Custom Pop-up Bubble (Thickbox Style)
cool, I like it, it's meant for use on iphone and ipad, I take it? cheers, Jakob. On Mon, Sep 13, 2010 at 06:16, Jonathan Bogacki wrote: > So it took a little styling, and a custom javascript function, but I think I > have it sorted. Example can be seen at: > http://www.jonbogacki.com/examples/custombubble/nobelists.html > > Bubbles are generated as full page popup's, with a transparent backdrop. > Popup can be styled to your needs, full page or centred. See custombubble.js > in the example for the modified bubble javascript, CSS style is in the > example HTML. > > Hope someone finds it useful! > > Regards, > Jon > > > > -- > You received this message because you are subscribed to the Google Groups > "SIMILE Widgets" group. > To post to this group, send email to simile-widg...@googlegroups.com. > To unsubscribe from this group, send email to > simile-widgets+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/simile-widgets?hl=en. > -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to simile-widg...@googlegroups.com. To unsubscribe from this group, send email to simile-widgets+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en.
[Simile-Widgets] Solved: Exhibit Custom Pop-up Bubble (Thickbox Style)
So it took a little styling, and a custom javascript function, but I think I have it sorted. Example can be seen at: http://www.jonbogacki.com/examples/custombubble/nobelists.html Bubbles are generated as full page popup's, with a transparent backdrop. Popup can be styled to your needs, full page or centred. See custombubble.js in the example for the modified bubble javascript, CSS style is in the example HTML. Hope someone finds it useful! Regards, Jon -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to simile-widg...@googlegroups.com. To unsubscribe from this group, send email to simile-widgets+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en.
[Simile-Widgets] Exhibit - Custom Bubble Position (thickbox style)?
Hi All, Some background: I am creating a custom Exhibit data bubble using this script: function showItem(elmt) { var itemID = Exhibit.getAttribute(elmt, "itemID"); Exhibit.UI.showItemInPopup(itemID, elmt, exhibit.getUIContext()); } and this link in the viewpanel: When a data bubble is created in Exhibit, it's CSS position is automatically added to the generated bubble DIV container - eg: This positions the bubble directly above the link that generated it. How can I modify/control the automatically generated "left" and "top" style? I am wanting to achieve a full page height and width bubble (using css) - one that floats over the rest of the page (thickbox style). I am getting there with my CSS, but if there is a way to control the automatic style rules it would make it much easier. Any help/insight is appreciated. Regards, Jon -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to simile-widg...@googlegroups.com. To unsubscribe from this group, send email to simile-widgets+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en.
[Simile-Widgets] Re: Changing date format in bubble
Hi Tristan, If you're using the Timeline extension for Exhibit, which I do, then you can create a custom lens. (Guessing that you're probably describing the default lens.) The custom lens can then be made to show any of the data in the XML/JSON record in any format you so desire. For more details look on the Wiki for the 'lens' documentation. You can also take a look at one of my examples at: www.thisbeautifulgame.com (Look at the source for the page and search for 'tournament-lens'. HTH, -Mark On Aug 19, 4:01 am, tristan wrote: > Hi, > Some days ago I found the timeline widget, and now I try to make a > timeline myself. > I just wonder if it's possible to change de date format in the popup > bubble. Now it is for example "Tue, 12 Jun 2012 22:00:00 UTC" but I > would like to change it in "Tue, 12 Jun 2012". Is this possible? > Thank you in advance for your reply! > > Tristan -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to simile-widg...@googlegroups.com. To unsubscribe from this group, send email to simile-widgets+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en.
[Simile-Widgets] Changing date format in bubble
Hi, Some days ago I found the timeline widget, and now I try to make a timeline myself. I just wonder if it's possible to change de date format in the popup bubble. Now it is for example "Tue, 12 Jun 2012 22:00:00 UTC" but I would like to change it in "Tue, 12 Jun 2012". Is this possible? Thank you in advance for your reply! Tristan -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to simile-widg...@googlegroups.com. To unsubscribe from this group, send email to simile-widgets+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en.
Re: [Simile-Widgets] Need an audio player in the bubble.
you are welcome to use the code from the millionaire's exhibit. you can probably find what you want in this exhibit: http://www.musicedmagic.com/Exhibit/composers.html On 6/24/2010 7:53 AM, Manuel Portillo wrote: Hi there, I have two questions and I will very much appreciate your help on this. I need to develop a simple but nice looking exhibit that will display information about 25 very young producers of audio stories and be able to display an audio player inside the bubble. I would like my exhibit to be fed by a Google Spreadsheet rather than a Json file. Also, for this exhibit I would like to use the Millionaires Exhibit as a template. So my questions are the following: Do any of you know if I can use the code from the Millionaires Exhibit freely, without infringing of any intellectual rights? How can I insert an audio player inside the bubble? Thank you. Manuel Portillo -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to simile-widg...@googlegroups.com. To unsubscribe from this group, send email to simile-widgets+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en. -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to simile-widg...@googlegroups.com. To unsubscribe from this group, send email to simile-widgets+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en.
[Simile-Widgets] Need an audio player in the bubble.
Hi there, I have two questions and I will very much appreciate your help on this. I need to develop a simple but nice looking exhibit that will display information about 25 very young producers of audio stories and be able to display an audio player inside the bubble. I would like my exhibit to be fed by a Google Spreadsheet rather than a Json file. Also, for this exhibit I would like to use the Millionaires Exhibit as a template. So my questions are the following: Do any of you know if I can use the code from the Millionaires Exhibit freely, without infringing of any intellectual rights? How can I insert an audio player inside the bubble? Thank you. Manuel Portillo -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to simile-widg...@googlegroups.com. To unsubscribe from this group, send email to simile-widgets+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en.
[Simile-Widgets] Re: Timeline bubble background color modification
Thanks Michael. I tried what you suggested, but I must be doing something wrong as it isn't working. I made my own version of the bubble images. All I did was simply negate the color scheme (to high contrast black, cf., the default high contrast white). I made no changes to geometry/size. I copied and modified my own copies of the 2 css files you described updating the paths for the images to point to my modified png files. I updated the HTML in the head section to load the modified CSS files after the timeline code has been loaded <<<< http://static.simile.mit.edu/timeline/api-2.3.0/</a> timeline-api.js?bundle=true" type="text/javascript"> >>>> Unfortunately it is behaving has if I'm made no changes at all. You'll find the timeline here (if that helps): http://tom.raresteeds.com/genealogy/timelines/MorrisseyElaine.tl.htm Thanks for the assistance so far and any further insight you can provide. On Jun 21, 8:42 am, Michael Nosal wrote: > Motobojo, > The references to the images themselves are in a stylesheet file > /timeline/src/ajax/api/styles/graphics.css (and in graphics-ie6.css which > includes the filters to make the transparency work correctly in IE). You > won't need to host your own copy of the Timeline src, just your own images > and CSS. > > To use your own bubble background image, you need to make replacement images > for each part of the bubble (sides, corners, top, bottom, and arrows). Give > these new names that make sense to you and put them in your stylesheet image > directory, e.g. "myImages". > > Then you need to make two new css files (call them "myGraphics.css" and > "myGraphics-ie6.css") and change all the references to the bubble images from > the "images" directory to your "myImages" directory. If your bubble is > differently sized, you will have to adjust the size and positioning as well. > > When your HTML loads, have it load your stylesheet. You must load it *after* > Timeline has loaded graphics.css. > > The javascript object SimileAjax.Graphics.bubbleConfig contains css > classnames and image metrics used by the code to figure out how big the > bubble is. You might need to change the values for borderGraphicSize, > arrowGraphicTargetOffset, arrowGraphicLength, arrowGraphicWidth and > extraPadding if your bubble is differently sized or shaped. If all you do is > change the background color of the existing Simile-Widgets bubble, then you > shouldn't need to do this. > > Just set this object in your code before you create the timeline. To use > images with a wider graphic for the border, say 70px instead of 50px, just > add: > > SimileAjax.Graphics.bubbleConfig = { > borderGraphicSize: 70 > > }; > > It's not a trivial change, but should all be doable with your own images, CSS > and maybe a snippet of Javascript. > > --Mike > > On Jun 20, 2010, at 5:49 PM, motobojo wrote: > > > > > Thanks for the pointer to the images. > > I find them here: > >http://simile-widgets.googlecode.com/svn/timeline/trunk/src/webapp/ap... > > > But now I'll really expose my lack of understanding (sorry) ... > > Once I make my alternatively colored versions of the component images > > of the bubble how do I go about using my version of the images rather > > than the default ones? > > > I'm loading timeline via: > > http://static.simile.mit.edu/timeline/api-2.3.0/timeline-</a> > > api.js?bundle=true" type="text/javascript"> > > > Am I going to need to host my own copy of the source merely to make > > these few changes? > > > Thanks for any insight and for your patience. > > > On Jun 1, 8:07 am, Michael Nosal wrote: > >> The bubbles are made from several images. See > >> timeline/src/webapp/api/images - there are a dozen images that make up the > >> parts of a bubble. The background color for the bubble is part of the > >> image, so if you want bubbles with different background colors, you'll > >> need to make new images. > > >> --Mike > > >> On May 28, 2010, at 4:04 PM, motobojo wrote: > > >>> Is there a way to way to change the color of the bubble background > >>> color for Timeline? > > >>> I have discovered many means of changing the background color for the > >>> various bits of text included in the bubble, but not the bubble fill/ > >>> background color itself. > > >>> My apologies if this is documented somewhere and I just missed it. I > >>> am a newbie, but
Re: [Simile-Widgets] Re: Timeline bubble background color modification
Motobojo, The references to the images themselves are in a stylesheet file /timeline/src/ajax/api/styles/graphics.css (and in graphics-ie6.css which includes the filters to make the transparency work correctly in IE). You won't need to host your own copy of the Timeline src, just your own images and CSS. To use your own bubble background image, you need to make replacement images for each part of the bubble (sides, corners, top, bottom, and arrows). Give these new names that make sense to you and put them in your stylesheet image directory, e.g. "myImages". Then you need to make two new css files (call them "myGraphics.css" and "myGraphics-ie6.css") and change all the references to the bubble images from the "images" directory to your "myImages" directory. If your bubble is differently sized, you will have to adjust the size and positioning as well. When your HTML loads, have it load your stylesheet. You must load it *after* Timeline has loaded graphics.css. The javascript object SimileAjax.Graphics.bubbleConfig contains css classnames and image metrics used by the code to figure out how big the bubble is. You might need to change the values for borderGraphicSize, arrowGraphicTargetOffset, arrowGraphicLength, arrowGraphicWidth and extraPadding if your bubble is differently sized or shaped. If all you do is change the background color of the existing Simile-Widgets bubble, then you shouldn't need to do this. Just set this object in your code before you create the timeline. To use images with a wider graphic for the border, say 70px instead of 50px, just add: SimileAjax.Graphics.bubbleConfig = { borderGraphicSize: 70 }; It's not a trivial change, but should all be doable with your own images, CSS and maybe a snippet of Javascript. --Mike On Jun 20, 2010, at 5:49 PM, motobojo wrote: > Thanks for the pointer to the images. > I find them here: > http://simile-widgets.googlecode.com/svn/timeline/trunk/src/webapp/api/images/ > > But now I'll really expose my lack of understanding (sorry) ... > Once I make my alternatively colored versions of the component images > of the bubble how do I go about using my version of the images rather > than the default ones? > > I'm loading timeline via: > http://static.simile.mit.edu/timeline/api-2.3.0/timeline-</a> > api.js?bundle=true" type="text/javascript"> > > Am I going to need to host my own copy of the source merely to make > these few changes? > > Thanks for any insight and for your patience. > > On Jun 1, 8:07 am, Michael Nosal wrote: >> The bubbles are made from several images. See timeline/src/webapp/api/images >> - there are a dozen images that make up the parts of a bubble. The >> background color for the bubble is part of the image, so if you want bubbles >> with different background colors, you'll need to make new images. >> >> --Mike >> >> On May 28, 2010, at 4:04 PM, motobojo wrote: >> >> >> >>> Is there a way to way to change the color of the bubble background >>> color for Timeline? >> >>> I have discovered many means of changing the background color for the >>> various bits of text included in the bubble, but not the bubble fill/ >>> background color itself. >> >>> My apologies if this is documented somewhere and I just missed it. I >>> am a newbie, but I've done quite a bit of poking around to find the >>> answer myself and haven't had any luck. >> >>> Thanks in advance for any help. >> >>> fwiw I'm using Timeline version 2.3.0 (with Ajax lib 2.2.0) -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to simile-widg...@googlegroups.com. To unsubscribe from this group, send email to simile-widgets+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en.
[Simile-Widgets] Re: Timeline bubble background color modification
Thanks for the pointer to the images. I find them here: http://simile-widgets.googlecode.com/svn/timeline/trunk/src/webapp/api/images/ But now I'll really expose my lack of understanding (sorry) ... Once I make my alternatively colored versions of the component images of the bubble how do I go about using my version of the images rather than the default ones? I'm loading timeline via: http://static.simile.mit.edu/timeline/api-2.3.0/timeline-</a> api.js?bundle=true" type="text/javascript"> Am I going to need to host my own copy of the source merely to make these few changes? Thanks for any insight and for your patience. On Jun 1, 8:07 am, Michael Nosal wrote: > The bubbles are made from several images. See timeline/src/webapp/api/images > - there are a dozen images that make up the parts of a bubble. The background > color for the bubble is part of the image, so if you want bubbles with > different background colors, you'll need to make new images. > > --Mike > > On May 28, 2010, at 4:04 PM, motobojo wrote: > > > > > Is there a way to way to change the color of the bubble background > > color for Timeline? > > > I have discovered many means of changing the background color for the > > various bits of text included in the bubble, but not the bubble fill/ > > background color itself. > > > My apologies if this is documented somewhere and I just missed it. I > > am a newbie, but I've done quite a bit of poking around to find the > > answer myself and haven't had any luck. > > > Thanks in advance for any help. > > > fwiw I'm using Timeline version 2.3.0 (with Ajax lib 2.2.0) > > > -- > > You received this message because you are subscribed to the Google Groups > > "SIMILE Widgets" group. > > To post to this group, send email to simile-widg...@googlegroups.com. > > To unsubscribe from this group, send email to > > simile-widgets+unsubscr...@googlegroups.com. > > For more options, visit this group > > athttp://groups.google.com/group/simile-widgets?hl=en.- Hide quoted text - > > - Show quoted text - -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to simile-widg...@googlegroups.com. To unsubscribe from this group, send email to simile-widgets+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en.
Re: [Simile-Widgets] Timeline bubble background color modification
The bubbles are made from several images. See timeline/src/webapp/api/images - there are a dozen images that make up the parts of a bubble. The background color for the bubble is part of the image, so if you want bubbles with different background colors, you'll need to make new images. --Mike On May 28, 2010, at 4:04 PM, motobojo wrote: > Is there a way to way to change the color of the bubble background > color for Timeline? > > I have discovered many means of changing the background color for the > various bits of text included in the bubble, but not the bubble fill/ > background color itself. > > My apologies if this is documented somewhere and I just missed it. I > am a newbie, but I've done quite a bit of poking around to find the > answer myself and haven't had any luck. > > Thanks in advance for any help. > > fwiw I'm using Timeline version 2.3.0 (with Ajax lib 2.2.0) > > -- > You received this message because you are subscribed to the Google Groups > "SIMILE Widgets" group. > To post to this group, send email to simile-widg...@googlegroups.com. > To unsubscribe from this group, send email to > simile-widgets+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/simile-widgets?hl=en. > -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to simile-widg...@googlegroups.com. To unsubscribe from this group, send email to simile-widgets+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en.
[Simile-Widgets] Timeline bubble background color modification
Is there a way to way to change the color of the bubble background color for Timeline? I have discovered many means of changing the background color for the various bits of text included in the bubble, but not the bubble fill/ background color itself. My apologies if this is documented somewhere and I just missed it. I am a newbie, but I've done quite a bit of poking around to find the answer myself and haven't had any luck. Thanks in advance for any help. fwiw I'm using Timeline version 2.3.0 (with Ajax lib 2.2.0) -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to simile-widg...@googlegroups.com. To unsubscribe from this group, send email to simile-widgets+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en.
Re: [Simile-Widgets] Re: Have First Bubble Show Automatically onload
You don't need to modify anything in the source files for Timeline. Suppose you have a simple timeline and you are populating it with JSON (or XML) data that is fetched via ajax. Timeline's loadJSON function takes a callback that is executed when the data has been returned. For example: var eventSource = new Timeline.DefaultEventSource(); var bandInfos = [ Timeline.CreateBandInfo({ }), etc.] var tl = Timeline.create(document.getElementById("timelinediv",bandInfos); tl.loadJSON("myevents.json", function(data, url) { eventSource.loadJSON(data,url); showFirstBubble(tl); }); This will not execute showFirstBubble until after you have loaded your event data into the eventSource. You can define showFirstBubble wherever you like, e.g. in your own page
[Simile-Widgets] Re: Have First Bubble Show Automatically onload
Upon a lot of testing it seems that timeline-bundle.js is being loaded but not actually used. simile-ajax-bundle.js is what is building it all. Any idea how to use that file to get the first bubble to popup? Thanks so much for the help so far! On Mar 11, 6:28 pm, Deuce wrote: > Okay, it seems I was looking at the wrong set of files. > Looking at the correct ones I have implemented this. > > Timeline.loadJSON=function(url,f) { > showFirstBubble(); > var fError=function(statusText,status,xmlhttp) { > alert("Failed to load json data from "+url+"\n"+statusText); > }; > var fDone=function(xmlhttp) { > f(eval("("+xmlhttp.responseText+")"),url); > }; > > SimileAjax.XmlHttp.get(url,fError,fDone); > > }; > > function showFirstBubble(tl) { > var band = tl.getBand(0); > var firstEvent = > band.getEventSource().getAllEventIterator().next(); > band.setCenterVisibleDate(firstEvent.getStart()); > band.getEventPainter().showBubble(firstEvent); > > } > > But that doesn't seem to make a difference. > Is there something I am missing here? > I am editing timeline-bundle.js as that is what is being called. > > On Mar 11, 5:29 pm, Deuce wrote: > > > > > Mike and Jon, > > > Thank you for the pieces of code, I would like to try these out, but > > forgive my ignorance when I ask which file it is you are modifying and > > where in that file? > > I searched all of the files for the "loadJSON" and in timeline.js > > there is a line "Sources[0].loadJSON(args.events, url);" Would it be > > somewhere around that? > > This is a single band timeline inside of Drupal. You can view what I > > have so far athttp://bit.ly/9RIVjjjustneeding to get that first > > bubble to popup. > > > If you could let me know where to add either one of your functions I > > would appreciate! Thank you very much! > > > Kyle > > > On Mar 10, 8:10 am, Michael Nosal wrote: > > > > > I would like for the very first bubble to automatically display when > > > > the page is loaded. > > > > I have looked around and don't see what I should be editing. > > > > If you have any input on what it would take to do this, please let me > > > > know. > > > > > Thank you very much! > > > > Here's how to get Timeline to automatically show the bubble for the first > > > event when the Timeline loads: > > > > Once you are done loading your events, you can tell Timeline to show the > > > bubble for the first event. If you are loading events via ajax, you'll > > > have to wait for the XHR to return and for Timeline to process the > > > events. You can add this function to your loadJSON callback. > > > > Let's assume you have a simple timeline with one band: > > > > function showFirstBubble(tl) { > > > var band = tl.getBand(0); > > > var firstEvent = band.getEventSource().getAllEventIterator().next(); > > > band.setCenterVisibleDate(firstEvent.getStart()); > > > band.getEventPainter().showBubble(firstEvent); > > > > } > > > > This will find the first event, scroll the timeline to it and show the > > > bubble. > > > If you initialize your timeline to another date, then you'll need to > > > decide which event you want to be "first". For example, in the JFK > > > Timeline, the first event in the dataset is the Bay of Pigs Invasion, but > > > the Timeline is initialized at the time of JFK's death. > > > > Let me know if this works for you. > > > > --Mike -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to simile-widg...@googlegroups.com. To unsubscribe from this group, send email to simile-widgets+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en.
[Simile-Widgets] Re: Have First Bubble Show Automatically onload
Okay, it seems I was looking at the wrong set of files. Looking at the correct ones I have implemented this. Timeline.loadJSON=function(url,f) { showFirstBubble(); var fError=function(statusText,status,xmlhttp) { alert("Failed to load json data from "+url+"\n"+statusText); }; var fDone=function(xmlhttp) { f(eval("("+xmlhttp.responseText+")"),url); }; SimileAjax.XmlHttp.get(url,fError,fDone); }; function showFirstBubble(tl) { var band = tl.getBand(0); var firstEvent = band.getEventSource().getAllEventIterator().next(); band.setCenterVisibleDate(firstEvent.getStart()); band.getEventPainter().showBubble(firstEvent); } But that doesn't seem to make a difference. Is there something I am missing here? I am editing timeline-bundle.js as that is what is being called. On Mar 11, 5:29 pm, Deuce wrote: > Mike and Jon, > > Thank you for the pieces of code, I would like to try these out, but > forgive my ignorance when I ask which file it is you are modifying and > where in that file? > I searched all of the files for the "loadJSON" and in timeline.js > there is a line "Sources[0].loadJSON(args.events, url);" Would it be > somewhere around that? > This is a single band timeline inside of Drupal. You can view what I > have so far athttp://bit.ly/9RIVjjjust needing to get that first > bubble to popup. > > If you could let me know where to add either one of your functions I > would appreciate! Thank you very much! > > Kyle > > On Mar 10, 8:10 am, Michael Nosal wrote: > > > > > > I would like for the very first bubble to automatically display when > > > the page is loaded. > > > I have looked around and don't see what I should be editing. > > > If you have any input on what it would take to do this, please let me > > > know. > > > > Thank you very much! > > > Here's how to get Timeline to automatically show the bubble for the first > > event when the Timeline loads: > > > Once you are done loading your events, you can tell Timeline to show the > > bubble for the first event. If you are loading events via ajax, you'll have > > to wait for the XHR to return and for Timeline to process the events. You > > can add this function to your loadJSON callback. > > > Let's assume you have a simple timeline with one band: > > > function showFirstBubble(tl) { > > var band = tl.getBand(0); > > var firstEvent = band.getEventSource().getAllEventIterator().next(); > > band.setCenterVisibleDate(firstEvent.getStart()); > > band.getEventPainter().showBubble(firstEvent); > > > } > > > This will find the first event, scroll the timeline to it and show the > > bubble. > > If you initialize your timeline to another date, then you'll need to decide > > which event you want to be "first". For example, in the JFK Timeline, the > > first event in the dataset is the Bay of Pigs Invasion, but the Timeline is > > initialized at the time of JFK's death. > > > Let me know if this works for you. > > > --Mike -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to simile-widg...@googlegroups.com. To unsubscribe from this group, send email to simile-widgets+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en.
[Simile-Widgets] Re: Have First Bubble Show Automatically onload
Mike and Jon, Thank you for the pieces of code, I would like to try these out, but forgive my ignorance when I ask which file it is you are modifying and where in that file? I searched all of the files for the "loadJSON" and in timeline.js there is a line "Sources[0].loadJSON(args.events, url);" Would it be somewhere around that? This is a single band timeline inside of Drupal. You can view what I have so far at http://bit.ly/9RIVjj just needing to get that first bubble to popup. If you could let me know where to add either one of your functions I would appreciate! Thank you very much! Kyle On Mar 10, 8:10 am, Michael Nosal wrote: > > I would like for the very first bubble to automatically display when > > the page is loaded. > > I have looked around and don't see what I should be editing. > > If you have any input on what it would take to do this, please let me > > know. > > > Thank you very much! > > Here's how to get Timeline to automatically show the bubble for the first > event when the Timeline loads: > > Once you are done loading your events, you can tell Timeline to show the > bubble for the first event. If you are loading events via ajax, you'll have > to wait for the XHR to return and for Timeline to process the events. You can > add this function to your loadJSON callback. > > Let's assume you have a simple timeline with one band: > > function showFirstBubble(tl) { > var band = tl.getBand(0); > var firstEvent = band.getEventSource().getAllEventIterator().next(); > band.setCenterVisibleDate(firstEvent.getStart()); > band.getEventPainter().showBubble(firstEvent); > > } > > This will find the first event, scroll the timeline to it and show the bubble. > If you initialize your timeline to another date, then you'll need to decide > which event you want to be "first". For example, in the JFK Timeline, the > first event in the dataset is the Bay of Pigs Invasion, but the Timeline is > initialized at the time of JFK's death. > > Let me know if this works for you. > > --Mike -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to simile-widg...@googlegroups.com. To unsubscribe from this group, send email to simile-widgets+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en.
Re: [Simile-Widgets] Have First Bubble Show Automatically onload
> I would like for the very first bubble to automatically display when > the page is loaded. > I have looked around and don't see what I should be editing. > If you have any input on what it would take to do this, please let me > know. > > Thank you very much! Here's how to get Timeline to automatically show the bubble for the first event when the Timeline loads: Once you are done loading your events, you can tell Timeline to show the bubble for the first event. If you are loading events via ajax, you'll have to wait for the XHR to return and for Timeline to process the events. You can add this function to your loadJSON callback. Let's assume you have a simple timeline with one band: function showFirstBubble(tl) { var band = tl.getBand(0); var firstEvent = band.getEventSource().getAllEventIterator().next(); band.setCenterVisibleDate(firstEvent.getStart()); band.getEventPainter().showBubble(firstEvent); } This will find the first event, scroll the timeline to it and show the bubble. If you initialize your timeline to another date, then you'll need to decide which event you want to be "first". For example, in the JFK Timeline, the first event in the dataset is the Bay of Pigs Invasion, but the Timeline is initialized at the time of JFK's death. Let me know if this works for you. --Mike -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to simile-widg...@googlegroups.com. To unsubscribe from this group, send email to simile-widgets+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en.
[Simile-Widgets] Re: Have First Bubble Show Automatically onload
Kyle, There's probably a better way, but this works: in onLoad, when you call the load function, you can use the callback to execute a function showLatestBubble thus: tl.loadJSON("sourcedata.js", function(json, url) {eventSource.loadJSON(json, url); showLatestBubble()}); Then after the onLoad function define: function showLatestBubble(){ evt_count = tl.getBand(0).getEventSource().getCount(); tl.getBand(0).showBubbleForEvent('e' + evt_count); } I wanted to be able to do this myself, so I worked something out; however, my js skills aren't much, so if anybody has critiques or suggestions on this method, I hope you'll share them with us. The timeline api makes all sorts of things possible, but much depends upon being able to identify an eventID. Is there a way to derive the ID of an event from its other properties? Is there a simple way, for example, to get the eventID knowing only the event's startDate? Or, search the EventSource for an event having a user-defined property and get that event's ID? Jon On Mar 9, 8:33 am, Deuce wrote: > Hi Michiel! > > Thanks for the reply! > Since I am only using the Timeline plugin (sorry I didn't specify > that), and not the Exhibit plugin. > Is there a way to do this with the Timeline plugin? > > Thank you very much! > > Kyle > > On Mar 8, 1:16 am, Michiel wrote: > > > Hi, > > > Try this > > url:http://www.simile-widgets.org/exhibit/examples/cereals/cereal-charact > > > For the code > > see:http://code.google.com/p/simile-widgets/source/browse/exhibit/tags/2 > > line 330 or search for the word hash. > > > Michiel > > > On Mar 7, 10:54 pm, Deuce wrote: > > > > I would like for the very first bubble to automatically display when > > > the page is loaded. > > > I have looked around and don't see what I should be editing. > > > If you have any input on what it would take to do this, please let me > > > know. > > > > Thank you very much! > > -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to simile-widg...@googlegroups.com. To unsubscribe from this group, send email to simile-widgets+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en.
Re: [Simile-Widgets] Re: Have First Bubble Show Automatically onload
On 3/9/2010 11:33 AM, Deuce wrote: > Hi Michiel! > > Thanks for the reply! > Since I am only using the Timeline plugin (sorry I didn't specify > that), and not the Exhibit plugin. > Is there a way to do this with the Timeline plugin? > Probably the easiest is to use the exhibit plugin :) It incorporates all of timeline... > Thank you very much! > > Kyle > > On Mar 8, 1:16 am, Michiel wrote: > >> Hi, >> >> Try this >> url:http://www.simile-widgets.org/exhibit/examples/cereals/cereal-charact >> >> For the code >> see:http://code.google.com/p/simile-widgets/source/browse/exhibit/tags/2 >> line 330 or search for the word hash. >> >> Michiel >> >> On Mar 7, 10:54 pm, Deuce wrote: >> >> >> >> >>> I would like for the very first bubble to automatically display when >>> the page is loaded. >>> I have looked around and don't see what I should be editing. >>> If you have any input on what it would take to do this, please let me >>> know. >>> >> >>> Thank you very much! >>> > -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to simile-widg...@googlegroups.com. To unsubscribe from this group, send email to simile-widgets+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en.
[Simile-Widgets] Re: Have First Bubble Show Automatically onload
Hi Michiel! Thanks for the reply! Since I am only using the Timeline plugin (sorry I didn't specify that), and not the Exhibit plugin. Is there a way to do this with the Timeline plugin? Thank you very much! Kyle On Mar 8, 1:16 am, Michiel wrote: > Hi, > > Try this > url:http://www.simile-widgets.org/exhibit/examples/cereals/cereal-charact > > For the code > see:http://code.google.com/p/simile-widgets/source/browse/exhibit/tags/2 > line 330 or search for the word hash. > > Michiel > > On Mar 7, 10:54 pm, Deuce wrote: > > > > > I would like for the very first bubble to automatically display when > > the page is loaded. > > I have looked around and don't see what I should be editing. > > If you have any input on what it would take to do this, please let me > > know. > > > Thank you very much! -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to simile-widg...@googlegroups.com. To unsubscribe from this group, send email to simile-widgets+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en.
[Simile-Widgets] Re: Have First Bubble Show Automatically onload
Hi, Try this url: http://www.simile-widgets.org/exhibit/examples/cereals/cereal-characters.html#Cornelius. For the code see: http://code.google.com/p/simile-widgets/source/browse/exhibit/tags/2.2.0/src/webapp/api/scripts/exhibit.js line 330 or search for the word hash. Michiel On Mar 7, 10:54 pm, Deuce wrote: > I would like for the very first bubble to automatically display when > the page is loaded. > I have looked around and don't see what I should be editing. > If you have any input on what it would take to do this, please let me > know. > > Thank you very much! -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to simile-widg...@googlegroups.com. To unsubscribe from this group, send email to simile-widgets+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en.
[Simile-Widgets] Have First Bubble Show Automatically onload
I would like for the very first bubble to automatically display when the page is loaded. I have looked around and don't see what I should be editing. If you have any input on what it would take to do this, please let me know. Thank you very much! -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to simile-widg...@googlegroups.com. To unsubscribe from this group, send email to simile-widgets+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en.
[Simile-Widgets] Re: Have Bubble Pop Down instead of up
After MUCH anguish and digging and research and toying and playing and hacking I found the answer and it's so much easier than i expected. In hopes that no one has the deal with the same pains I did I found this solution. In original-painter.js inside of timeline_js/scripts around line 660 is the line SimileAjax.Graphics.createBubbleForContentAndPoint(div, x, y, themeBubble.width, null, themeBubble.maxHeight); Change the null to a string "top" "bottom" "left" "right" This is where the bubble of pop up! Have fun! On Jan 22, 10:20 am, Deuce wrote: > I am looking to increase the height of my timeline and have all of the > dates be flush against the top. > I however would like for the informationbubbleto popdowninstead of > above the date dot. > > You can view an image of what I am trying to accomplish athttp://grab.by/1Tgw > > If you have any insight on what I need to be looking for to modify > this, any information is helpful. > > Where can I change the height? > Where can I set thebubbleto popdowninstead of up? > > Thanks! -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to simile-widg...@googlegroups.com. To unsubscribe from this group, send email to simile-widgets+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en.
[Simile-Widgets] Have Bubble Pop Down instead of up
I am looking to increase the height of my timeline and have all of the dates be flush against the top. I however would like for the information bubble to pop down instead of above the date dot. You can view an image of what I am trying to accomplish at http://grab.by/1Tgw If you have any insight on what I need to be looking for to modify this, any information is helpful. Where can I change the height? Where can I set the bubble to pop down instead of up? Thanks! -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to simile-widg...@googlegroups.com. To unsubscribe from this group, send email to simile-widgets+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en.
Re: [Simile-Widgets] Events at the border cause bubble to be displaced
Kapil, Which version of Timeline are you using? The latest 2.3.1? David On Dec/26/09 2:47 am, Kapil Karekar wrote: > Hi, > > I am facing a peculiar display issue with the event bubble. If a user > clicks on the event text which is near the border of the timeline the > event bubble appears displaced. > > Take a look at this screenshot: http://i49.tinypic.com/bgdahc.jpg > > This happens across browsers. > > I am trying to figure out how to avoid this. It would be awesome if > anyone has already solved this or could help me solve this issue. > > Cheers! > Kapil > > -- > > You received this message because you are subscribed to the Google Groups > "SIMILE Widgets" group. > To post to this group, send email to simile-widg...@googlegroups.com. > To unsubscribe from this group, send email to > simile-widgets+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/simile-widgets?hl=en. > > > -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to simile-widg...@googlegroups.com. To unsubscribe from this group, send email to simile-widgets+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en.
[Simile-Widgets] Events at the border cause bubble to be displaced
Hi, I am facing a peculiar display issue with the event bubble. If a user clicks on the event text which is near the border of the timeline the event bubble appears displaced. Take a look at this screenshot: http://i49.tinypic.com/bgdahc.jpg This happens across browsers. I am trying to figure out how to avoid this. It would be awesome if anyone has already solved this or could help me solve this issue. Cheers! Kapil -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to simile-widg...@googlegroups.com. To unsubscribe from this group, send email to simile-widgets+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en.
[Simile-Widgets] Re: Vote: commit fix for setting Exhibit's bubble orientation/height & Exhibit/Timeline enhancement supporting "multiple" in legend
John Callahan wrote: > It sure would be nice if all Simile Widgets had coincident releases, > with the latest stable version of Exhibit pointing to the latest stable > versions of the others (Timeline, Timeplot, Painter, possibly eventually > Runway.) I don't have a feel for the independence or development > process for each project. Can this be done? You can easily see some > confusion if not. Maybe one of the ways forward is to establish an API to help break some of the dependencies (far easier said than done). > Does it make sense to have a wiki page explaining the social development > process? Anybody want to take a stab at it? That would be useful, but I think we need to flesh that out here. Even if it's an agreement that we're just going to push forward individually with branches whenever we feel like it. (Not that I think that's a good idea.) > Regarding the documentation wiki, should we be documenting the latest > stable or trunk versions? For now, I would recommend documenting the > latest trunk versions (as many changes have already been made and > announced) and move to stable when released. For future versions, we'll > need to have some disclaimers which version the docs pertain to. I agree, at the moment it makes a lot more sense to start documenting at the front of the line and draw in version barriers as they come up. There just isn't much documentation to start with anyways. > Just a thought... In each development cycle, once significant chnages > are made or warranted, a wiki page could be created listing what needs > to be done for the release to happen (beta, then stable.) That page > could point to existing issues or feature requests (in the Google Code > issue queue.) The issues need to be tested, enhancements need to be > documented, etc The primary developers would need to lead the > charge here. I think that ends up being whoever joins in on this thread ;) > - John > > ** > John Callahan, Geospatial Application Developer > Delaware Geological Survey, University of Delaware > Email: john.calla...@udel.edu > ** > > > > > Ryan Lee wrote: >> David Huynh wrote: >> Seems like it would be almost as much work to add a 2.3.2 timeline containing the patches and point exhibit at that, as it would to just upgrade exhibit to use the (already existing) "trunk" timeline. What is the status of moving Exhibit to the "trunk" timeline? Also, what is the process for re-generating and uploading the "bundle" and "bundle-debug" versions of timeline and exhibit once changes are made to the source? >>> Exhibit shouldn't point to trunk Timeline, as then Exhibit would break >>> when trunk Timeline is in the midst of development. >>> >>> The process for releasing Timeline involves >>> - running ant in the timeline directory to generate bundle files >>> - updating RELEASE_NOTES.txt and CHANGES.txt in the timeline directory >>> - testing and committing timeline >>> - within the hour, trunk.simile-widgets.org/timeline/ should get updated >>> with the trunk version. test it, too. >>> - tagging timeline (into timeline/tags) >>> - svn co the api-site project >>> - updating svn:externals in the timeline directory to link to the new tag >>> - I think we have a cron job that should update api.simile-widgets.org >>> within the hour. If not, log onto simile-widgets.org and update it >>> manually. >>> >> If we're going to push a new Timeline version, we should push a new >> version of Exhibit to make use of it, as well as incorporate the latest >> in the map and timeplot extensions in a more stable branch. >> >> David's described the mechanical process of pushing out a new Timeline >> version; do we have a social process for it? >> >> > > > > -- Ryan Lee ryan...@csail.mit.edu http://simile.mit.edu/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to simile-widgets@googlegroups.com To unsubscribe from this group, send email to simile-widgets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en -~--~~~~--~~--~--~---
[Simile-Widgets] Re: Vote: commit fix for setting Exhibit's bubble orientation/height & Exhibit/Timeline enhancement supporting "multiple" in legend
It sure would be nice if all Simile Widgets had coincident releases, with the latest stable version of Exhibit pointing to the latest stable versions of the others (Timeline, Timeplot, Painter, possibly eventually Runway.) I don't have a feel for the independence or development process for each project. Can this be done? You can easily see some confusion if not. Does it make sense to have a wiki page explaining the social development process? Anybody want to take a stab at it? Regarding the documentation wiki, should we be documenting the latest stable or trunk versions? For now, I would recommend documenting the latest trunk versions (as many changes have already been made and announced) and move to stable when released. For future versions, we'll need to have some disclaimers which version the docs pertain to. Just a thought... In each development cycle, once significant chnages are made or warranted, a wiki page could be created listing what needs to be done for the release to happen (beta, then stable.) That page could point to existing issues or feature requests (in the Google Code issue queue.) The issues need to be tested, enhancements need to be documented, etc The primary developers would need to lead the charge here. - John ** John Callahan, Geospatial Application Developer Delaware Geological Survey, University of Delaware Email: john.calla...@udel.edu ** Ryan Lee wrote: > David Huynh wrote: > >>> Seems like it would be almost as much work to add a 2.3.2 timeline >>> containing the patches and point exhibit at that, as it would to just >>> upgrade exhibit to use the (already existing) "trunk" timeline. What >>> is the status of moving Exhibit to the "trunk" timeline? Also, what is >>> the process for re-generating and uploading the "bundle" and >>> "bundle-debug" versions of timeline and exhibit once changes are made >>> to the source? >>> >> Exhibit shouldn't point to trunk Timeline, as then Exhibit would break >> when trunk Timeline is in the midst of development. >> >> The process for releasing Timeline involves >> - running ant in the timeline directory to generate bundle files >> - updating RELEASE_NOTES.txt and CHANGES.txt in the timeline directory >> - testing and committing timeline >> - within the hour, trunk.simile-widgets.org/timeline/ should get updated >> with the trunk version. test it, too. >> - tagging timeline (into timeline/tags) >> - svn co the api-site project >> - updating svn:externals in the timeline directory to link to the new tag >> - I think we have a cron job that should update api.simile-widgets.org >> within the hour. If not, log onto simile-widgets.org and update it >> manually. >> > > If we're going to push a new Timeline version, we should push a new > version of Exhibit to make use of it, as well as incorporate the latest > in the map and timeplot extensions in a more stable branch. > > David's described the mechanical process of pushing out a new Timeline > version; do we have a social process for it? > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to simile-widgets@googlegroups.com To unsubscribe from this group, send email to simile-widgets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en -~--~~~~--~~--~--~---
[Simile-Widgets] Re: Vote: commit fix for setting Exhibi t's bubble orientation/height & Exhibit/Timeline enhancement supporting "multiple" in legend
David Huynh wrote: >> Seems like it would be almost as much work to add a 2.3.2 timeline >> containing the patches and point exhibit at that, as it would to just >> upgrade exhibit to use the (already existing) "trunk" timeline. What >> is the status of moving Exhibit to the "trunk" timeline? Also, what is >> the process for re-generating and uploading the "bundle" and >> "bundle-debug" versions of timeline and exhibit once changes are made >> to the source? > Exhibit shouldn't point to trunk Timeline, as then Exhibit would break > when trunk Timeline is in the midst of development. > > The process for releasing Timeline involves > - running ant in the timeline directory to generate bundle files > - updating RELEASE_NOTES.txt and CHANGES.txt in the timeline directory > - testing and committing timeline > - within the hour, trunk.simile-widgets.org/timeline/ should get updated > with the trunk version. test it, too. > - tagging timeline (into timeline/tags) > - svn co the api-site project > - updating svn:externals in the timeline directory to link to the new tag > - I think we have a cron job that should update api.simile-widgets.org > within the hour. If not, log onto simile-widgets.org and update it > manually. If we're going to push a new Timeline version, we should push a new version of Exhibit to make use of it, as well as incorporate the latest in the map and timeplot extensions in a more stable branch. David's described the mechanical process of pushing out a new Timeline version; do we have a social process for it? -- Ryan Lee ryan...@csail.mit.edu http://simile.mit.edu/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to simile-widgets@googlegroups.com To unsubscribe from this group, send email to simile-widgets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en -~--~~~~--~~--~--~---
[Simile-Widgets] Re: Vote: commit fix for setting Exhibi t's bubble orientation/height & Exhibit/Timeline enhancement supporting "multiple" in legend
Hi Niels, Thank you for the patches! Please do commit them after having tested them with the existing examples. More below... On 10/11/2009 2:12 PM, Niels Mayer wrote: > These fixes enable access to underlying functionality in Exhibit's > widgetry via exhibit's way of passing parameters. So it's not untested > new functionality, just bugfix/enhancement to access existing working > functionality. > Specifically, ex:bubbleOrientation is now honored by timeline and > table views (actually any view using showItemInPopup()), and > ex:bubbleHeight is honored, rather than being ignored. Timeline gains > ex:topBandMultiple and ex:bottomBandMultiple settings to reduce > clutter in the legends (and scrolling performance when many need to be > drawn). > > http://nielsmayer.com/npm-fix-exhibit-bubble-enhance-timeline.js (overrides > to functions, and comments on changes, see below) > http://nielsmayer.com/npm-fix-exhibit-trunk.patch (patch against > current exhibit trunk) > http://nielsmayer.com/npm-fix-timeline-231.patch (patch against > timeline 2.3.1 -- note the patched functions are unchanged in trunk so > this patch can apply to trunk.). > > Question: were I to commit the timeline fixes to trunk, they won't be > seen because Exhibit uses the 2.3.1 Timeline. Is there a separate > "branch" for 2.3.1 to allow the same fixes to be applied both to trunk > timeline and Exhibit's? No, there's no such branch. However, when you use Exhibit, you can explicitly include Timeline before including Exhibit, and Exhibit won't try to include Timeline again. That way, you can decide which version of Timeline to use. Of course, you have to be sure they are compatible. > Seems like it would be almost as much work to add a 2.3.2 timeline > containing the patches and point exhibit at that, as it would to just > upgrade exhibit to use the (already existing) "trunk" timeline. What > is the status of moving Exhibit to the "trunk" timeline? Also, what is > the process for re-generating and uploading the "bundle" and > "bundle-debug" versions of timeline and exhibit once changes are made > to the source? Exhibit shouldn't point to trunk Timeline, as then Exhibit would break when trunk Timeline is in the midst of development. The process for releasing Timeline involves - running ant in the timeline directory to generate bundle files - updating RELEASE_NOTES.txt and CHANGES.txt in the timeline directory - testing and committing timeline - within the hour, trunk.simile-widgets.org/timeline/ should get updated with the trunk version. test it, too. - tagging timeline (into timeline/tags) - svn co the api-site project - updating svn:externals in the timeline directory to link to the new tag - I think we have a cron job that should update api.simile-widgets.org within the hour. If not, log onto simile-widgets.org and update it manually. David --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to simile-widgets@googlegroups.com To unsubscribe from this group, send email to simile-widgets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en -~--~~~~--~~--~--~---
[Simile-Widgets] Re: How can I do if I don't want to show a bubble, that instead of a thickbox
thanks for your help, this translation is very well,thank you!! On 9月19日, 下午8時05分, Sam Kuper wrote: > 2009/9/19 芝羽 沈 > > > 我想請問假如我想將bubble換成thickbox > > 應該怎麼做才好? > > 網站上寫的語法我嘗試過 > > 但是可能不能理解函式裡頭應該要寫些什麼? > > 所以無法成功 > > 能否給我一些成功的範例呢? > > 感激不盡 > > For anyone reading this who would like to help but cannot read Chinese, I > thought I should mention that Google Translate gives this as: > > I would like to ask if I want to bubble replaced thickbox > Should be how do we go? > Site, I tried to write the syntax of > But may not understand the function inside should be writing? > It can not be successfully > Can give me some examples of the success of it? > Grateful --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to simile-widgets@googlegroups.com To unsubscribe from this group, send email to simile-widgets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en -~--~~~~--~~--~--~---
[Simile-Widgets] Re: How can I do if I don't want to show a bubble, that instead of a thickbox
2009/9/19 芝羽 沈 > 我想請問假如我想將bubble換成thickbox > 應該怎麼做才好? > 網站上寫的語法我嘗試過 > 但是可能不能理解函式裡頭應該要寫些什麼? > 所以無法成功 > 能否給我一些成功的範例呢? > 感激不盡 > For anyone reading this who would like to help but cannot read Chinese, I thought I should mention that Google Translate gives this as: I would like to ask if I want to bubble replaced thickbox Should be how do we go? Site, I tried to write the syntax of But may not understand the function inside should be writing? It can not be successfully Can give me some examples of the success of it? Grateful --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to simile-widgets@googlegroups.com To unsubscribe from this group, send email to simile-widgets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en -~--~~~~--~~--~--~---
[Simile-Widgets] How can I do if I don't want to show a bubble, that instead of a thickbox
Hello!! I come from Taiwan,so my Eng. is not well. My question is that I don't want to show a bubble when I click a event,but instead of a thickbox.How can I do? 我想請問假如我想將bubble換成thickbox 應該怎麼做才好? 網站上寫的語法我嘗試過 但是可能不能理解函式裡頭應該要寫些什麼? 所以無法成功 能否給我一些成功的範例呢? 感激不盡 http://www.simile-widgets.org/wiki/Timeline_CustomEventClickHandler --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to simile-widgets@googlegroups.com To unsubscribe from this group, send email to simile-widgets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en -~--~~~~--~~--~--~---
Re: Handle only left click for displaying event-bubble
Hi ! I have the wish/problem, but don't understand the code. I inserted it into my timeline app, but I am getting script errors. I put it after my initialization code and after loading the data. More above your code snippet, I have also this: bandInfos[1].eventPainter.Layout = bandInfos[0].eventPainter.Layout; Is this a "OriginalEventPainter" and do I have to apply your codesample possibly like this: bandinfos [1].OriginalEventPainter.prototype._onClickDurationEventWithRightClick = Timeline.OriginalEventPainter.prototype._onClickDurationEvent; Some help would be great!! br--mabra On Aug 10, 5:10 pm, Jonas Wagner wrote: > Hello Gabriel, > > The following seems to work for me: > > > > > // From quirksmode.org > > function isRightClick(e) { > > if (!e) var e = window.event; > > if (e.which) { > > return (e.which == 3); > > } else if (e.button) { > > return (e.button == 2); > > } > > > return false; > > } > > > // Disable handling of right clicks > > Timeline.OriginalEventPainter.prototype._onClickDurationEventWithRightClick > > = Timeline.OriginalEventPainter.prototype._onClickDurationEvent; > > > Timeline.OriginalEventPainter.prototype._onClickDurationEvent = > > function(target, domEvt, evt) { > > if (!isRightClick(domEvt)) { > > this._onClickDurationEventWithRightClick(target, domEvt, evt); > > } > > } > > You'll have to repeat the second step for instant events and for other > painters if you use them. > > Hope this helps, > Jonas --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to simile-widgets@googlegroups.com To unsubscribe from this group, send email to simile-widgets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en -~--~~~~--~~--~--~---
Exhibit map-view: formatting bubble when having multiple items at the same location
Hi, I'm searching for a way to format the map bubble when there is more than 1 item at the same location. To clarify: - if there are - let's say - 3 items, all located in Los Angeles. When one clicks the map marker (displaying just a '3') one will get a bubble revealing the 3 items' titles and nothing else. Now I would like to add some information to that specific bubble. How can I do that? Thanks in advance, steff --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to simile-widgets@googlegroups.com To unsubscribe from this group, send email to simile-widgets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en -~--~~~~--~~--~--~---