[thelist] sticky frames script situation
Tom Dell'Aringa
pixelmech at yahoo.com
Tue Jun 4 13:07:01 CDT 2002
OOooo, Andy thats a great solution. So far I re-worked my code to make the value of the "bad"
resize a minimum number instead, and it hasn't broke yet -- yet. But this is a good idea.
Thanks!
tom
--- "Hardacker, Andrew" <Andrew.Hardacker at Compuware.com> wrote:
> <snip>
> So here's the rub: I used a script to say, if frame is resized to a certain
> point, just make it
> such a point so it doesn't go too high, like this:
>
> if (newControlPos <= 205)
> {
> newControlPos = 205;
> window.rowSet.rows = "25, 335, *";
> }
> </snip>
>
> Tom, if I understand the problem correctly, you're using the code above in
> an onresize function. If you check the current size of the bottom frame, you
> can bail out if it's "hidden".
>
> function checkSize() {
> var fs = document.getElementById("yourFrameset");
> var fsRows = fs.rows.split(",");
> if (fsRows[2] == 0) {
> return;
> }
> if (fsRows[1] > 335) {
> fs.rows = "25,335,*";
> }
> }
>
> HTH
>
> Andy Hardacker
> http://hardacker.com
>
>
>
> The contents of this e-mail are intended for the named addressee only. It
> contains information that may be confidential. Unless you are the named
> addressee or an authorized designee, you may not copy or use it, or disclose
> it to anyone else. If you received it in error please notify us immediately
> and then destroy it.
>
> --
> For unsubscribe and other options, including
> the Tip Harvester and archive of thelist go to:
> http://lists.evolt.org Workers of the Web, evolt !
__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com
More information about the thelist
mailing list