泛出微微的蓝色的光,像有生命般涌动着,闪烁着,平滑而优美,只有永恒可以于它并存
<!--对联广告条-->
<SCRIPT FOR='EccoolAd' EVENT='fscommand()' LANGUAGE='JavaScript'>
AdLayer1.style.visibility='hidden';
AdLayer2.style.visibility='hidden';
</script>
<script src="/blog/EccoolAd.js>";</script>
<!--对联广告条-->
swf文件上的:
flash中关闭按扭为close_btn
flash文件EccoolAdb.swf可以把下面JS中代码改为你的FLASH名
flash中关闭代码:
close_btn.onRelease = function()
这是JS代码,EccoolAd.js的内容:
function initEcAd() {
document.all.AdLayer1.style.posTop = -200;
document.all.AdLayer1.style.visibility = 'visible'
document.all.AdLayer2.style.posTop = -200;
document.all.AdLayer2.style.visibility = 'visible'
MoveLeftLayer('AdLayer1');
MoveRightLayer('AdLayer2');
}
function MoveLeftLayer(layerName) {
var x = 5;
var y = 340;
var diff = (document.body.scrollTop + y - document.all.AdLayer1.style.posTop)*.40;
var y = document.body.scrollTop + y - diff;
eval("document.all." + layerName + ".style.posTop = y");
eval("document.all." + layerName + ".style.posLeft = x");
setTimeout("MoveLeftLayer('AdLayer1');", 20);
}
function MoveRightLayer(layerName) {
var x = 5;
var y = 340;
var diff = (document.body.scrollTop + y - document.all.AdLayer2.style.posTop)*.40;
var y = document.body.scrollTop + y - diff;
eval("document.all." + layerName + ".style.posTop = y");
eval("document.all." + layerName + ".style.posRight = x");
setTimeout("MoveRightLayer('AdLayer2');", 20);
}
document.write("<div id=AdLayer1 style='position: absolute;visibility:hidden;z-index:1'><EMBED src="/blog/EccoolAda.swf" quality=high WIDTH=100 HEIGHT=100 TYPE='application/x-shockwave-flash' id=EccoolAd></EMBED></div>"
+"<div id=AdLayer2 style='position: absolute;visibility:hidden;z-index:1'><EMBED src="/blog/EccoolAdb.swf" quality=high WIDTH=100 HEIGHT=100 TYPE='application/x-shockwave-flash' id=EccoolAd></EMBED></div>");
initEcAd()