We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hello! I downloaded the Chrome extension example sketch from here to see how it worked. The sketch canvas is supposed to float on top of the page, but I noticed that the canvas still seems to be below some of the elements on many of the pages I visit, especially elements positioned at the top of the window. For example Twitter and this site. Can anyone help me figure out how to fix this? Thank you!
Answers
This post helps: https://forum.processing.org/two/discussion/17559/passing-clicks-through-a-p5js-canvas-to-dom-elements-underneath
I added the following line to your sketch:
c.style('z-index', '999');
and it did the trick.Kf