Ok answering my own Q here for anyone else who may need it: the caret= (^=)
is an CSS attrbute selector (
https://www.w3.org/TR/css3-selectors/#attribute-selectors)
On Sunday, January 31, 2016 at 3:10:51 AM UTC-5, Amol P wrote:
>
> @Carlos,
> Thanks. This works perfectly! Could you explain me the syntax though.
> Why does it need the caret(^=) and not the exclamation (!=) to check fill
> color?
>
> On Wednesday, September 26, 2012 at 8:35:39 AM UTC-4, Carlos Moreira wrote:
>>
>> Since the API updated a couple of days ago, the maps are not built in
>> iframes, making it much easier to manipulate with css.
>>
>> So, the example asgallant shared in the last reply, would be the similar
>> to build css like:
>>
>> path:not([fill^="#f5f5f5"]):hover {
>> cursor:pointer;
>> fill:red;
>> }
>>
>> Just sharing this also
>> Now it will be really cool to manipulate the maps with css also :)
>>
>> Quinta-feira, 24 de Maio de 2012 19:07:35 UTC+2, saclines escreveu:
>>>
>>> Hi,
>>>
>>> I am using Google Visualization Geochart API for one of the
>>> applications.
>>> My query is that in any case can change the mouse cursor to a hand
>>> cursor or any other type on mousehover on any regions or markers?
>>>
>>> please let me know if there is any way.
>>>
>>> Thanks and Regards,
>>> Sachin
>>>
>>
--
You received this message because you are subscribed to the Google Groups
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit
https://groups.google.com/d/msgid/google-visualization-api/d591e43b-09a3-4bad-b985-84558c794b8b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.