<SCRIPT>
//new SlideTrans("idContainer", "idSlider", 3).Run();
///////////////////////////////////////////////////////////
var forEach = function(array, callback, thisObject){
if(array.forEach){
array.forEach(callback, thisObject);
}else{
for (var i = 0, len = array.length; i < len; i++) { callback.call(thisObject, array[i], i, array); }
}
}
var st = new SlideTrans("idContainer2", "idSlider2", 5, { Vertical: false });
var nums = [];
//插入数字
for(var i = 0, n = st._count - 1; i <= n;){
(nums[i] = $2("idNum").ateElement("li"))).innerHTML = ++i;
}
forEach(nums, function(o, i){
})
//设置按钮样式
forEach(nums, function(o, i){ o.className = st.Index == i ? "on" : ""; })
}
//$("idAuto").onclick = function(){
//if(st.Auto){
//st.Auto = false; st.Stop(); this.value = "自动";
//}else{
//st.Auto = true; st.Run(); this.value = "停止";
//}
//}
//$("idNext").onclick = function(){ st.Next(); }
//$("idPre").onclick = function(){ st.Previous(); }
/
/$("idTween").onchange = function(){
//switch (parseInt(this.value)){
//case 2 :
//st.Tween = Tween.Bounce.easeOut; break;
//case 1 :
//st.Tween = Tween.Back.easeOut; break;
//default :
//st.Tween = Tween.Quart.easeOut;
//}
//}
st.Run();
</SCRIPT>
<!--视频-->
<div id="isp">
<div class="isptop"></div>
<div id="indeximg1" ></div>
<script type="text/javascript" src="dairy/skin/default/etoflash_u.js"></script>
flash swf播放器<script language='JavaScript' type='text/JavaScript'>
var FlashPlayer = new etoFlash("dairy/skin/default/etoplayer2.swf", "", "255", "171", "8", "#ffffff", false,"high","","",true);
FlashPlayer.addParam("allowScriptAccess", "always");
FlashPlayer.addParam("allowFullScreen", "true");
FlashPlayer.addVariable("width", "255");
FlashPlayer.addVariable("height", "171");
FlashPlayer.addVariable("file", "dairy/skin/default/mg.flv");
FlashPlayer.addVariable("image", "dairy/skin/default/mg.jpg");
FlashPlayer.addVariable("id", "5");
FlashPlayer.addVariable("backcolor", "0xFFFFFF");
FlashPlayer.addVariable("screencolor", "0x000000");
FlashPlayer.addVariable("autostart", "false");
FlashPlayer.write("indeximg1");
</script>
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。
发表评论