After the last post, I knew that only IE/Win had any benefit from this script. This way I was able to streamline the script and completely remove the dependency on other scripts. It’s not even needed to do anything on the page load. I also removed the support for IE 5.0 and concentrated on iFrame technique. And it’s a lot smaller: 4.65kB, heavily commented.
Script now has only three functions.
WCH_Hider() does all the browser checks and creates the hiding iFrame.
WCH_HideWndCtrl() is placing the hider below the layer that needs to go over windowed controls.
WCH_ShowWndCtrl is removing the hider.
For those of you wondering what this is all about…read this entry that will explain the problem at hand. Now, on to version 2. I will still explain every part of the script, as I think that this version should be used in the future - it’s much smaller, faster, independent…simply better.