I'm trying to add my var to this string:
var liPad = 20;
$(this).css({'width' : width , 'height' : height, 'padding' : "'0px' + liPad + 'px'"});
To make it work like this:
$(this).css({'width' : width , 'height' : height, 'padding' : '0 20px'});
Can't figure out how to make it work.
Any help would be appreciated.