如何编写时钟代码 [英] How do I write a Clock code

查看:1004
本文介绍了如何编写时钟代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是我们在网站上使用了大约10年的时间,最近applet的来源被删除了。



我需要一个时钟来显示访客当前时间和我们日历上即将举办的活动的时间。



 < ;      border  < span class =code-keyword> =  1    cellpadding   =  0    cellspacing   =  0    style   =  border-collapse:< br mod e =    hold   =  /> collapse    bordercolor   = #111111    width   =  21%    id   =  AutoNumber1    height   =  51 >  
< tr >
< td width = 50% 高度 = 19 bgcolor = #FFFFFF >
< p align = center > < font color = #000000 > Tourney Time < span class =code-keyword>< / font > < / p > < / td >
< td width = 50% height = 19 bgcolor = #FFFFFF >
< p align = center > < font color = #000000 > 您的时间< / font > < span class =code-keyword>< / p > < / td >
< / tr >
< tr >
< td width = 50% height = 31 >
< p align = center > < APPLET CODEBASE =' http://help4admins.com'

CODE =' Dgclock.class' WIDTH =' 100' HEIGHT =' 30' ALIGN =' absmiddle' >
& lt; param 名称 = TimeFormat value = %I >
< param 名称 = fg value = 000000 >
< param nam e = bg value = ffffff >
< param < span class =code-attribute> name = TZ value = GMT-0400 >
< / applet > < / param > < ; / param > < / param > < / param > < / p > < / td >
< td width = 50% height = 31 >
< p align = center > < APPLET CODEBASE =' http://help4admins.com'

CODE =' Dgclock.class' WIDTH =' 100' HEIGHT =' 30' ALIGN =' absmiddle' >
< param name = TimeFormat value = %I >
< param 名称 = ShowFrame value = yes >
< param name = fg value = 000000 >
< param 名称 = bg value = ffffff >
< param name = fontName value = arial >
< param name = fontSize value = 24 >
< p aram 名称 = xoff value = 2 >
< param 名称 = yoff value = 2 >
< param name = xstart value = 10 >
< param 名称 = ystart value = 21 >
< param < span class =code-attribute>
name = rot value = 0 >
< param 名称 = msleep value = 300 >
< / applet > < / param > < / param > < / param > < / param > < / param > < / param > ; < / param > < / param > < / param > < span class =code-keyword>< / param > < / param > < / param > < / p > < / td >
< / tr >
< / table >

解决方案

我当然不是故意不礼貌,只是在任何人都可以寻求帮助而且我从未说过我想要什么,X包括只是帮助是所有...........



我没有尝试任何东西,因为我不知道怎么写代码。

This is what we've used on our website for about 10 years and recently the source for the applet was taken down.

I need a clock that shows the visitors current time and the time for the upcoming event on our calendar.

<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: <br mode=" hold=" />collapse" bordercolor="#111111" width="21%" id="AutoNumber1" height="51">
  <tr>
    <td width="50%" height="19" bgcolor="#FFFFFF">
    <p align="center"><font color="#000000">Tourney Time</font></p></td>
    <td width="50%" height="19" bgcolor="#FFFFFF">
    <p align="center"><font color="#000000">Your Time</font></p></td>
  </tr>
  <tr>
    <td width="50%" height="31">
    <p align="center"><APPLET CODEBASE='http://help4admins.com' 

CODE='Dgclock.class' WIDTH='100' HEIGHT='30' ALIGN='absmiddle'>
    <param name="TimeFormat" value="%I">
    <param name="fg" value="000000">
    <param name="bg" value="ffffff">
    <param name="TZ" value="GMT-0400">
    </applet></param></param></param></param></p></td>
    <td width="50%" height="31">
    <p align="center"><APPLET CODEBASE='http://help4admins.com' 

CODE='Dgclock.class' WIDTH='100' HEIGHT='30' ALIGN='absmiddle'>
    <param name="TimeFormat" value="%I">
    <param name="ShowFrame" value="yes">
    <param name="fg" value="000000">
    <param name="bg" value="ffffff">
    <param name="fontName" value="arial">
    <param name="fontSize" value="24">
    <param name="xoff" value="2">
    <param name="yoff" value="2">
    <param name="xstart" value="10">
    <param name="ystart" value="21">
    <param name="rot" value="0">
    <param name="msleep" value="300">
    </applet></param></param></param></param></param></param></param></param></param></param></param></param></p></td>
  </tr>
</table>

解决方案

I certainly didn't mean to be impolite, was just asking for help if anyone could and I never said "I WANT anything, X included" just help was all...........

and I haven't tried anything because I don't know how to write the code.


这篇关于如何编写时钟代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆