S
Stevo
I need to lock a DIV in place so that regardless of the scroll position,
it remains stuck in a corner. Currently I'm hooked into the scroll
events and I'm positioning dynamically based on the scroll amount. So if
you scroll down 1000 pixels, then I'm adding 1000 pixels to the position
I normally would calculate to fit it in the corner. This works cross
browser already, but the responsiveness to the scroll events isn't
immediate enough. You can see a bit of a stuttering effect.
Does anyone know of a property that will lock a DIV to a certain
position in the browser rather than a certain position in the page (yes
I know it's CSS but there isn't a CSS forum on my news server and this
is where the clever people are)? I'm pretty sure I heard that such a
property exists but it's not something that's easy to google. The terms
involved find way too many results that aren't relevant. I haven't even
managed to find (via google) somebody that's doing what I'm already doing.
I don't mind if it's using some IE and/or Gecko proprietary properties.
it remains stuck in a corner. Currently I'm hooked into the scroll
events and I'm positioning dynamically based on the scroll amount. So if
you scroll down 1000 pixels, then I'm adding 1000 pixels to the position
I normally would calculate to fit it in the corner. This works cross
browser already, but the responsiveness to the scroll events isn't
immediate enough. You can see a bit of a stuttering effect.
Does anyone know of a property that will lock a DIV to a certain
position in the browser rather than a certain position in the page (yes
I know it's CSS but there isn't a CSS forum on my news server and this
is where the clever people are)? I'm pretty sure I heard that such a
property exists but it's not something that's easy to google. The terms
involved find way too many results that aren't relevant. I haven't even
managed to find (via google) somebody that's doing what I'm already doing.
I don't mind if it's using some IE and/or Gecko proprietary properties.