Nelson Tan Nelson Tan - 1 year ago 92
HTML Question

Scrollreveal.js not working on modal

I tried using scrollreveal.js on

. But i'm having a problem revealing the content when modal is scroll. I've tried changing the viewport(see the code below both not working) to
but still not working. Thanks for your help. Here my fiddle and code. = new ScrollReveal({
viewport: $('#myModal');
}); = new ScrollReveal({
viewport: document.getElementById('myModal');

heres the fiddle:

Answer Source

you can check this fiddle mate = ScrollReveal();
sr.reveal('.foo', { container: '.modal-body' });
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download