Moving javascript to external file with body onload dependencies
Hi! I'm trying to move all of my javascript to an external file. I'm new to javascript and don't know how to get the dependent body onload and onunload to work with external .js. Here is where it works with the script in the page: http://www.fortwayne2030.org/examplegmap3.html
Here is where I'm trying to separate the js: http://www.fortwayne2030.org/examplegmap.html
Oh my $%^&! That whole time I was trying to get it to work I didn't have the .js uploaded. You were right, it was an empty file. Thanks! Also used the:
<script type="text/javascript">
onload = initialize();
onunload = GUnload();
</script>
<script type="text/javascript">
onload = initialize();
onunload = GUnload();
</script>