I can't begin to count the number of times the same sort of scenario has been posted about.
It boils down to:
1. for the <head>, put all your necessary stylesheets into the stylesheet folder, using the prescribed format.
2. for the <head>, put all your necessary javascripts into the jscript folder, using the prescribed format.
3. for the rest ie: all the on-page <script> stuff, put it into the template tpl_whatever_page_it_is.php or define_main_page.php file directly.
So...
1. magicslideshow.css - copy that to /includes/templates/NAME_OF_YOUR_TEMPLATE_HERE/css/styles_magicslideshow.css
2. magicslideshow.js - copy that to /includes/templates/NAME_OF_YOUR_TEMPLATE_HERE/jscript/jscript_magicslideshow.js
3. for the inline <script> and <style> stuff, you have two choices:
a) just embed it directly into the template, along with the div, as mentioned in 4 below, or
b) stuff it into a new file like this;
/includes/templates/NAME_OF_YOUR_TEMPLATE_HERE/jscript/jscript_mymagicsssettings.php
Code:
<!-- set slide show params -->
<script type="text/javascript">
MagicSlideshow.options = {
'arrows': false, // you can use 'no' or 0 here
'thumbnails': 'inside',
'container-size': 80,
'container-padding': 5,
'container-position': 'bottom',
'container-opacity': 0,
'preloadInOrder': true,
'start': 2,
'loadingText': 'Please wait...',
'speed': 5,
'effectJump': 'scroll',
'loop-type': 'first'
}
</script>
<style type="text/css">
img.MagicSlideshowThumbnail {
border: 2px solid #696969;
margin: 1px 4px;
}
img.MagicSlideshowThumbnail.highlight {
border: 2px solid #FFFFFF;
}
</style>
4. and the rest (the <div> etc) goes into whatever template piece you need, wherever you intend it to display