Softpedia
 


SCRIPTS CATEGORIES:



NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Peardrop CMS 0.2.3
  • CommaFeed 0.0.1
  • Squash
  • Pick-a-Color 1.1.5
  • MVIS Security Center 1....
  • EasyZoom 1.0.3
  • jQueryGantt
  • IMDBPHP 2.1.8
  • Dynamic WordPress Form ...
  • PathFinding.js 0.4.1
  • Home > Scripts > Internet, Browsers and Tools > Navigation

    Sonar v3

    download button

    Downloads: 165  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    Website:

    License / Price:

    Platforms:

    Databases:

    Language:

    Last Updated:

    Category:
    David Artz | More scripts
    www.artzstudio.com
    Freeware 

    Windows / Linux / Mac OS / BSD / Solaris
    N/A
    JavaScript
    July 8th, 2012, 17:55 GMT [view history]
    C: \ Internet, Browsers and Tools \ Navigation

     Read user reviews (0)  Refer to a friend  Subscribe

    Sonar description

    This is a jQuery plugin for detecting an element's viewport position

    The viewport is the visible section of a page, shown to a visitor.

    Sonar can be used in various ways:
    - to detect if an element is visible (full or in part) in the viewport
    - its position compared to viewport adges
    - trigger actions when an element enters the viewport (for lazy loading actions)

    Requirements:

    · JavaScript enabled on client side
    · jQuery

    What's New in This Release: [ read full changelog ]

    · Fixed a bug in the polling code where splicing caused our for loop to skip over the next iteration in the loop. This caused some images in the poll to be detected when they should have been.
    · Re-factored Sonar to use the "Module" JavaScript library pattern, making our private variables and functions more private and inaccessible from the public interface.
    · Updated the sonar.add() function to return true or false, useful for determining if Sonar added the elem to the poll or executed its callback immediately.



    TAGS:

    detect presence | viewport visibility | lazy loading | viewport | loading | detect

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM