I've added a webpage, but I'm not the one who uploads to the site.

As far as I know, the webpage ends up in the iframe , which is what the problem of activating the script is: I interact with document , window (the effects start when a certain place on the page is reached).

I would like to know what kind of specificity is this for working with an iframe ?


Code snippet:

 $(window).scroll(function() { if($(window).scrollTop() + $(window).height() > $(document).height() - 10950) { $('.anim-31').addClass('anim-3-action anim-31-ef'); $('.anim-32').addClass('anim-3-action anim-32-ef'); $('.anim-33').addClass('anim-3-action anim-33-ef'); $('.anim-34').addClass('anim-3-action anim-34-ef'); $('.anim-35').addClass('anim-3-action anim-35-ef'); }; 
  • Used jQuery - fromillia
  • Which browser was used? - Roman C
  • I checked in chrome and ff - the same thing. I think it's not about him. I have already read that perhaps I should have addressed the aidish of the i-frame in the JQ-wrapper. What do you think? - fromillia
  • all that you say right now Virtuality ... to say something right you need to see the subject of the conversation .. the code is user33274

0