You'll need to find a lightbox tool that you like (I use 
Fancybox<http://fancybox.net/>on the main site that I work on).  Each one works 
a bit differently on the 
code side, but most seem to revolve around a few models

1) put the contents of an HTML element (typically hidden) into a lightbox:
$('#target').lightboxFunction({options});

2) put some generated content into a lightbox:
$.lightboxFunction(content, {options});  

3) make an AJAX call to fetch content into a lightbox:
$.lightboxFunction(url, {options}); 

You can call these from within a 'select' event handler to open a lightbox 
with whatever content you want.

On Tuesday, June 26, 2012 4:42:34 AM UTC-4, Andrea Nelson Mauro wrote:
>
> hi asgallant, i've seen the alert box, but i'm trying to understang how 
> can i insert a lightbox function in a chart/geochart. 
> You know some example?
>
> Il giorno giovedì 19 aprile 2012 17:42:52 UTC+2, asgallant ha scritto:
>>
>> The tooltips don't support any HTML elements (yet?), so you can't put a 
>> dropdown in them.  You can, however, do something like this when the user 
>> clicks on a data point, by registering a 'select' event handler.  You could 
>> spawn a popup, lightbox, or other element from there containing the 
>> dropdown.
>>
>> On Thursday, April 19, 2012 11:19:45 AM UTC-4, cd2012 wrote:
>>>
>>> Hello,
>>> I have two separate charts - a scatter chart and a line chart. On 
>>> hovering the mouse over a certain co-ordinate on any ot these, I want to 
>>> show a dropdown with 2 selections. Each selection will further go to a new 
>>> chart - associated with the point selected. Are both these things possible?
>>>  
>>> I'm open to other ways of doing this as long as the requirements are 
>>> met. 
>>> Any suggestions?
>>>  
>>> Thanks!
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-visualization-api/-/6ZbLrJ8UU8EJ.
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/google-visualization-api?hl=en.

Reply via email to