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.

Event on annotation activation / click?

Home Forums Puzzles Event on annotation activation / click?

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #32535
    vklein
    Customer

    Is there a possibility to trigger something on annotation click?
    Beside of the obvious annotation description text of cause.
    Would love to start a video on an adjacent 3d screen in my scene.
    Linking HTML events to annotations works I assume? Could you point me in the right direction or provide a link to annotation->HTML action?

    #32538

    Hi,

    Each annotation can be provided with a unique element ID. So you can assign a click trigger by using this ID and the HTML event puzzle.

    In order to prevent the default behavior, you can make the dialog window invisible with CSS (or the set style puzzle).

    See some info here. This tutorial may also help.

    Chief 3D Verger | LinkedIn | Twitter

    #32544
    vklein
    Customer

    Going over the HTML “on event on click” is the key. THANKS a lot.

    Hiding the annotation-box is much easier, simply don’t put an annotation text under “with”.

    #32568

    glad it helps! :good:

    Chief 3D Verger | LinkedIn | Twitter

    #41305
    jdhutchinson
    Customer

    Hi Yuri, where is the default behaviour of on-click for annotations set to showing the annotation-dialog?

    I don’t mind of course setting up an on-hover through puzzles as an alternative.

    #46510
    Anonymous
    Inactive

    Hi,

    Each annotation can be provided with a unique element ID. So you can assign a click trigger by using this ID and the HTML event puzzle.

    In order to prevent the default behavior, you can make the dialog window invisible with CSS (or the set style puzzle).

    See some info here. This tutorial may also help.

    hi, yuri

    i can click annotation in viewport windows, but when i use iframe in index.html, i can’t click. how to fix it, thanks~

    #46511
    Anonymous
    Inactive

    hi, yuri

    i can click annotation in viewport windows, but when i use iframe in index.html, i can’t click. how to fix it, thanks~

    #47496
    deedox
    Participant

    Same problem here. Is there any solution to this?

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