> Mel wrote:
can i place tons of javascript on a client machine say C:/xxx/JS and
have the browser use them instead of getting it form my site ?
Before you post to the newsgroup, did you try some experiments?
If so, what were your findings?
If not, how dare you? Seriously.
examples are more than welcomed
Well, it doesn't get any more exotic than this:
<script type="text/javascript" src="C:/xxx/JS/myscript.js">alert('File not
found!');</script>
"Cycloneous Echevarria", who wrote You can, BUT if the user hoses that directory, your website becomes
useless, especially if it is very dependant on the JavaScript.
please join the bottom-posters.
Something else to keep in mind is that the local drive and the website from
which the pages are coming, are different domains as far the browser is
concerned. So cross-domain security restrictions apply. This needn't be a
problem though.
HTH
Ivo