Posted by Toby A Inkster on 01/06/08 00:04
BootNic wrote:
> Have a look at this script. Give it a go and see how it works for you.
I'll give it a whirl, but at first glance it looks a little over-
complicated. From what I can tell, your stability fix is to prevent the
column resize function from being dispatched several times simultaneously
or near-simultaneously.
The font size check is a good idea.
> It's self contained, no need for that bit of script after the closing
> body tag.
The decision to make my script not self-contained was deliberate. It
avoids hard-coding the element IDs into the javascript file. It also
allows the functions to fire prior to window.onload.
--
Toby A Inkster BSc (Hons) ARCS
[Geek of HTML/SQL/Perl/PHP/Python/Apache/Linux]
[OS: Linux 2.6.17.14-mm-desktop-9mdvsmp, up 6 days, 11:11.]
Sharing Music with Apple iTunes
http://tobyinkster.co.uk/blog/2007/11/28/itunes-sharing/
[Back to original message]
|