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.

annotation padding and draw line

Home Forums Puzzles annotation padding and draw line

Tagged: ,

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #54107
    gulumse716
    Participant

    hi;

    I want the info buttons to be some distance from the element and to create an arrow or line mark between the element and the button. How can I do that?

    as shown in the attachment

    Attachments:
    You must be logged in to view attached files.
    #54113
    kdv
    Participant

    use empty objects (you can place them anywhere around the main object) and add annotations to these objects. now you can draw lines from empty objects to annotations because annotation are just HTML elements and you can use draw line puzzle

    Puzzles and JS. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of meaning at all.

    #54123
    gulumse716
    Participant

    Thank you for your answer.
    Should I add these blank elements via the drawing file (3ds max)? So, can css be used to position the infoboxes at a certain distance from the relevant place?

    #54141
    kdv
    Participant

    Should I add these blank elements via the drawing file (3ds max)?

    Yes, use your 3D editor to place empty object wherever you want around the main object. In my example I’ve created four plain axes. Two of them have annotations and the rest ones are used to draw lines from the cube’s corners to the annotations.

    So, can css be used to position the infoboxes at a certain distance from the relevant place?

    Yes, you can use CSS. Every annotation has its own id (if you don’t forget to change the default value poi1 after adding a new annotation). You can move annotations via CSS but only in two directions (left/right, top/bottom).

    Puzzles and JS. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of meaning at all.

    #55643
    felix
    Customer

    Hi, I tried to put the line in, but it doesn’t work. Can anyone say why? What’s wrong with my puzzles?

    Thank you!

    Attachments:
    You must be logged in to view attached files.
    #55645
    kdv
    Participant

    If you use an iframe then you didn’t check in parent doc option twice.

    Puzzles and JS. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of meaning at all.

    #55646
    felix
    Customer

    Thank you, tried with “parent doc” active and without it, but it doesn’t work aniway. I had an error in the button name :wacko: , but after changing it, it still don’t work. :cry:

    #55648
    kdv
    Participant

    Can you share your files?

    Puzzles and JS. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of meaning at all.

    #55657
    felix
    Customer

    Found the problem! Now it works!
    Thank you!

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