Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

waypoint

var waypoint = new Waypoint({
  element: document.getElementById('element-waypoint'),
  handler: function(direction) {
    notify(this.element.id + ' triggers at ' + this.triggerPoint)
  },
  offset: '75%'
})
Source by imakewebthings.com #
 
PREVIOUS NEXT
Tagged: #waypoint
ADD COMMENT
Topic
Name
1+7 =