ok, thanks ! better know now that it is not a viable solution than
later...

On Jul 26, 3:04 pm, "Brandon Aaron" <[EMAIL PROTECTED]> wrote:
> I would stick with position: fixed for the browsers that support it (all but
> IE6) and for IE6 I would probably use CSS expressions to make it work
> properly. CSS Expressions will be the fastest, in terms of rendering, for
> IE6. Here is a site that talks about using expressions to make fixed
> position work in IE 6:http://www.howtocreate.co.uk/fixedPosition.html
>
> Using JavaScript to reproduce the position fixed effect will be very jerky.
>
> --
> Brandon Aaron
>
> On 7/26/07, Alexandre Plennevaux <[EMAIL PROTECTED]> wrote:
>
>
>
> > hello!
>
> > i'm trying to have a div box stay permanently on the same position in the
> > viewport, no matter how much the page is scrolled.
>
> > I try to use dimensions.js to do it, but so far i've failed to calculate
> > correctly the new top position of my element. Can someone explain me what
> > i'm doing wrong?
>
> > $(window).bind("scroll",function(){
> >    $this = $('#leftCol');
> >    var newTop = $this.offset();
> >    var scrollTop = $this.scrollTop();
> > $('#leftCol').css({top: fixedTop.top + scrollTop});
> > });
>
> > Thank you!
>
> > Alexandre
>
> > Ce message Envoi est certifié sans virus connu.
> > Analyse effectuée par AVG.
> > Version: 7.5.476 / Base de données virus: 269.10.19/918 - Date: 25/07/2007
> > 14:55

Reply via email to