|
Posted by Jeremy on 11/28/07 16:46
Nik Coughlin wrote:
>
> Still, very cool. Breaks in some situations, but I think we have gone
> beyond real world usage here anyway :) Now I'm gonna have to try and
> think of another out-of-left-field way to do it...
I think a Javascript solution is your best bet; it may not look terrific
for the fraction of people with JS disabled, but the page will still
function correctly and that's the important thing.
However, there are a couple of things you could do to improve the JS
solution, particularly for IE. One thing I can think of is using a
short timeout to update the box, and canceling the timeout if it hasn't
already occurred by the next resize. That way you will avoid the
constant redrawing that causes it to look so bad in IE during the resize
(essentially making it behave like Firefox does, where it only updates
when you stop resizing).
But that's getting off topic (and you probably already know you can
improve the JS). By the way, your page works fine in IE6.
Jeremy
Navigation:
[Reply to this message]
|