Faux Pass wrote:<link rel="stylesheet" type="text/css" media="IE4,IE5" href="ie.css">
<link rel="stylesheet" type="text/css" media="Opera5,Opera6" href="opera.css">
How many browsers suport adding stylesheet link elements with js? Thru DOM or trhu document.write? One can chose metode depending on the browser so if only one of them is working...
Same thing could be useful to load js 'lib' files.
Does it work with Ph/moz and other gecko browsers?
Guess trial and error is the way to find out, but I dont have so many browsers in different versions at hand
<b>On the real topic
</b>
I would realy like having different program instanses for every window!
Modern OS would run the same image from memory anyway, exept from parts of the program that is modified (copy on write).
It's not trivial. Lots of consideration with multiple access to profile, cash etc.
Memory cash is probably best left seperate so that would be a signifikant wast of resorses. If not break out a memory database that handels memory cash and other stuff needing simular service. Maybe with transparent write / read to disk, fetch from network e t c. Would probably defeet the purpus with separate instanses, isolate the inpakt of fatal failure
But it shuld isolate thes problem in a smaler bit of code (and the app could restart this service if the service fails fataly insted of failing fataly itself), and that service might be used by other apps (adding alot of security considerations, especily if multiple users is to use the same memory cash - but *that* is not necasary).
No, not next weeks hack, but maybe a long term direktion
/LaH