By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,880 Members | 1,817 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,880 IT Pros & Developers. It's quick & easy.

Flashing message in an HTA

P: n/a
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
Feb 15 '08 #1
Share this Question
Share on Google+
16 Replies


P: n/a
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.

Feb 15 '08 #2

P: n/a
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.
Feb 15 '08 #3

P: n/a
On 15 Feb, 17:37, Highlander <tron9...@msn.comwrote:
But this doesn't work. I believe it's an issue with the BLINK element
not working in IE 6.
The code to do blinking is pretty simple.

It's just that people who think this is a good idea find it hard to
type, after c.i.w.a.h have got to them and broken their fingers.
Feb 15 '08 #4

P: n/a

"Highlander" <tr******@msn.comwrote in message
news:44**********************************@s8g2000p rg.googlegroups.com...
On Feb 15, 11:17 am, "Jonathan N. Little" <lws4...@central.netwrote:
>
Thanks for all the responses.

I was hoping there was something simple like:

<blink>flashing text here</blink>

But this doesn't work. I believe it's an issue with the BLINK element
not working in IE 6.

Thanks for the code Jonathan, but it doesn't work on my machine. Plus,
that amount of code is overkill for simply wanting to make some text
flash. I think I'll shelf this idea.

Thanks again.

- Dave
>
Don't cave so fast. After you do it once, you will have it for posterity..

Feb 16 '08 #5

P: n/a
MikeB wrote:
I was hoping there was something simple like:

<blink>flashing text here</blink>
Hey, I'll do the blinking around here.

--
Blinky
Killing all posts from Google Groups
The Usenet Improvement Project: http://improve-usenet.org
Blinky: http://blinkynet.net
Feb 16 '08 #6

P: n/a
In article <#Y*************@TK2MSFTNGP04.phx.gbl>,
"MikeB" <m.byerleyATVerizonDottieNettiewrote:
>
"Highlander" <tr******@msn.comwrote in message
news:44**********************************@s8g2000p rg.googlegroups.com...
On Feb 15, 11:17 am, "Jonathan N. Little" <lws4...@central.netwrote:

Thanks for all the responses.

I was hoping there was something simple like:

<blink>flashing text here</blink>

But this doesn't work. I believe it's an issue with the BLINK element
not working in IE 6.

Thanks for the code Jonathan, but it doesn't work on my machine. Plus,
that amount of code is overkill for simply wanting to make some text
flash. I think I'll shelf this idea.
What about a small animated gif? Think about its natural
advantages: for little code, it flashes and annoys, it does not
resize and it is a bit of a bother to implement. <g>

--
dorayme
Feb 16 '08 #7

P: n/a
On Feb 15, 7:44 pm, dorayme <doraymeRidT...@optusnet.com.auwrote:
In article <#Y6S$IDcIHA....@TK2MSFTNGP04.phx.gbl>,
<blink>flashing text here</blink>
What about a small animated gif? Think about its natural
advantages: for little code, it flashes and annoys, it does not
resize and it is a bit of a bother to implement. <g>
Or Flash!
Feb 16 '08 #8

P: n/a
In article
<b8**********************************@e6g2000prf.g ooglegroups.com
>,
Travis Newbury <Tr***********@hotmail.comwrote:
On Feb 15, 7:44 pm, dorayme <doraymeRidT...@optusnet.com.auwrote:
In article <#Y6S$IDcIHA....@TK2MSFTNGP04.phx.gbl>,
<blink>flashing text here</blink>
What about a small animated gif? Think about its natural
advantages: for little code, it flashes and annoys, it does not
resize and it is a bit of a bother to implement. <g>

Or Flash!
Ha! Got you to admit the disadvantages! I knew this would flush
you out and trap you finally, you slippery old dog.

--
dorayme
Feb 16 '08 #9

P: n/a
I don't know if this is the best option, but what
about a simple animated GIF with some frames
text and some frames blank? Then you could just
show the GIF or hide it.

Paint Shop Pro has an Animation Shop that can
do that fairly simply. I expect there are also other
programs available.

And yes, BLINK is a Netscape tag that's almost
never used because, like MARQUEE, it's irritating.

You might also try limiting the groups you post
to next time. You've set off a barage of inflammatory
wiseacreing by mentioning HTAs in a non-VBS group. :)

Feb 16 '08 #10

P: n/a
In article <uB**************@TK2MSFTNGP04.phx.gbl>,
"mayayana" <ma**********@mindXXspring.comwrote:
And yes, BLINK is a Netscape tag that's almost
never used because, like MARQUEE, it's irritating.
Did you say Marquee? Interested in car races?

--
dorayme
Feb 16 '08 #11

P: n/a
On 2008-02-16, MikeB <wrote:
>
"Highlander" <tr******@msn.comwrote in message
news:44**********************************@s8g2000p rg.googlegroups.com...
On Feb 15, 11:17 am, "Jonathan N. Little" <lws4...@central.netwrote:
>>

Thanks for all the responses.

I was hoping there was something simple like:

<blink>flashing text here</blink>

But this doesn't work. I believe it's an issue with the BLINK element
not working in IE 6.

Thanks for the code Jonathan, but it doesn't work on my machine. Plus,
that amount of code is overkill for simply wanting to make some text
flash. I think I'll shelf this idea.
There is also text-decoration: blink in CSS, but fortunately I think
no-one supports it.
Feb 16 '08 #12

P: n/a
On Feb 15, 8:54 pm, dorayme <doraymeRidT...@optusnet.com.auwrote:
Or Flash!
Ha! Got you to admit the disadvantages! I knew this would flush
you out and trap you finally, you slippery old dog.
You failed to read the thread, I sad Flash a long long time ago....
Feb 16 '08 #13

P: n/a
Ben C wrote:
There is also text-decoration: blink in CSS, but fortunately I think
no-one supports it.
Gecko and Opera do, apparently IE does not.

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Feb 16 '08 #14

P: n/a
Well bust mah britches and call me cheeky, on Sat, 16 Feb 2008 13:41:20 GMT
Travis Newbury scribed:
On Feb 15, 8:54 pm, dorayme <doraymeRidT...@optusnet.com.auwrote:
Or Flash!
Ha! Got you to admit the disadvantages! I knew this would flush
you out and trap you finally, you slippery old dog.

You failed to read the thread, I sad Flash a long long time ago....
One wouldn't really have to read the thread to figure that...

--
Neredbojias
Riches are their own reward.
Feb 16 '08 #15

P: n/a
In article
<1c**********************************@28g2000hsw.g ooglegroups.com
>,
Travis Newbury <Tr***********@hotmail.comwrote:
On Feb 15, 8:54 pm, dorayme <doraymeRidT...@optusnet.com.auwrote:
Or Flash!
Ha! Got you to admit the disadvantages! I knew this would flush
you out and trap you finally, you slippery old dog.

You failed to read the thread, I sad Flash a long long time ago....
You mean that earlier on you admitted that Flash was (to quote
the words your reply was to) "for little code, it flashes and
annoys, it does not resize and it is a bit of a bother to
implement". I am sorry I missed that earlier admission.

--
dorayme
Feb 16 '08 #16

P: n/a
ekkehard.horner schrieb:
Paul Randall schrieb:
[...]
wrong! no elements allowed between </headand </body>
wrong! no elements allowed between </headand <body>
[...]
Not my day, obviously!
Feb 18 '08 #17

This discussion thread is closed

Replies have been disabled for this discussion.