diff --git a/js/plans.js b/js/plans.js index 984f3c6..5d5b5db 100644 --- a/js/plans.js +++ b/js/plans.js @@ -49,8 +49,10 @@ $(document).ready(()=>{ $('#notify1')[0].play() show.fadeIn(400,()=>{ - offset = show.offset().top - content.offset().top - 20 - firstChild.animate({'margin-top': '-' + offset},400) + if(show.hasClass('scroll')){ + offset = show.offset().top - content.offset().top - 20 + firstChild.animate({'margin-top': '-' + offset},400) + } }) }) diff --git a/plans.php b/plans.php index 9d65b03..9d31760 100755 --- a/plans.php +++ b/plans.php @@ -23,16 +23,20 @@ -
@@ -48,12 +52,15 @@ Il modulo "differenze culturali" è disponibile.
- +
-