Results 1 to 3 of 3

Thread: Just curious, how are they able to do that ?

  1. #1
    Join Date
    May 2005
    Posts
    1
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Just curious, how are they able to do that ?

    http://www.adfactorypro.com/examples...eyouleave.html
    Without reverse engineering their code (they are selling it in a software and it would not be fair), do you know where I could find something similar (or not far) for free ?
    Thanks

  2. #2
    Join Date
    Aug 2005
    Location
    Other Side of My Monitor
    Posts
    3,494
    Thanks
    5
    Thanked 105 Times in 104 Posts
    Blog Entries
    1

    Default

    Using Javascript, you can get the X and Y of the mouse, use the mousemove() function and declare a pop up when mouse moves to a certain XY co-ord.

    A simple breakdown of mousemove can be seen here

    Search google. There are things you need to know about mousemove that will help, such as turning it on only when needed and off when not (null) this will save system resources as mice move A LOT!
    {CWoT - Riddle } {Freelance Copywriter} {Learn to Write}
    Follow Me on Twitter: @InkingHubris
    PHP Code:
    $result mysql_query("SELECT finger FROM hand WHERE id=3");
    echo 
    $result

  3. The Following User Says Thank You to BLiZZaRD For This Useful Post:

    Impert (02-26-2008)

  4. #3
    Join Date
    Jul 2006
    Location
    just north of Boston, MA
    Posts
    1,806
    Thanks
    13
    Thanked 72 Times in 72 Posts

    Default

    without looking at the code, it is probably checking to see the position of the mouse and when it gets to a certain point in the viewport (part of the browser you see the website in) it displays the popup.

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
  •