1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Are there any coordinate commands in javascript?

Discussion in 'JavaScript' started by Imozeb, Mar 11, 2010.

  1. #1
    I want to know a list of things:

    1. Are there any commands to find the position of the mouse.

    2. Are there any commands to find the position of an element.

    And most importantly,
    3. Are these commands cross browser because I've seen some sites that say they only work in IE.


    ~imzoeb :)
    Imozeb, Mar 11, 2010 IP
  2. !Unreal

    !Unreal Well-Known Member

    Likes Received:
    Best Answers:
    Trophy Points:
    After googling "javascript position of mouse" this was the first result. Then after googling "javascript positon of element" this was the first result.

    Have you heard of this new thing Google? It's great :)
    !Unreal, Mar 12, 2010 IP