Javascript code _ javascript skills

Source: Internet
Author: User
Relatively creative code for regularly closing pages or regularly reminding users

<HTML xmlns: v xmlns: t> <HEAD> <STYLE> v \: * {behavior: url (# default # vml)} v \: oval, # oDiv {position = absolute; width = 200; height = 200} # stay {position = absolute; top = 70; left = 59; color = RED; padding = 6; font = 900 20/1. 3 }# input {border-left = 0; border-right = 0 }</STYLE> <TITLE> Cool Clock </TITLE> <pta: application border = none scroll = 0 innerBorder = ridge> <? Import namespace = t implementation = "# default # time2"/> </HEAD> <BODY topmargin = 12 onload = resizeTo (220,240), moveTo ()> <v: oval fillcolor = # 8F strokecolor = gray strokeweight = 3/> <t: par onrepeat = alt. click () repeatcount = indefinite> <t: transitionfilter type = "clockWipe" dur = 60 TARGETELEMENT = "oDiv"/> <v: oval fillcolor = # FF0 strokecolor = RED strokeweight = 2/> </t: par> <U id = stay unselectable = on> </U> <t: ref Id = ref style = width = 200; height = 200 src = smelly man. wmv mute = true clipBegin = 23.8 dur = 4 begin = alt. click/> <t: par repeatCount = indefinite> <HR align = left id = hr0 color = TEAL width = 200 size = 14> <pr onpropertychange = "per = parseInt (100 * offsetWidth/hr0.offsetWidth ), len. innerHTML = (per> 9? '': '_') + Per + '%'" style = position = absolute; top = 219; height = expression (hr0.size) color = BLUE id = hr dur = 60> <t: animate targetElement = hr attributeName = width id = hran from = 0> </t: par> Loading persent :. <dl> <dt> Timed Shutdown of the leaf surface or timed reminder: 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 ()-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 </BODY> </HTML>
[Ctrl + A select all Note: If you need to introduce external Js, You need to refresh it to execute]

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.