Create a plugin that uses the 'parse_templates' hook.
Place this code in the plugin..
Code:
$template_hook['headinclude_javascript'] .= ' <script type="text/javascript" src="http://www.terrarienbilder.com/parallax/jquery-1.2.6.min.js"></script>
<script type="text/javascript" src="http://www.terrarienbilder.com/parallax/jquery.jparallax.js"></script>
<link rel="stylesheet" type="text/css" media="screen" href="http://www.terrarienbilder.com/parallax/style.css">
<script type="text/javascript">
jQuery(document).ready(function(){';
$template_hook['headinclude_javascript'] .= "jQuery('#parallax').jparallax({});
});
</script>";
And remove any of the script information you might have pasted into the header template. Just leave this there...
HTML Code:
<hr size="1">
<table style="text-align: left; width: 100%;" border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td style="width: 24%;"></td>
<td style="width: 802px; text-align: center; vertical-align: middle;">
<div style="border: 1px solid ; position: relative; width: 800px; height: 150px;" id="parallax">
<div style="width: 800px; height: 150px;"><img alt="" src="http://www.terrarienbilder.com/parallax/bg_1.png"></div>
<div style="width: 990px; height: 180px;">
<img style="position: absolute; top: -40px; left: 650px;" alt="" src="http://www.terrarienbilder.com/parallax/palm_1.png"></div>
</div>
</td>
<td style="width: 24%;"></td>
</tr>
</tbody>
</table>
<hr size="1">