Home › Forums › JavaScript › Making random not so random › Reply To: Making random not so random
February 1, 2017 at 3:14 am
#250787
Participant
Something like this?
Just use the first div inside the box for adding any content…
It’s not superbly optimised, I have to say. I was trying to get it’s coordinates with position()
but was getting odd outcomes there. So I calculated the center position directly, which isn’t very versatile.