This is a migrated thread and some comments may be shown as answers.

Courser Pointer

1 Answer 156 Views
Map
This is a migrated thread and some comments may be shown as answers.
Ram
Top achievements
Rank 1
Ram asked on 21 Apr 2016, 01:45 PM
Hello,

I want to show the pointer (hand) on the mouse over of country / Shape.
Is there easy way to add css on the basis of some criteria.
Or how to find the id or class from the "onShapeMouseEnter", here I got the e / e.shape.
With the reference of above how to add the css for pointer with jquery ?

Regards,
Ram.

1 Answer, 1 is accepted

Sort by
0
Patrick | Technical Support Engineer, Senior
Telerik team
answered on 21 Apr 2016, 07:35 PM
Hi Ram,

Please take a look at the following Telerik Dojo which illustrates how to set the cursor to a pointer when entering a Shape using CSS.  

Here is the CSS I used to set the cursor style:
#map path
{
  cursor: pointer;
}

Hope this helps!

Regards,
Patrick
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Map
Asked by
Ram
Top achievements
Rank 1
Answers by
Patrick | Technical Support Engineer, Senior
Telerik team
Share this question
or