I installed Toolbox and followed the basic instructions but it’s not working yet… Can anyone tell if I’m missing anything?
In code there are 3 functions. So I’ve added ‘bubble_fn_a(function1())’, ‘bubble_fn_b(function2())’, ‘bubble_fn_c(function3())’. and ‘Run the JS’ workflow when Page is Loaded.
Use ‘JavascriptToBubble’ element and called 3 functions a,b and c.
Actually my app is a dark style, so I need to apply the background color. As the effect is supposed to run behind the other elements, I need to add background color in this script. I’ve added background-color: #1D2025;in canvas{} but it’s not getting applied. In fact, when I delete the whole canvas style, it seems nothing affected. As the background color thing works in the codepen I’m a bit puzzled…
@ohyoonkwn, you’re right, the CSS was not impacting the element. You can replace the code at the top with this (or copy-paste from the editor). This will add the background inline and seems to be working properly.
Interesting scenario but it’s a matter of applying the effect to the popup element. I’ve adjusted the code slightly to demonstrate. I added an html Id of ‘popupConfetti’ to the popup.