Home › Forums › Programming › Annotation Placement
Tagged: annotations
- This topic has 7 replies, 3 voices, and was last updated 5 years, 8 months ago by Yuri Kovelenov.
-
AuthorPosts
-
2019-03-21 at 7:12 pm #13114YvonneDCustomer
I am having trouble with annotations being hidden and “unclickable”. It appears the annotation is set at the center point for the object, although I tried moving the center point in front of the object and still had the same results.
I didn’t see anything in the manual about position settings but did note CSS abilities. Can anyone point me to a resolution to this problem?
As you can see in the picture provided, the annotations are grayed out..as if inside the wall. I tried on two objects. I also tried adding an invisible cube in front of the bell, but still same issue.
Thanks in advance!
2019-03-23 at 10:53 am #13164Yuri KovelenovStaff2019-03-25 at 6:09 pm #13253YvonneDCustomerHi Yuri,
Thank you for the response. Afraid an empty object produced the same results.
In the end, I had to change the visual_logic.js file and thought I would put here in case others run into the same issue. The cause of the issue might be due to the size of my build, not sure, but had to change both the _pGlob.fadeAnnotations = false; and fadeAnnotations: false, from true to false.
If there is a better way to make this change other than manual altering of the file (which has to be done after any puzzle update), please let me know. Thanks again!
2019-03-26 at 6:53 am #13262Yuri KovelenovStaffAh, I see now. You can disable the fading effect for annotations using the configure application puzzle.
2019-04-05 at 6:24 am #13623bipin rawatParticipantHi Yuri ,
Can you help me. How can i increase the height of annotation , As i want to give
- Bolt Removal Procedure
<br>Click Here.
This kind of stuff in to annotation.
2019-04-05 at 6:47 am #13627Yuri KovelenovStaffThe answer copied from here.
Verge3D offers two CSS classes to define annotation look:
.v3d-annotation – used for annotation labels.
.v3d-annotation-dialog – used for annotation dialogs.You can override these classes in your own applications. For example, to make your annotations red:
.v3d-annotation { background: red; } .v3d-annotation-dialog { background: red; }
2019-04-05 at 10:52 am #13650bipin rawatParticipantHi Yuri ,
Thanks for Reply.
But i want to change the Annotation box size (height and Width) In puzzle Mode .
I don’t want to change background color of annotation.I want to change the Size of annotation.
How to do that in Puzzle mode or i have to do it in coding(Like HTML or CSS).Thanks
Bipin2019-04-06 at 11:11 am #13662Yuri KovelenovStaffYes, besides background color, you can change other CSS properties such as width etc. This is possible with the HTML puzzle called set css rule.
In the field CSS rule you can use either of the CSS classes I mentioned above. -
AuthorPosts
- You must be logged in to reply to this topic.