We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Been coding with Processing for a year or so, and now branching into P5.js. Would like to make a fullsize sketch into a main page for a website, which you can then click/touch to access the rest. Any tips on best practice?
Is there any function I could put in mouseClicked()? Or is it better addressed in the HTML of the site?
Thanks for any help!
Answers
Yes, you could call
window.location.href = '...';
insidemouseClicked()
.Thanks!!
A more formalized link() method which exists in both Java & JS Mode: ;;)