Dear Vaadin experts,
Is there a way to customise the mouse cursor/pointer in the same way we see in this link:
http://www.ajaxblender.com/article-sources/jquery/custom-cursors/index.html
I would like to put an image as well.
Best regards,
Dear Vaadin experts,
Is there a way to customise the mouse cursor/pointer in the same way we see in this link:
http://www.ajaxblender.com/article-sources/jquery/custom-cursors/index.html
I would like to put an image as well.
Best regards,
Hello,
I discovered the examples that manipulates different cursors from the book. However, none of these examples explains how to deal with new images as pointers as in the link above. I guess I need to modify the style of my application (CSS file) because this is not possible directly from java.
Am I right?
What modifications are needed to change the current mouse cursor with another image?
Thank you in advance,
Regards
Set a style name to whatever you want to change using setStyleName();
In my case I wanted to affect the entire page so I called this method on one of my views, setStyleName(“general”);
then you’ll need to add the following to your theme:
.general {
cursor: url(“img/cursor.png”), default;
}
“default” is used as fallback.