if they are linked to two diffrent *.js files, and the script part is mentioned in th head, then i dont think there should be a problem, ... but the catch here is, ur not allowed to use the body onload function ...
Quote:
Simply add the two scripts in the usual way, but don't put the onLoad... information in the <BODY> tag. Instead, put the following in the <HEAD> section:
<script language="JavaScript">
function LoadFuncs() {
FUNCTION 1
FUNCTION 2}
</script>
FUNCTION 1 is what is inside the quotation marks in the <BODY onLoad="FUNCTION 1"> command. The same goes for FUNCTION 2. You can run a third or more functions in the same way; simply add them beneath the first two before the closing } symbol.
Finally, put onLoad="LoadFuncs()" inside the <BODY> tag.
|
source :
www.jsr.communitech.net
..hope this helps...