You are here: irt.org | About | Feedback | 1422 [ previous next ]
Feedback on:
Multi-dialogue forms on one page
Sent by
Kimberly Albrecht on June 22, 2000 at 18:02:26:
Worth:
Very worth reading
Length:
Just right
Technical:
Just right
Comments:
I was on experts exchange and a co-editor saw a comment I posted about the experience I had with your article.
I found that (in Netscape 4.x), if the contents written to subsequent tabs were longer than the first tab, the scrollbars would not appear and the tab was "cut off" at that point.
So, here is the comment I added in response to Michel.
***
I tried two things. First a div like follows:
<BODY>
<DIV name="scrollDiv" style="position:absolute;left:0;top:0">
....
<SPAN id="myTab" style="position:absolute">
</SPAN>
....
</DIV>
</BODY>
But this didn't seem too reliable. So, I ended up using a really crude method that worked.
<SPAN id="myTab" style="position:absolute">
<BR><BR><BR><BR>...<BR>
</SPAN>
Repeat the <BR> tag as many times as it takes to equal the longest, output you expect to write to the span. On my first "tab" I had a instruction page that was very short and then produced other "tabs" with really long lists of controls (for a survey). So, the multiple <BR>'s caused the scrollbars to always be the appropriate length. Also, the first thing I tried with the DIV really messes with alignment on the page. Anyway, I'll also copy this to "comments on the article". By the way, EXCELLENT site (irt), (I hope you don't mind me quoting your articles here), I use it weekly.
***
As a side note, I ended up writing a little delphi program that allows me to type in the names of my tabs and select the controls i want and then "click", it produces the code similiar to your example. Still have to do a little tweaking but saves a lot of time.
And on a personal note, Excellent article! :)
Other feedback on 'Multi-dialogue forms on one page' - show all