Classes for annotations

Home Forums Puzzles Classes for annotations

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #20032
    Avatarmugga
    Newbie

    Is is possible to set classes for the add annotation puzzle? Would be great to set different styles per css.

    #20040
    Yuri KovelenovYuri Kovelenov
    Developer

    yep, the annotations are styleable – see more info here
    https://www.soft8soft.com/docs/manual/en/introduction/Styling-Verge3D-Apps.html#Annotations

    3D Verger, the CEO
    LinkedIn | FB | Twitter | VK | 新浪微博

    #20044
    Avatarmugga
    Newbie

    Yeah, I know that you can style them. But I would like to have different styles of annotations. At the moment I add classes to some annotations via jquery, this works. But it would be easier when you just would have an extra field besides “id” for setting an extra class.

    #20046
    Yuri KovelenovYuri Kovelenov
    Developer

    you can also use the set style puzzle to style the annotations individually (their HTML elements got unique ids)
    https://www.soft8soft.com/docs/manual/en/puzzles/HTML.html#set_style

    3D Verger, the CEO
    LinkedIn | FB | Twitter | VK | 新浪微博

    #27738
    Avatarweb
    Licensee

    I would also upvote for that request.
    To set a class in addition to an id would be great.

    #27741

    You can add class name to each annotation manually after it was created like this:

    • This reply was modified 6 days, 9 hours ago by Avatarwpadm.
    Attachments:
    You must be logged in to view attached files.

    Co-founder and lead graphics specialist at Soft8Soft.

    #27748
    Avatarweb
    Licensee

    Thx for the example. I think I would still prefer an extra “input field” for adding a classname besides the id. Maybe just a consideration for future releases.

    • This reply was modified 6 days, 9 hours ago by Avatarweb.
Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.