Posts

How to add image when img tag is less than 100 from top using jquery?

Image
0 I want to add an image when the user scrolling down and mdl-grid is less than 100 from top. Here is my html <div class="mdl-grid mdl-shadow--2dp" style="margin-top:4px;"> <div class="mdl-cell mdl-cell--3-col-desktop mdl-cell--3-col-tablet mdl-cell--1-col-phone div-mobile"> <div class="image-div" style="height:200px;width:200px;"> <img class="image-tag" src="" style="height:200px;width:98px;" /> </div> </div> Jquery $(window).scroll(function () $('.mdl-grid').each(function () var offsetTopPosition = $(this).offset().top - $(window).scrollTop(); if (offsetTopPosition < 100) $(this).find('img').attr('src', '/rec.jpeg'); ); ); </div> jquery share | improve this question asked Nov 10 at 20:41 Liam neesan 670 1 6 26 So what's wrong with your code? – Justinas Nov 10 ...

Is there a place to buy physical models to demonstrate the Calculus shell, disk, and washer methods?

Image
13 3 I know a math teacher who is going to teach a calculus class that will include the shell, disk, and washer methods for calculating volumes. My question is, is there some 3D kit she could use to demonstrate these methods physically? Ideally for example, the washer method could be demonstrated with a cylinder that has an inner cylinder that could be removed. calculus share | improve this question asked 2 days ago Eugene 166 2 New contributor Eugene is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct. add a comment  |  13 3 I know a math teacher who is going to teach a calculus class that will include the shell, disk, and washer methods for calculating volumes. My question is, is there some 3D kit she could use to demonstrate these methods physically? Ideally for example, the washer method could be demonstrated w...