Questions tagged [jquery.visible]

jQuery-Visible a jQuery plugin which allows us to quickly check if an element is within the browsers visual viewport, regardless of the scroll position. If a user can see this element, the function will return true.

https://github.com/customd/jquery-visible

4 questions
3
votes
1 answer

Detecting if an element is within the viewport by using jquery.visible.js and an offset

I am using a very small jQuery plugin, jquery.visible.js (https://github.com/customd/jquery-visible) to detect if an element is partially visible within the current viewport. Although, I have fixed navigation on the top of the page that causes…
Fizzix
  • 23,679
  • 38
  • 110
  • 176
2
votes
1 answer

JQuery - Loop through each case of a class from a point

I am creating a self scrolling, auto updating table and need to search through through elements of a class from a certain point. My code currently is this: var nextScroll; setInterval(function() { if ($(window).scrollTop() + $(window).height() >…
Blease
  • 1,380
  • 4
  • 38
  • 64
0
votes
1 answer

Run Jplayer on element scroll into view

I'm trying to set up a video to play using JPlayer, pretty much stock setup on video player. I want this to only start playing once the whole containing DIV is in view. I have looked for examples of JQuery being used to trigger an event when an…
WWD
  • 31
  • 7
0
votes
1 answer

Jquery can't trigger second scroll event

I am trying to get $(window).scroll to fire on a second element using .visible(). But if i write it like i have done below or even put them in separate code blocks, which ever one is on top fires and the one underneath doesn't. It seems like…
user3358014
  • 97
  • 1
  • 9