Hello! this is my first post.
I am working on a website where I need a roulette. I chose this one.
My problem is that I can not get the text to become a link. (clickable)(a href)
But I can not get it to work :/
Some good suggestions? I would Greatly appreciate.
What test? And where is your code? We can't see what you did wrong if you don't show us your code.
Text, not test. :) The code is presumably that given in the link.
Originally Posted by Old Pedant
var restaraunts = ["Wendy's", "McDonalds", "Chick-fil-a", "Five Guys",
"Gold Star", "La Mexicana", "Chipotle", "Tazza Mia",
"Panera", "Just Crepes", "Arby's", "Indian"];
He wants to make each restaurant a clickable link.
the problem is that text on a canvas is not text but rather a drawn shape, and therefore it's not as simple as turning "normal" html text into a link.
what you basically have to do is save the locations of your text on the canvas and then turn them into clickable regions.
you can google the subject - there are plenty of tutorials out there, but I would say that if you have only a basic understanding of html and js, this is a very ambitious undertaking at this point.