当用户访问我的网站时,在asp.net网页上显示倒数计时器的示例代码 [英] Sample Code For Displaying a CountDown timer in an asp.net web page when a user visits my website

查看:43
本文介绍了当用户访问我的网站时,在asp.net网页上显示倒数计时器的示例代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

网页shuold在页面的一侧显示一个计时器,指示自用户登录以来的系统时间(以递增顺序,例如,我登录12:00:05 ....).另一边是倒计时计时器,例如某个特定事件(例如我的婚礼).

The web page shuold show a timer on one side of the page indicating the system time since the user had logged in(in incremental order e.g i login 12:00:05.....). on the other side is the countdown timer to e.g a particular event(my wedding).

推荐答案

没有人会把代码交给您.

您需要的是在网页中需要JavaScript代码,而不是C#代码.

看看
Noone is going to just hand over code to you.

What you want would require JavaScript code in the web page, not C# code.

Take a look at these[^] little components.


这篇关于当用户访问我的网站时,在asp.net网页上显示倒数计时器的示例代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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