@Larry, thanks alot for the reply 1) So I looked at your example on how to change the theme. First you created a theme1 variable then... you change the CSS of the theme direct using JS. So what you did was: theme1.autoWidth = true; theme1.timeline_start = new Date(Date.UTC(1850, 0, 1)); theme1.timeline_stop = new Date(Date.UTC(4480, 0, 1)); theme2.event.tape.height = 6; // px theme2.event.track.height = theme2.event.tape.height + 6;
What I don't understand is how do I know which object to change? I mean, for the first one it was autoWidth. So you did theme1.autoWidth. Another example was the tape height, so you did event.tape.height. How do I now which object to use. For example, I want to change the color of the bubble. What do I do? 2) On this example, http://simile-widgets.googlecode.com/svn/timeline/tags/latest/src/webapp/index.html, how did you make some part of the first band to be a different color? For example, there are blue and red parts in the first band. On Jan 1, 9:27 pm, Larry Kluger <[email protected]> wrote: > Hi Zythyr, > > Re: Mouse wheel zooming: > Unfortunately I'm not an expert on this area since I've never used it. > > I suggest that you leave this feature for last. Once you're ready for it, > refer to the zooming author's demo file to see how he sets it up. > > Re: poor docs on Themes. > You're absolutely right. This issue has been on my list for a long time. I'll > work on updating the docs on Fri. > In the meantime, see how I change the theme in the example: > view-source:http://simile-widgets.googlecode.com/svn/timeline/trunk/src/webapp/si... > > (look at the source of the above file. The timeline itself does not appear on > the page because I need to adjust the paths to match the new repo layout.) > > Note that each band has its own theme. > > Regards, > > Larry > > ________________________________ > From: "[email protected]" <[email protected]> > To: SIMILE Widgets <[email protected]> > Sent: Thursday, January 1, 2009 6:31:07 PM > Subject: Re: Timeline for Personal Use > > After I posted this topic, I tried to redo the timeline and I got it > to work. But I am having 2 more problems with it, and I think other > people are having the same problem. > > 1) MouseWheelScrollingAndZooming- I can't figure out the proper > settings for pixelsPerInterval for the ZoomSteps. I used the default > settings in the tutoiral, but they don't work smoothly. When I try to > zoom, the whole timeline gets messed up. > > 2) Changing Themes- Based on this > tutoiral,http://code.google.com/p/simile-widgets/wiki/Timeline_CreatingNewThemes, > changing the theme doesn't work. Read the comments posted by other > users and it shows why theme changing doesn't work. As posted by > danielbragion, he says, "he file "api/scripts/bundle.js" is executed > in the place of the "api/scripts/timeline.js" when the variable > "bundle" is set to true in the timeline-api.js file (which is the > default)." > > On Jan 1, 1:35 pm, David Huynh <[email protected]> wrote: > > > I've updated > > http://code.google.com/p/simile-widgets/ > > to include some of these related projects. Please let me know if I'm > > missing something. > > > Zythyr, if you don't upload your files to a web server, then no one but > > you can see your timeline. > > > Thanks, > > > David > > > George Adams wrote: > > > For a simple Timeline you can use the FileMaker project I created at > > >http://code.google.com/p/exhibtmaker/ > > > You enter a name for the timeline, add data to the database and click > > > two buttons. One creates a JSON file and another the HTML file to > > > display the timeline. Both are saved locally on your hard drive and > > > can be displayed locally in your browser. To change the timeline just > > > change the data in the database and export the JSON file. Then reload > > > the web page. You can even view the web page right in the FileMaker > > > database. > > > > The database will also display tiles and tables like in the Exhibit > > > totorial. It can do maps too but these are all optional. > > > > On Wed, Dec 31, 2008 at 9:21 PM, <[email protected] > > > <mailto:[email protected]>> wrote: > > > > I want to use Timeline (only timeline, not Exhibit or others) for > > > personal use that can only be seen by my eye. I am experienced with > > > HTML/CSS/ and little bit of Javascript, I read this step by step guide > > > http://code.google.com/p/simile-widgets/wiki/Timeline_GettingStarted, > > > on how to use Timeline, but I couldn't figure it out. > > > > Can someoen please show me how I can setup the Timeline and constantly > > > edit the xml file to make updates? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
