It looks as if your editing program might have made some changes, converting special characters < and >.
In your browser, open your html page, go to View > Source and you'll see:
Code:
<script type="text/javascript" src="scripts/prototype.js"></script>
<script type="text/javascript" src="scripts/scriptaculous.js?load=effects"></script>
<script type="text/javascript" src="scripts/frog.js"></script>
<style type="text/css">
#FrogJS{
width: 760px;
height: 600px;
margin: 0 auto;
}
#FrogJSCredit{
text-align: right;
font-size: 80%;
color: #999;
padding: 1px;
}
#FrogJSCaption{
text-align: left;
line-height: 140%;
}
</style>
That needs to be
Code:
<script type="text/javascript" src="prototype.js"></script>
<script type="text/javascript" src="scriptaculous.js?load=effects"></script>
<script type="text/javascript" src="frog.js"></script>
<style type="text/css">
#FrogJS{
width: 760px;
height: 600px;
margin: 0 auto;
}
#FrogJSCredit{
text-align: right;
font-size: 80%;
color: #999;
padding: 1px;
}
#FrogJSCaption{
text-align: left;
line-height: 140%;
}
</style>
Open the html file on your hard drive in a text program like Notepad. Replace the bad code with what I've provided. Then re-upload your html file. The way you uploaded it is fine.
Also note, that you put the js files into the same directory as your html files. The way I re-wrote your html will work that way. If you move the js files to a nother directory, your path would need to change.
Bookmarks