They are available in wall-mountable or glass-mountable versions, sometimes with a cord and suction cup.