The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Making random not so random Reply To: Making random not so random


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.