Atul, you don't have to override fillInfoBubble in order to put a button
in the bubble. If you define a lens (<div ex:role=lens>) to go in the
bubble, that lens can contain a button that executes some javascript on
a click. You can see a simple example of this on my publications page:
http://people.csail.mit.edu/karger/papers.html where I've implemented a
"click for abstract" link (that could equally well be a button).
As for hiding the bubble, note that the bubble disappears when you click
outside it. So firing a click event somewhere else on the page ought to
make it disappear.
On 12/28/2010 10:06 PM, Atul wrote:
Hi All,
In my project I have customized the event bubble (by overriding
fillInfoBubble method) to include a button, clicking on which loads
further details about that event in another part of the same page -
this is achieved by using jQuery's load method. Once those details are
loaded I want to hide the event bubble. However, I am not able to find
out how that can be achieved. Can some one please suggest a way to
hide event bubble on custom action (in my case clicking on a button in
the event bubble)?
Thanks,
Atul
--
You received this message because you are subscribed to the Google Groups "SIMILE
Widgets" group.
To post to this group, send email to simile-widg...@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.