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
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to