We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

Annotations change from onclick to on hover ?

Home Forums Puzzles Annotations change from onclick to on hover ?

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #39840

    Hello,
    How can I change the behavior of the annotations ?
    By default they appear with a click but I would like to have them with a mouse hover.
    I know it’s possible because I can see it in this amazing work: http://basf-vcar.com/ but these guys are expert in UX design and web développement.

    I can have a smooth transition with css if i had:
    .v3d-annotation:hover {
    transition: 2s;
    width: 300px;
    }
    But I can’t change the behavior of the: .v3d-annotation-dialog

    Regards,

    Laurent.

    #41304
    jdhutchinson
    Customer

    Hi Laurent, I am also wondering the same thing. I was looking through the code for my project and couldn’t see where this was set. Did you find anything?

    #41320

    It’s made not as simple annotation but with complex combination of custom div elements that binded to the Empties (with bind puzzle) and custon dialog elements that will be shown when custom annotation hovered with When Hovered and Set Style puzzles.

    Co-founder and lead graphics specialist at Soft8Soft.

    #41382
    jdhutchinson
    Customer

    Thanks Mikhail. So it’s not accessible in the same way the default preloader css classes are? So I cannot access through puzzles wih .v3d-annotation-dialog for example?

    #41384
    jdhutchinson
    Customer

    Hi Mikhail,

    I seem to have encountered some issue where using the mouseover / mouseleave events for puzzles to open annotations seems completely unresponsive.

    Is it possible that any class deeper down could have been changed and corrupted it, in the stylings or js for v3d-annotation-dialog or v3d-annotation?

    Edit – not sure what must have happened here… :unsure: next is making css for on hover of annotations to fade in. Any thoughts anybody?

    #42122
    Jonathan Benton
    Customer

    Same problem — hover to open and close annotations doesn’t work. For me, the annotation dialog opens on the first hover but won’t reopen once it closes. The annotation icon works as expected, just not the actual annotation text box

    #42192

    Here’s an example for you.

    Co-founder and lead graphics specialist at Soft8Soft.

    #42251

    Thank you Mikhail !

    #42271
    GLiFTeK
    Customer

    Forgive me if I’m wrong here, but I think that in the css that the annotation creates, that the “annotation” and “annotation-diologue” are reversed?

    #42306

    Yes, they reserved.

    Co-founder and lead graphics specialist at Soft8Soft.

    #42500
    GLiFTeK
    Customer

    Yes, they reserved.

    Does that mean they should be corrected? Not sure here.
    :scratch:

Viewing 11 posts - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.