I'm in the mood for change.

What about a new color for my download button?

But wait. How will I be able to know which color is your favorite one?

Ok, that should do the trick:

$('#download-btn').easyab({ 'slot': 1, 'name': 'download-button-color', 'default-value': 'apple-green', 'alternatives': [{ 'value': 'fire-red', 'alternative': function($this) { $this.removeClass('btn-success').addClass('btn-danger'); } }] });

Hey fellow visitor, which button are you seeing right now? Apple Green or Fire Red?

Do you want to see the two versions running? I know you do.

Follow this link and reload the page multiple times.

Voilà ! You are now savvy enough to start testing on your own users using easyAB!