Hi Bob, Re: 'hard coded icon sizes' -- You're basically correct.
Timeline exactly positions the icons so they're centered on the point on the Timeline that represents the event's time. So Timeline needs to know the icons' metrics. There was a bug with this in v 2.2.0 since someone removed the icon metric from the Theme file. I've fixed this for v 2.3.0, the icon width/height is now set in the Theme file and everything will line up correctly if the icon size is set correctly. The current assumption is that all icons are the same width and height. -- Is that true for you? I'm thinking about adding the ability to specify icon sizes per icon, I don't know how valuable that would be for people. In the meantime, the main recommendation is to use icons that are all the same size. Pad out the smaller icons so they're in the middle of a field of transparent pixels. You can experiment with different sized icons, but they won't be placed on the right "time" on the Timeline. Depending on the scale of your bands, this may or may not be an issue for you. Regards, Larry ________________________________ From: nyckidd <[email protected]> To: SIMILE Widgets <[email protected]> Sent: Thursday, March 5, 2009 11:44:38 AM Subject: Re: Titles coming up next to duration tape Larry -- thanks for the quick response. I've switched to 2.2.0. It appears that with this version, for instant events the label is no longer just placed next to the icon, but instead is positioned in such a way that it would land right next its bullet icon based on possibly a hard-coded image size? For example, if you look at http://www.sla.org/bob/timeline/sla-timeline2.htm one of the things I liked with version 1 was that I was able to replace the bullet icon images with color-coded descriptive icons, which are wider than the standard bullets. In version 1, doing this just kicked the labels over to accommodate the added bullet width. (Of course, this added a new problem... longer labels were being truncated because of the added bullet width) My question at this point is whether it's possible to change the location of the labels, so that they are positioned relative to the width of the icon. It would be great if this could be done without custom js coding, but if that's not possible, could you point me to where in the code source these instant events are put together? Thanks so much for your help! -Bob On Mar 4, 11:14 pm, Larry Kluger <[email protected]> wrote: > Hi Bob, > > Welcome to Timeline. > > You're using the 1.0 ver of the software, which is no longer supported. I > suggest that you switch to the current ver, 2.2.0. In the current version, > the labels are below the tapes. There is also a way, via CSS to get the > labels inside the tapes as was the case for ver 1.0. > > Regards, > > Larry > > ________________________________ > From: nyckidd <[email protected]> > To: SIMILE Widgets <[email protected]> > Sent: Wednesday, March 4, 2009 5:53:39 PM > Subject: Titles coming up next to duration tape > > Forgive me if this has been covered somewhere, I spent a good deal of > time searching for an answer before I posted... > > I'm running into a problem with duration events that are below a > certain length of time. It seems that with duration events less than > 2 years long, the title appears next to the duration tape, instead of > inside of it. > > I've set up a trimmed-down example at > > http://http://www.sla.org/bob/timeline/timeline-sample.htm > > The problem as shown on the example is with the duration "JCD 1st > President". Whereas all other > duration events have their title inside the duration tape div, I can > not get this particular one to display within > the tape unless I increase the duration. > > Is this a known issue or am I doing something wrong? If there's is > more info that I should be providing, please > let me know. > > Thanks in advance for any help! > -Bob --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en -~----------~----~----~----~------~----~------~--~---
