• For myself I find the “scroll to” behavior very annoying on my blogs.

    This scroll happens when any error or success message is returned.

    Seems like the scroll to is set to put the feedback at the very top of the visible page. This forces my header and any image I have used for my optin to disappear. The way I figure it, if the user can see the submit button then the feedback is most likely visible. So a scroll to is not necessary.

    Maybe a setting in the admin page to use or not use scroll to would be helpful.

    In my case I just renamed the javascript to xscrollTo.js
    Causes a js error, but that’s the easiest way to remove it at the moment without hacking the plugin.

    Regards,
    Claude

    http://wordpress.org/extend/plugins/mailchimp/

Viewing 1 replies (of 1 total)
  • Hey again. 🙂

    Because the expected behavior is to have the form jump to the anchor that shows the error/success message, the only real way to stop it from doing that is to “sabotage” it. It’s definitely not pretty and would need to be tested pretty thoroughly just to make sure everything works as expected, but what we did on our end to kill that was to edit the actual “mailchimp_widget.php” file and then edit the div that it’s looking at:

    <div id="mc_signup">
    	<form method="post"  action="#mc_signup" id="mc_signup_form">
    		<input type="hidden" id="mc_submit_type" name="mc_submit_type" value="html" />
    		<input type="hidden" name="mcsf_action" value="mc_submit_signup_form" />.....

    Instead of having that opening div id point to “mc_signup”, you can have it point anywhere else. In our test WP install, we used:

    <div id="test">

    That worked preliminarily, however it is VERY important to note that by no means is that saying everything is home free. It’s essentially causing that HTML to become invalid as it’s looking for an anchor that doesn’t exist. Additionally, when the plugin is updated, any changes made to the PHP will be overwritten which means you’ll have to do it over again after the upgrade.

    Let us know if we can help with anything else! We’re always happy to lend a hand.

    Cheers

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: MailChimp List Subscribe Form] scroll behavior during feedback’ is closed to new replies.