floyde
04-18-2005, 10:08 PM
Hi, I really, really need to find a way to get the width in pixels of the vertical scrollbar in an HTML document. The problem is document.body.offsetWidth returns the same value as document.body.clientWidth on Mac's IE5 and thus I cannot substract one from the other and get the width of the scrollbar. I won't go into details about what I'm trying to accomplish with this cause its complicated but just believe me when I tell you getting the scrollbar's width is the only way to solve my problem... Please, does anyone know a different way to this? (it doesn't even have to be Javascript: vbscript, asp, whatever as long as it works on mac explorer :() thanks in advance..