Combining these two scripts won't be easy if you're talking about a merging of the two scripts' functionalities into one script. Step Carousel Viewer does support external content actually via Ajax though the difference is that all the external contents are added inside one external file (instead of separate ones). Something like:
Code:
<script type="text/javascript">
stepcarousel.setup({
galleryid: 'mygallery', //id of carousel DIV
beltclass: 'belt', //class of inner "belt" DIV containing all the panel DIVs
panelclass: 'panel', //class of panel DIVs each holding content
statusvars: ['statusA', 'statusB', 'statusC'], //register 3 variables that contain current panel (start), current panel (last), and total panels
contenttype: ['external', 'external.htm'] //content setting ['inline'] or ['external', 'path_to_external_file']
})
</script>
HTML:
Code:
<div id="mygallery" class="stepcarousel">
<div class="belt">
//All panel DIVs removed!
</div>
</div>
Source for "external.htm":
Code:
<div class="panel">
Panel 1 content here...
</div>
<div class="panel">
Panel 2 content here...
</div>
<div class="panel">
Panel 3 content here...
</div>
Bookmarks