473,385 Members | 1,942 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Flashing message in an HTA

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
16 5401
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
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
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

"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
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
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
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
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
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
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
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
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
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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: rikesh | last post by:
Hi Does anyone know how to make a table row flash in a certain colour, depending on a DB value? I have a helpdesk application listing statuses of Agents and the calls queued on the system. ...
2
by: Phillip Parr | last post by:
I've made a chat page using php and javascript. Which is nice. But I'd really like the title bar to flash when a new message appears for users who have minimised the window, like msn. Does any body...
9
by: Phillip Parr | last post by:
Hello, I know there is no way in Javascript to make the task bar flash when your window is minimised. However, I found out recently that if a javascript alert is sent to netscape when the window...
2
by: Xam | last post by:
Hello Everybody Can you let me know of a javascript/dom routine that will automatically put the flashing cursor in the first text box in my form so that it is ready for entry rather than the...
4
by: Randy Harris | last post by:
Strange problem on A2K. A continuous form is getting some sort of strobe effect on several systems that have been upgraded to Windows XP (never saw the problem on Win2K). One of the text boxes is...
0
by: Wayne | last post by:
If I open a report using this code it "flashes" as it opens: DoCmd.OpenReport "NumbersByDate", acViewPreview DoCmd.Maximize This is probably to be expected. If I open the same report using...
5
by: Ian Stiles | last post by:
I have tried everything under the sun to get rid of horrible flashing and flickering that occurs on a CSharp form when the form hosts a TreeView or WebBrowser control and then you resize the form....
8
by: Ian Stiles | last post by:
If you have "Show window contents while dragging" turned on (Right-click desktop, Appearance, Effects) then you get horrible flashing and flickering on a CSharp form when the form hosts a...
2
by: DzemoT. | last post by:
how to make flashing label (or other text control) depending of label's text example: if label.text="Hello" then 'flash else 'dont flash end if tnx
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.