Ok, here we discussed the essence of the problem: in some browsers like Chrome and Opera HttpRequests to local files is turned off by default.
Now the question is: how to build such HTML+javascript viewer of HTML documents, that:
- would run locally on any (or most of) browser(s) without additional tuning;
- would not use frames;
- would have an ability to work with many different files(5-10k);