以下是引用片段: @echo off c: cd/qz ren qz1.bmp qz0.bmp ren qz2.bmp qz1.bmp ren qz3.bmp qz2.bmp ren qz4.bmp qz3.bmp ren qz5.bmp qz4.bmp ren qz6.bmp qz5.bmp ren qz0.bmp qz6.bmp echo on |
以下是引用片段: <html> <head> </head> <script language="JavaScript"> <!-- now=new Date( ),day=now.getDay( ) if(day==0){document.write("<body background=’qz0.bmp’ bgproperties=FIXED>")} else if(day==1){document.write("<body background=’qz1.bmp’ bgproperties=FIXED>")} else if(day==2){document.write("<body background=’qz2.bmp’ bgproperties=FIXED>")} else if(day==3){document.write("<body background=’qz3.bmp’ bgproperties=FIXED>")} else if(day==4){document.write("<body background=’qz4.bmp’ bgproperties=FIXED>")} else if(day==5){document.write("<body background=’qz5.bmp’ bgproperties=FIXED>")} else if(day==6){document.write("<body background=’qz6.bmp’ bgproperties=FIXED>")} //--> </script> </body> </html> |