2

I have integrated scrollify plugin. Whenever, I click on submit button without data, it gives an error. But that error could not be visible to me. scrollify lock the scrollbar. How can i see that error.

below is the screenshot.

This is the footer with validation. Validation error is below submit button, could not see.

This is i have to achieve.

jQuery(function($) {
    $(function() {
        $.scrollify({
            section:".panel1",
            scrollSpeed:1100,
            overflowScroll: false,
            scrollbars: true,
            touchScroll:false,
            interstitialSection:"#colophon",
            after:function(i) {
            }
        });
    });
});
Sojtin
  • 2,714
  • 2
  • 18
  • 32
gt06
  • 103
  • 1
  • 16
  • pls put some html to throw light on what you had done – SAMUEL Feb 28 '17 at 06:43
  • Hey there. Generally speaking, it's really helpful if you provide some kind of code sample. Otherwise, one can only take a guess at what's happening. It seems like what you want to do is apply specific CSS to the error message, such as margin-top:-20px or top:-20px to shift the message into the view. – Lasha Feb 28 '17 at 06:45

1 Answers1

0

Sounds like you need to call $.scrollify.update() after the form is submitted.

Luke Haas
  • 672
  • 2
  • 6
  • 16
  • `jQuery(function($) { $(function() { $.scrollify({ section:".panel1", scrollSpeed:1100, overflowScroll: false, scrollbars: true, touchScroll:false, interstitialSection:"#colophon", after:function(i) { } }); }); });` In this code where should i write the scrollify.update() after the button click of form. – gt06 Mar 11 '17 at 05:28
  • Add a submit event to your form and call it in there – Luke Haas Mar 11 '17 at 09:14