лЧЧĲ裺

һCSSʽ壺
̨δ򿪡ϵͳá->վ޸վµCSSʽ壺
/* ͼĵҳЧ */
.clsImg{filter: revealTrans(transition=4,duration=2); width: 750px; position: absolute; margin-top:-62px;}
.clsImgList{width:750px;}
filter: revealTrans(transition=4,duration=2)лЧݣtransitionʾûתʹõķʽdurationʾûתõʱ䡣position: absolute;ʾĵϳmargin-top:-62pxʾ-62pxԶλݡ
޸ģ壺
δ򿪡ϵͳá->վͨģҳ޸վҳģ壬ݣ
1<body>Ӷ塰onload="playPage()"磺<body onload="playPage()" leftmargin=0 topmargin=0  onmousemove='HideMenu()'>
2ҪʾлЧĵط´룺
<div id='page1' onmouseover='setbFlag(false)' onmouseout='setbFlag(true)' style='VISIBILITY: visible' class='clsImg' >
<div class='clsImgList'>лһ</div>
</div>
<div id='page2' onmouseover='setbFlag(false)' onmouseout='setbFlag(true)' style='VISIBILITY: hidden' class='clsImg'>
<div class='clsImgList'>лݶ</div>
</div>      
<script language="javascript">
<!--
        var tmpDiv1 = document.getElementById("page1");
        var tmpDiv2 = document.getElementById("page2");

        var bFlag = true;
        var bShowDiv = true;
        
        function playPage()
        {
                if(bFlag)
                {
                        if(bShowDiv)
                        {
                                nextPage(tmpDiv1, true);
                                nextPage(tmpDiv2, false);
                        }
                        else
                        {
                                nextPage(tmpDiv1, false);
                                nextPage(tmpDiv2, true);
                        }
                        setTimeout('playPage()',5000);
                }
                else
                {
                        setTimeout('playPage()',1000);
                }
                bShowDiv = !bShowDiv;
                return;
        }
        function setbFlag(b)
        {
                bFlag = b;
                return;
        }
        function nextPage(whichDiv, bShowDiv){
                if(whichDiv != null)
                {
                        //whichDiv.filters.revealTrans.Transition=Math.floor(Math.random()*23);
                        whichDiv.filters.revealTrans.apply();
                         if(bShowDiv)
                         {
                                 whichDiv.style.visibility = 'hidden';
                         }
                         else
                         {
                                 whichDiv.style.visibility = 'visible';
                         }
                        whichDiv.filters.revealTrans.play()
                }
                return;
        }
//-->
</script>