What do you mean by "don't top post"?
I was under the impression that
<SCRIPT LANGUAGE="JavaScript1.2"
src="../MyScripts/TranslucentScroller.js"></SCRIPT>
simply loads the script in memory so that all functions within the script
can be invoked... when required.
I was under the impression that it can be invoked either by
<script> startit() </script>
or
onload = ?
In general, is this a true assumption?
"mscir" <ms***@access4less.net> wrote in message
news:10*************@corp.supernews.com...
JCO wrote:
Okay, I've done this but I'm having a weird effect.
First of all, instead of an onload, can't I just place this in the body
<script> startit() </script>
When I tried this, the display was unpredictable. Then I took this out
and everything works okay.
It works okay with out having the OnLoad. Why is this. What else could
be triggering this?
1. don't top post, it messes up the q/a order of the post.
2. see ans. #2 below, add the script refernce where you want that script
embedded into your html page. There's no need to call anything in the
body onload event in this case. The javascript from the .js file is
inserted into your page where the reference to it is placed - the code
runs the same as if you had placed the contents of the .js file in that
location.
2. insert this line into your html where you want the scroller to
appear:<script type="text/javascript" src="scroller.js"></script>