The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript JS Mouse location detect Re: JS Mouse location detect


We don’t know what he intends to do once the width is calculated so I’m not sure how an extra element (which may or may not be there in the first place).

As a rule of thumb, my first question to the OP is..

**”What are you trying to do and why?”**

Quite often they are trying to go about something completely the wrong way. This may not be true in this case but without further information it’s hard to offer advice.