Stories
Slash Boxes
Comments

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

malte (1708)

malte
  (email not shown publicly)
http://joose-js.blogspot.com/

Working on Joose JavaScript meta system (Blog) [blogspot.com] and blok [appspot.com], a web based application for collaborative ui prototyping.

Journal of malte (1708)

Wednesday May 21, 2003
10:07 AM

iframes on layers

[ #12353 ]

I'm working on a web-based front end to an ERP-system at the moment. Suddenly the idea struck me that one could make "real" tab-control like interfaces by putting iframes inside css-layers. You can change tabs by hiding or showing the individual layers.

The cool thing about this is, that you can switch between independent HTML pages without loosing the client-state of the preceeding page. You can aboviously do this using multiple windows or frames, but it feels much better with a single window.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • I've done this, and it's very useful indeed. As a nice extra, you get to communicate with the containing page through JavaScript, which makes creating Windows-ish "Properties..." dialogs with OK/Apply/Cancel that when Cancel is clicked, cancel changes in *all* tabs very easy.
  • I use this techniche to, and I think I found a bug in IE. One of the places I do this the content expires frequently so I have the page refresh itself on a regular bases. Sometimes, about 1 in 50, the iframe will replace the _top frame. It does not do this in Mozilla, so I asume its a bug in IE.