I'm currently troubleshooting a script that works in Chrome but not in FireFox. I suspect it's due to the webkit syntax, so I tried converting it to a standard gradient without success. Can you help me identify what's causing the issue?
Webkit:
var grad = '-webkit-gradient(linear, left top, right top, color-stop(0, transparent), color-stop(1, #' + color + '))';
Standard:
var grad = 'linear-gradient(to left, color-stop(0, #' + color + '), color-stop(1, transparent))';
Check out the live script here: http://jsfiddle.net/LThhd/12/