Sunday, 25 August 2013

how to subtract '2' from var width = document.documentElement.clientWidth + '';?

how to subtract '2' from var width = document.documentElement.clientWidth
+ '';?

how can I subtract 2 from the clientWidth? the var width must be
(document.documentElement.clientWidth) - 2
var width = document.documentElement.clientWidth + '';
i suppose not like this:
var width = document.documentElement.clientWidth-2 + ''; ?
Thanks AO

No comments:

Post a Comment