Even More Enhancements to subModal:
subModal is a nice, simple, javascript lightbox script that uses iframes. It is quite useful, especially after enhancements done by Todd Huss (Enhancements to subModal).
Two annoying things about it are that it modifies the history of our browser, and that the loading indicators go away to early. Attached is a simply replacements for it, that is drop in except that instead of settings the “loader.html” file, you need to set the “loader.gif” file.
The code is pretty self explanatory, and you can see a demo by clicking the “Map” icon at Kent Price Realty.





