Skip to main content
Inspiring
Mar 21, 2019 3:39 PM UTC
Question

Image as a cursor - HTML 5 and Cp 2019

Hi there,

I was wondering if we can make the cursor a pen or something similar.

I want to have an interaction that would simulate clicking with a pen on a tick box.

Can we make it so the pen image moves with the cursor?

Thanks in advance

Bobby

    This topic is closed to new replies. Start a new post to keep the conversation going.

    2 replies

    TLCMediaDesign
    Inspiring
    Mar 22, 2019 12:33 PM UTC

    You can do that.

    You generally create a style for the custom cursor in the style sheet, then add that class to the element you want the cursor to change when the mouse is over it.

    I have one that changes to a magnifying glass.

    There are plenty of examples on the internet.

    Translate
    Inspiring
    Mar 22, 2019 1:00 PM UTC

    Thanks David

    I also found something on you site guys

    Controlling Captivate - Change Cursor - TLC Media Design, LLC

    but was wondering if this is possible for an image of a pen that is about 300 x 300 pixels or it is only to change the cursor to another small icon?

    Thanks again

    B

    Translate