Nth Penguin, LLC
http://www.nthpenguin.com
--
Architect
WebWidgetry.com / MashupStudio.com
Future Home of the World's First Complete Web Platform
--
Inquire: 1-262-951-6727
Blog: http://www.someElement.com
LinkedIn Profile: http://www.linkedin.com/in/ryangahl
<script type="text/javascript">
if (!(window.Prototype && window.Prototype.Version)) {
document.write('<scrip' +
't type="text/javascript" src="javascripts/prototype.js"></scrip' +
't>';
}
</script>
--Greg
is there actually a line break in your code?
document.write('<script type="text/javascript" src="/Websites/ndbg/
templates/NDBG/scripts/prototype.js"></script>');
If you had copied my script verbatim (except changing the src URL), it
would have worked. Did you not notice that I was deliberately breaking up
the <script and </script tags? The unterminated string literal error is
because the browser sees </script> and takes it to mean the end of the
current script tag, even though it is in a string literal. Escaping the /
doesn't so much escape it as keep it from looking like a proper end tag.
--Greg