可能的java脚本问题 [英] possible java script question

查看:54
本文介绍了可能的java脚本问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好我有一个.net应用程序,显示几秒钟的起始页面,然后

然后转到另一个起始页面。我想知道是否有可能

对页面进行计数让用户知道它还剩下多少时间

转到另一页,谢谢。

-

Paul G

软件工程师。

Hi I have a .net application that shows the start page for a few seconds and
then goes to another start page. I was wondering if it would be possible to
put a count on the page to let the user know how much time is left before it
goes to the other page, thanks.
--
Paul G
Software engineer.

推荐答案

你如何重定向到第二页?


" Paul" <帕** @ discussions.microsoft.com>在消息中写道

新闻:1D ********************************** @ microsof t.com ...
How are you redirecting to the second page?

"Paul" <Pa**@discussions.microsoft.com> wrote in message
news:1D**********************************@microsof t.com...
您好我有一个.net应用程序,显示几秒钟的起始页面
然后转到另一个起始页面。我想知道是否有可能
对页面进行计数让用户知道剩下多少时间
它转到另一页,谢谢。
-
Paul G
软件工程师。
Hi I have a .net application that shows the start page for a few seconds
and
then goes to another start page. I was wondering if it would be possible
to
put a count on the page to let the user know how much time is left before
it
goes to the other page, thanks.
--
Paul G
Software engineer.



嗨感谢您的回复,我正在使用元标记如下重定向。

< meta http-equiv =" refresh"

content =" 4; url = http:// localhost / JT3TeamPortal / index .aspx">

-

Paul G

软件工程师。

" Peter Rilling"写道:
Hi thanks for the response, I am using the meta tag as follows to redirect.
<meta http-equiv="refresh"
content="4;url=http://localhost/JT3TeamPortal/index.aspx">
--
Paul G
Software engineer.
"Peter Rilling" wrote:
你如何重定向到第二页?

保罗 <帕** @ discussions.microsoft.com>在消息中写道
新闻:1D ********************************** @ microsof t.com。 ..
How are you redirecting to the second page?

"Paul" <Pa**@discussions.microsoft.com> wrote in message
news:1D**********************************@microsof t.com...
您好我有一个.net应用程序,显示几秒钟的起始页面
然后转到另一个起始页面。我想知道是否有可能
对页面进行计数让用户知道剩下多少时间
它转到另一页,谢谢。
-
Paul G
软件工程师。
Hi I have a .net application that shows the start page for a few seconds
and
then goes to another start page. I was wondering if it would be possible
to
put a count on the page to let the user know how much time is left before
it
goes to the other page, thanks.
--
Paul G
Software engineer.




<输入类型= QUOT;文本"大小= QUOT; 10" ID = QUOT;计时器" value =" 60">

< input type =" text"大小= QUOT; 5英寸ID = QUOT;计时器"值= QUOT; 60" style =" font-size:14pt"

name =" timer">

< script type =" text / javascript"><! -

var timeLeft = 60;

function setTimer()

{

if(timeLeft> 0 )timeLeft--;

document.getElementById(" timer")。value = timeLeft;

}

setInterval(" setTimer( )",1000);

// - >< / script>


-

HTH,


Kevin Spencer

Microsoft MVP

..Net开发人员

你可以带鱼去一辆自行车,

,但需要很长时间,

,自行车必须*要*改变。


"保罗" <帕** @ discussions.microsoft.com>在消息中写道

新闻:1D ********************************** @ microsof t.com ...
<input type="text" size="10" id="timer" value="60">
<input type="text" size="5" id="timer" value="60" style="font-size: 14pt"
name="timer">
<script type="text/javascript"><!--
var timeLeft = 60;
function setTimer()
{
if (timeLeft > 0) timeLeft--;
document.getElementById("timer").value = timeLeft;
}
setInterval("setTimer()", 1000);
//--></script>

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
You can lead a fish to a bicycle,
but it takes a very long time,
and the bicycle has to *want* to change.

"Paul" <Pa**@discussions.microsoft.com> wrote in message
news:1D**********************************@microsof t.com...
您好我有一个.net应用程序,显示几秒钟的起始页面
然后转到另一个起始页面。我想知道是否有可能
对页面进行计数让用户知道剩下多少时间
它转到另一页,谢谢。
-
Paul G
软件工程师。
Hi I have a .net application that shows the start page for a few seconds
and
then goes to another start page. I was wondering if it would be possible
to
put a count on the page to let the user know how much time is left before
it
goes to the other page, thanks.
--
Paul G
Software engineer.



这篇关于可能的java脚本问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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