How to make the live editor for WordPress plugin setting page?

I am author of the WordPress plugin Tipu Scroll To Top. Can anyone please that how can I allow users to see the live changes on the setting page. Currently, I am using the jQuery for only the scroll to top button and it is as below

(function($){
$(window).scroll(function(){

    if ($(this).scrollTop() < 100) {
        $('#stt_container') .fadeOut();
    } else {
        $('#stt_container') .fadeIn();
    }
});
$('#stt_container').click(function(){
    $('html, body').animate({scrollTop:0}, 'slow');
    return false;
    });

})( jQuery );

Related posts

1 comment

Comments are closed.