This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Add button(s) to visualisation using javascript
#4
You can use Additional class to target certain elements. You can create labels using CSS (these won't be visible in the editor). This example uses three classes: obj1, obj2, obj3. Label position and other properties can be freely adjusted.
Code:
#widget-5 > div.item:after {
  position: absolute;
  top: -10px;
  left: 0;
  display: block;
}
.obj1:after {
  content: "obj1 label";
}
.obj2:after {
  content: "obj2 label";
}
.obj3:after {
  content: "obj3 label";
}
Reply


Messages In This Thread
RE: Add button(s) to visualisation using javascript - by admin - 10.10.2022, 10:28

Forum Jump: