• Resolved Julianwave

    (@julianwave)


    Great plugin, really easy to use.

    I was wondering though, is there a quick and easy way to make the poll refresh if a user resizes their browser, so that the results widths are recalculated and it can be fully responsive? maybe a bit of javascript?

    No prob if its not possible.

    Thanks

    http://wordpress.org/plugins/yop-poll/

Viewing 1 replies (of 1 total)
  • Plugin Author YOP

    (@yourownprogrammer)

    Hi Julianwave,

    We’re happy you like the plugin!

    To make the poll refresh when you resize please edit the template you used on your poll and in the Javascript section add the function below:

    jQuery(window).resize(function() {
    yop_poll_back_to_vote(‘%POLL-ID%’);
    });

    Regards,

    YOP Team

Viewing 1 replies (of 1 total)
  • The topic ‘reload yop poll when browser resized?’ is closed to new replies.