I have this function
$(".container").width('1052').height($(".right").height());
And in the function the .container height is set by the .right height. Well, I also always want to add a 100 pixels to that number. How would I achieve that?
Is this possible without creating a separate variable? Thanks :)
Maybe add a literal 100?
$(".container").width('1052').height($(".right").height()+100);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With