One reason I like to use <iframe> elements for tab content is because you can set their height & width to "100%", and the size of the frame will automatically adjust to the size of their container, whatever that may be. That was one reason for my putting a vertical splitter bar in my sample. It added a temptation to see the effect of resizing left and right panels by dragging one way or the other. Tab content automatically resizes, and the position of horizontal tabs automatically adjust themselves to fit their container. I haven't seen that type of behavior in any other HTML based tab sample, and I wondered if anyone would notice. Oh well, maybe it wasn't that impressive.

Other tab samples I've seen have used HTML <div> tags for tab content, instead of <iframe> tags. I also wondered if anyone would question that? Under my interface an <iframe> is automatically generated when a tab is added to a container. That's been nagging me for a while. It seems that I'll need an interface for <div> based content too. Oh well, back to the drawing board...

Nathan.




----- Original Message ----
From: Nathan Andelin <nandelin@xxxxxxxxx>
To: Web Enabling the AS400 / iSeries <web400@xxxxxxxxxxxx>
Sent: Wednesday, October 1, 2008 3:12:54 PM
Subject: Re: [WEB400] Tabs in HTML Pages

LOL, Maurice. You got the source of a tab content frame, instead of the source that contains the tabs. You need to view the right <iframe>. Ok, so there happen to be 25-30 <iframe>'s, one for each tab, plus some ... ;-)

Nathan.




As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.