Thanks Larry,
but that is to many javascript for me :)
I will stick with the "tape-special_eventx" that´s easier to use, but
I have another problem now. I´ve managed to change the event color
bars with black dots, putting in json the classname="special_event2"
and defining in the styles.css
.tape-special_event2, .small-special_event2 {border-bottom: dotted
5px ;background-color:transparent;}
So far so good, but I would like to color the dotts. For that I need
to add the css property color. My problem is that I want some event
tapes with a different color, dynamic also, because I don´t know in
advance how many events will be. So, the color can´t be in the css
class but on the css style, because I rather prefer not to build at
runtime the css file .
I´ve tested in firebug, and I can accomplish this adding css 'color'
to the tape div.
Timeline json has a property named color, but this changes the
background-color, not the div color. So I have a problem :P
I think the better way, and a good idea to Timeline is to add another
property to json data named mayve insertInCssStyle. This would act as
a generic css wildcard and add anything in it to the div style. For
instance, in my case the json property would be
"insertInCssStyle":"color:red"
What do you think of this ?
Thanks for your support
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---