I don't know if this is the correct forum for this type of request,
but it would be extremely helpful if jQuery could apply the hacked IE
css for position: fixed. I've been using the following in my
conditional IE stylesheet:

/* IE hacked CSS */
#topleft {
  position: absolute;
  top: expression(document.documentElement.scrollTop +
Math.round(document.documentElement.offsetHeight) + 'px');
  left: expression(document.documentElement.scrollLeft +
Math.round(document.documentElement.offsetWidth) + 'px');
  overflow: hidden;
}
#bottomright {
  position: absolute;
  top: expression(document.documentElement.scrollTop +
Math.round(document.documentelement.clientHeight - this.clientHeight)
+ 'px');
  left: expression(document.documentElement.scrollLeft +
Math.round(document.documentElement.offsetWidth - this.clientWidth) +
'px');
  overflow: hidden;
}

A much more elegant solution would be to have jQuery apply the IE css
hack when called as in:

$('#topleft').css({position: 'fixed', top: '0px', left: '0px'});  //or
$('#bottomright').css({position: 'fixed', bottom: '0px', right:
'0px'});

[Pandering praise] Otherwise, I think jQuery is freakin' awesome, the
biggest benefit being the huge reduction in the countless hours of
cross-browser debugging. Thanks jQuery Team.

Reply via email to