On deeper inspection, I suspect what's going on is that the Exhibit
Timeline view is out of sync with Timeline. Unless you patch the view,
it won't work; the latest version of Timeline prefers "caption" over
"hoverText" when passing in a hash for event attributes.
These lines in the Timeline default event source code ensure hoverText
is completely ignored:
this._title = cleanArg('hoverText');
this._title = cleanArg('caption');
meaning this._title will always be null if you're still using hoverText
and not caption, so you'll never see a caption in the Exhibit view.
I'll be pushing an update to fix this for 3.0.0rc1.
On 2012-02-17 07:32 , steven hodges wrote:
> Thanks Ryan...
>
> I think I've set things up right but I'm still not getting any hovering:
>
> http://www.prism.gatech.edu/~sh157/exhibit/presidents.html
>
> If anyone can look and point out anything obvious I'm doing wrong, I'd
> be grateful. Thanks--
>
> -steve
>
>
>
> On Fri, Feb 17, 2012 at 2:09 AM, Ryan Lee <[email protected]> wrote:
>> Hello,
>>
>> It's a path expression specifier to declare how to get from the item
>> you've moused over to the related value to show on hover. For instance:
>>
>> { "items": [ { "label": "Thing", "hover": "ThingHover" } ] }
>>
>> You'd set hoverText=".hover", which would show "ThingHover" when you
>> mouse over that Thing item on the Timeline view.
>>
>> On 2012-02-14 18:37 , steven hodges wrote:
>>> Hi...
>>>
>>> I see references to a "hoverText" attribute for Exhibit timelines in the
>>> javascript, but I don't know if that works the way I think it's supposed to
>>> -- I'm thinking it can be used to specify text that would pop up (like a
>>> tooltip) when you hover over an item in a timeline. However, I've tried
>>> specifying it without any luck. I would be grateful for any pointers.
>>> Thanks--
>>>
>>
>> --
>> 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.
>>
>
--
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.