Thanks for the nice thoughts, TinyScript! The script, being a little longer, I'll give you the link to where it is, Firefox will automatically open it as text, IE will ask you to download it: http://www.d.a.n.s.home.ro/test/animaniac/script.js
. Here's the HTML file :
<link rel="stylesheet" type="text/css" href="style.css"/>
<body onload="frames(event);" onkeypress="frames(event);" id="pageBody">
That's it. Nice and small, only the script is long having lots of IFs, what picture to put in the current coordinates.
One more thing, making an "educated" guess I found out what I was doing wrong: I was getting the content of the HTML page and passing it a photo, thus canceling everything I've put there before, realizing that instead of inserting each photo individually I have to concatenate them (since the insertion is made through a string) and insert all of them through the same line. Now it works just fine and you can see it on the page animaniac.html from my last post. Here's the link to the mistaken script, so you can easier understand the problem and how I've fixed it: http://www.d.a.n.s.home.ro/test/animaniac/script2.js
. Thanks for everything! The game will most probably get an update everyday and it will remain on the same page, animaniac.html, if you'll be interested in it. Probably I will ask you for help again