SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member CybJunior's Avatar
    Join Date
    Dec 2005
    Location
    fgfg
    Posts
    17
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    click function an coordinates

    Hi, how can i call a click function to click on a link if i dont know the id of it but just know the coordinates where the link is?

    is it possible?

    Thanks

  2. #2
    SitePoint Aficionado JVLB's Avatar
    Join Date
    Jan 2002
    Location
    N 44 56.537' W 123 3.683'
    Posts
    1,127
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'm not sure that's practical, but if you know the order of links in a page, you could select a link of a specific number.

    Alternatively, you could loop through the links on a page and determine each's offsetLeft and offsetTop properties, but that will vary with browsers and window size.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •