Re: Timeline inside yahoo yui tabview

2009-05-04 Thread lou_tribal

Hi Larry,
As i wrote while answering my own question the problem was in fact
neither in yahoo YUI nor in timeline, just a matter of timing of
event.
I was trying to create the timeline before the tab content is shown
what was making impossible for the timeline to init the bands height.
For the bands height to be initialized correctly the container element
must be displayed so the timeline needs to be created after the tab
content is displayed.
So in few words YUI can handle nicely the sophisticated timline dom
structure, it is working perfectly.
Thanks guys for that nice widget.

<

On 2 mai, 23:47, larryk...@yahoo.com wrote:
> Hi,
>
> The problem is caused by the tabview widget. So you should consult the yui 
> community for help. My guess is that the yui tabview 'show' event needs to be 
> augmented to handle the sophisticated timeline dom structure. Pls let us know 
> how you end up solving the problem.
>
> Regards,
> Larry
> Sent via BlackBerry from T-Mobile
>
>
>
> -Original Message-
> From: lou_tribal 
>
> Date: Fri, 1 May 2009 21:00:38
> To: SIMILE Widgets
> Subject: Timeline inside yahoo yui tabview
>
> Hello,
> Does someone found a way to display a timeline inside a yahoo yui tab?
> I try to create a yahoo yui tabview in which one of the tab is
> displaying the timeline.
> So for example, you have 3 tabs, when clicking on the third tab the
> timeline is displayed.
> The problem I am facing is that the main timeline element is displayed
> but I am not able to display the bands.
> For what I found so far, each bands have style dimension/position set
> to 0.
> I guess it is related to the fact that the tab element that contains
> the timeline is initially hidden.
> If anybody could give me some hint on that it would be greatly
> appreciated.
> 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
-~--~~~~--~~--~--~---



Re: Timeline inside yahoo yui tabview

2009-05-02 Thread larryk_ny
Hi,

The problem is caused by the tabview widget. So you should consult the yui 
community for help. My guess is that the yui tabview 'show' event needs to be 
augmented to handle the sophisticated timeline dom structure. Pls let us know 
how you end up solving the problem. 

Regards,
Larry
Sent via BlackBerry from T-Mobile

-Original Message-
From: lou_tribal 

Date: Fri, 1 May 2009 21:00:38 
To: SIMILE Widgets
Subject: Timeline inside yahoo yui tabview



Hello,
Does someone found a way to display a timeline inside a yahoo yui tab?
I try to create a yahoo yui tabview in which one of the tab is
displaying the timeline.
So for example, you have 3 tabs, when clicking on the third tab the
timeline is displayed.
The problem I am facing is that the main timeline element is displayed
but I am not able to display the bands.
For what I found so far, each bands have style dimension/position set
to 0.
I guess it is related to the fact that the tab element that contains
the timeline is initially hidden.
If anybody could give me some hint on that it would be greatly
appreciated.
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
-~--~~~~--~~--~--~---



Re: Timeline inside yahoo yui tabview

2009-05-01 Thread lou_tribal

Ok I found my solution.
In case someone would be interested in it here it is.

1. On the tab that contains the timeline, add a listener for tab
contentVisibleChange event:
myTab.addListener("contentVisibleChange",
this._onTimelineTabShow, this, true);

2. Create your timeline in the _onTimelineTabShow event handler:

_beforeTimelineTabShow:function(evt){
  // Check if the value is true->content made visible
  if(evt.newValue===true){
// Check if the timeline has already been created or if it is the
first time the tab is shown
if(!myTimeline){
  // create you timeline here
}
  }
  return true;
}


Doing that, at the time the code for timeline creation is executed,
the tab content element is already visible and the timeline
initializes correctly.

Hope this will help :)

<

On May 2, 12:00 am, lou_tribal  wrote:
> Hello,
> Does someone found a way to display a timeline inside a yahoo yui tab?
> I try to create a yahoo yui tabview in which one of the tab is
> displaying the timeline.
> So for example, you have 3 tabs, when clicking on the third tab the
> timeline is displayed.
> The problem I am facing is that the main timeline element is displayed
> but I am not able to display the bands.
> For what I found so far, each bands have style dimension/position set
> to 0.
> I guess it is related to the fact that the tab element that contains
> the timeline is initially hidden.
> If anybody could give me some hint on that it would be greatly
> appreciated.
> 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
-~--~~~~--~~--~--~---



Timeline inside yahoo yui tabview

2009-05-01 Thread lou_tribal

Hello,
Does someone found a way to display a timeline inside a yahoo yui tab?
I try to create a yahoo yui tabview in which one of the tab is
displaying the timeline.
So for example, you have 3 tabs, when clicking on the third tab the
timeline is displayed.
The problem I am facing is that the main timeline element is displayed
but I am not able to display the bands.
For what I found so far, each bands have style dimension/position set
to 0.
I guess it is related to the fact that the tab element that contains
the timeline is initially hidden.
If anybody could give me some hint on that it would be greatly
appreciated.
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
-~--~~~~--~~--~--~---