This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 1. I had some issues with flickering, changing the event to "onscrollend" | |
// 2. My design requires not just opacity changes but different design for active / inactive buttons so modified for this accordingly | |
// Configuration | |
var disabledBackground = "#fff"; | |
var disabledBorder = "#5b5857"; | |
var enabledBackground = "#e5001b"; | |
var enabledBorder = "#cccccc"; | |