[vox-tech] webpage element positioning via coordinates

Peter Jay Salzman p at dirac.org
Tue Aug 1 21:00:18 PDT 2006


I'd like to position text links in an ellipse, like:


               a
        h              b
     g                     c
        f              d
               e


I may be adding more links, so it behooves me to use a general equation for
the coordinates.  To keep the discussion simple, let's talk about a circle.

Is it possible to position something using the equation:

   <x,y> =  R * <cos(t), sin(t)>

where

   t = i 2\pi / n

where n-1 is the number of text links and i runs from 0 to n?


Is it possible to position things via coordinates like this on a web page?

Thanks,
Pete

-- 
The mathematics of physics has become ever more abstract, rather than more
complicated.   The mind of God appears to be abstract but not complicated.
He also appears to like group theory.  ---  Tony Zee's  "Fearful Symmetry"

email: p at dirac.org                      web: http://www.dirac.org/p    
PGP Fingerprint: B9F1 6CF3 47C4 7CD8 D33E  70A9 A3B9 1945 67EA 951D


More information about the vox-tech mailing list