在HTA中闪烁消息 [英] Flashing message in an HTA

查看:85
本文介绍了在HTA中闪烁消息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好。


我发现以下脚本方便用于HTA:

http://www.microsoft.com/technet/scr...8/hey0130 .mspx


我的问题是......如何才能显示消息

(" Searching ....")每隔几秒闪一次,而它的处理是b
;然后在它结束时停止闪烁?


只想稍微修饰我的HTA。任何建议都会非常感激。


谢谢!


- 戴夫

解决方案

2月15日上午9:33,Highlander< tron9 ... @ msn.comwrote:


只想稍微修饰我的HTA。任何建议都会非常值得赞赏。



使用Flash。使用CS3,这是一个天堂般的匹配应用程序在网上

.


2月15日,14:33, Highlander< tron9 ... @ msn.comwrote:


我发现以下脚本方便用于HTA:


首先,HTA是红鲱鱼。 HTA'是邪恶的,最好避免。什么
你要求字面意思的
可以以符合网络的方式完成,

而不需要那种死灵法术。 Web技术适用于HTA

好​​吧,一些HTA技术(谢天谢地!)禁止网络使用。


找一个好的JavaScript教程。 (M


oft不是 - 他们太忙了

推动专有调整,而不是标准)。


学习两件事:如何通过动态CSS做简单的视觉效果

更改,并使用JavaScript的.SetTimeout()方法来驱动内容

的间隔。剩下的只是练习和编写脚本的一部分。


如果你遇到困难,试试comp.lang.javascript


不要使用VBScript。不要用它来进行网络工作(客户端或

服务器端)。它是一种丑陋的语言,它可以做任何事情,JavaScript或

JScript可以做得更好。但大多数情况下,使用J(ava)脚本给你

一些希望在其他浏览器上运行,客户端VBScript限制

你和你的用户只能在IE浏览器中使用。 />

Flash对此来说太荒谬了。


Hello all.

I''ve found the following script handy for usage with an HTA:

http://www.microsoft.com/technet/scr...8/hey0130.mspx

My question is...how can I cause the message displayed
("Searching ....") to flash every couple seconds while it''s
processing; and then stop flashing when it''s finished?

Just want to spruce up my HTA a bit. Any suggestions would be greatly
appreciated.

Thanks!

- Dave

解决方案

On Feb 15, 9:33 am, Highlander <tron9...@msn.comwrote:

Just want to spruce up my HTA a bit. Any suggestions would be greatly
appreciated.

Use Flash. With CS3 it is a match made in heaven for applications on
the web.


On 15 Feb, 14:33, Highlander <tron9...@msn.comwrote:

I''ve found the following script handy for usage with an HTA:

Firstly HTA is a red-herring. HTA''s are evil and best avoided. What
you asked for literally can be done in a web-compliant fashion,
without needing that sort of necromancy. Web techniques apply to HTAs
OK, some HTA techniques are (thankfully!) forbidden for web use.

Find a good JavaScript tutorial. (M


oft isn''t - they''re too busy
pushing proprietary tweaks, not standards).

Study two things: How to do simple visual effects by dynamic CSS
changes, and using JavaScript''s .SetTimeout() method to drive things
with intervals. The rest is just a bit of practice and legwork in
coding your scripts.

If you get stuck, try asking in comp.lang.javascript

Don''t use VBScript. Don''t ever use it for web work (client-side or
server-side). It''s an ugly language, anything it can do, JavaScript or
JScript can do better. Mostly though, using J(ava)Script gives you
some hope of working on other browsers, client-side VBScript limits
you and your users to IE only.

Flash would be ridiculous overkill for this.


这篇关于在HTA中闪烁消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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