I'm having trouble incorporating my variable into this specific string:
var liPad = 20;
$(this).css({'width' : width , 'height' : height, 'padding' : "'0px' + liPad + 'px'"});
The desired outcome is to achieve the following:
$(this).css({'width' : width , 'height' : height, 'padding' : '0 20px'});
I'm unable to figure out how to make it function correctly.
If anyone could offer assistance, it would be highly appreciated.