JSFiddle

  • Decision Tree tool #105 is the latest revision

    Very generic decision tree tool. Allows for up to 9 options per group, and 'n' steps. ',productFilter' class to wrap each instance, if you want more than one per page. Option groups for each step must have '.step<n>' class, and an identifier class, e.g.: '.option121'.

    var base = {
        productFilterSetup: function() {
            $('.productFilter').each(
            function() {
                var tmp = new base.filterGroup(this);
                tmp.setup();
            });
        },
        filterGroup: function(filter_group) {
            var me ...