Home > Web Front-end > JS Tutorial > Timed page closing or timed reminder effect code implemented by js_javascript skills

Timed page closing or timed reminder effect code implemented by js_javascript skills

WBOY
Release: 2016-05-16 19:06:10
Original
1556 people have browsed it


[Ctrl A select all Note: If you need to introduce external Js, you need to refresh to execute
] <script> hran.dur=hr.dur,hran.to=hr0.width int=new Date(),B='<br>' setInterval("stay.innerHTML=String(int).slice(-22,-13).fontcolor(1)+B+String(new Date(new Date()-int-288e5)).split(/ /)[3]+B+Date().slice(-13,-5).fontcolor()",1e3) function clock(hh,mm,ss){with(new Date()) return new Date()-new Date(getYear(),getMonth(),getDate(),hh*1,mm*1,ss*1+1)==0} </script>
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template