On 26/01/07, Will Mo <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Playing around with jQuery and thought I'd try to put together a 'table
> looking' definition list. I managed to get something to work in FF but IE6
> doesn't seem to care what I think it should do.
>
> // equal height dt/dds
> $("dt").each(function () {
> ddheight = $(this).next().height();
> $(this).height(ddheight);
> });
>
> a related question... is there any way to know when the browsers text size
> changes? If you resize your text with this little thing (after it's
> loaded), the heights don't update because my little function has run the
> course of its live. I tried attaching it to $(document).resize(); to no
> avail. Is there something like (" document.basefontsize").onChange?
>
> I realize this is just a hack and I'm really only asking/hacking to learn
> more about jQuery. I doubt I'd ever actually use this. :)
>
> Thanks!
> Will
A List Apart has an article on text-resize detection that may be of some use:
http://alistapart.com/articles/fontresizing
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/