• Johannes

    (@samariter)


    This ist the worst Plugin I have ever seen.

    1. Performance wise:
      It adds 19 additional requests to the load of each individual page!!!
      They could easily be stripped down to just 3 (.js, .css, and the iframe). Also it loads jQuery twice.
    2. There is no way (only via javascript) to customize the appearance of the modal window.
    3. The plugin displays a “Powered by …” Image (one additional request). Just remember: This is a paid HealCode Plugin for MindBodyOnline!

    Basically you don’t need the plugin at all: Just embed it once on your page, copy the iframe url and code it yourself. (The iFrame URL looks like this “https://widgets.healcode.com/mb/sites/YOURIDHERE/client”). Than use a modal provided by your template and add this Ajax request, in order to load the iframe only in case the Login Button is clicked.

    var $modal = $('#myModal');
    	$(".myButton").one( "click", function() {
    	    $modal.load("/PATH/TO/login.html");
    	});

    In Login add the iFrame:

    <iframe frameborder="0" marginwidth="0" marginheight="0" scrolling="yes" height="100%" width="100%" src="https://widgets.healcode.com/mb/sites/YOURIDHERE/client"></iframe>
  • The topic ‘Terrible Plugin’ is closed to new replies.