ここにオブジェクトが挿入されます
_;
if ($_REQUEST[Type]) {
echo <<<_
<link rel="stylesheet" href="/jquery/orbit/orbit.css" type="text/css" />
<script type="text/javascript" src="/jquery/js/jquery-1.6.4.min.js"></script>
<script type="text/javascript" src="/jquery/colorbox/colorbox/jquery.colorbox-min.js"></script>
<script type="text/javascript" src="/jquery/orbit/jquery.orbit.js"></script>
<!-- ここまではヘッダー部でインクルードしておく -->
<div id="gallery" style="$style">ここにオブジェクトが挿入されます</div>
<script type="text/javascript">
getAjaxText('/trycms/jquery.php?cmd=imagechanger&ID=$_REQUEST[ID]&ajax=1', 'gallery', gallery_initialize);
function gallery_initialize() {
$(function(){
$('#$_REQUEST[ID]').orbit({
animation: 'horizontal-slide',
animationSpeed: 1000,
directionalNav: false,
captions: true,
captionAnimationSpeed: 800,
timer: true
});
});
}
</script>
_;
} else {
echo <<<_
<link rel="stylesheet" href="/jquery/colorbox/example1/colorbox.css" type="text/css" />
<script type="text/javascript" src="/jquery/js/jquery-1.6.4.min.js"></script>
<script type="text/javascript" src="/jquery/colorbox/colorbox/jquery.colorbox-min.js"></script>
<script type="text/javascript" src="/jquery/jquery.k3dCarousel.js"></script>
<!-- ここまではヘッダー部でインクルードしておく -->
<div id="gallery" style="$style">ここにオブジェクトが挿入されます</div>
<script type="text/javascript">
getAjaxText('/trycms/jquery.php?cmd=imagechanger&ID=$_REQUEST[ID]&ajax=1', 'gallery', gallery_initialize);
function gallery_initialize() {
$(function(){ $('#$_REQUEST[ID]').k3dCarousel(); });
}
</script>
_;
}
echo <<<_