Flashing message in an HTA

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Highlander

    Flashing message in an HTA

    Hello all.

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



    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
  • Travis Newbury

    #2
    Re: Flashing message in an HTA

    On Feb 15, 9:33 am, Highlander <tron9...@msn.c omwrote:
    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.

    Comment

    • Andy Dingley

      #3
      Re: Flashing message in an HTA

      On 15 Feb, 14:33, Highlander <tron9...@msn.c omwrote:
      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.javas cript

      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.


      Comment

      • Andy Dingley

        #4
        Re: Flashing message in an HTA

        On 15 Feb, 17:37, Highlander <tron9...@msn.c omwrote:
        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.

        Comment

        • MikeB

          #5
          Re: Flashing message in an HTA


          "Highlander " <tron9901@msn.c omwrote in message
          news:44fe76be-0c7a-484b-b3ad-48d17fc78c43@s8 g2000prg.google groups.com...
          On Feb 15, 11:17 am, "Jonathan N. Little" <lws4...@centra l.netwrote:
          >
          Thanks for all the responses.

          I was hoping there was something simple like:

          <blink>flashi ng 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..





          Comment

          • Blinky the Shark

            #6
            Re: Flashing message in an HTA

            MikeB wrote:
            I was hoping there was something simple like:
            >
            <blink>flashi ng 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

            Comment

            • dorayme

              #7
              Re: Flashing message in an HTA

              In article <#Y6S$IDcIHA.74 8@TK2MSFTNGP04. phx.gbl>,
              "MikeB" <m.byerleyATVer izonDottieNetti ewrote:
              >
              "Highlander " <tron9901@msn.c omwrote in message
              news:44fe76be-0c7a-484b-b3ad-48d17fc78c43@s8 g2000prg.google groups.com...
              On Feb 15, 11:17 am, "Jonathan N. Little" <lws4...@centra l.netwrote:
              >
              >
              Thanks for all the responses.
              >
              I was hoping there was something simple like:
              >
              <blink>flashi ng 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

              Comment

              • Travis Newbury

                #8
                Re: Flashing message in an HTA

                On Feb 15, 7:44 pm, dorayme <doraymeRidT... @optusnet.com.a uwrote:
                In article <#Y6S$IDcIHA... .@TK2MSFTNGP04. phx.gbl>,
                <blink>flashi ng 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!

                Comment

                • dorayme

                  #9
                  Re: Flashing message in an HTA

                  In article
                  <b8709f28-0081-4665-9ac9-1850726dd57a@e6 g2000prf.google groups.com
                  >,
                  Travis Newbury <TravisNewbury@ hotmail.comwrot e:
                  On Feb 15, 7:44 pm, dorayme <doraymeRidT... @optusnet.com.a uwrote:
                  In article <#Y6S$IDcIHA... .@TK2MSFTNGP04. phx.gbl>,
                  <blink>flashi ng 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

                  Comment

                  • mayayana

                    #10
                    Re: Flashing message in an HTA

                    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. :)



                    Comment

                    • dorayme

                      #11
                      Re: Flashing message in an HTA

                      In article <uBudKPEcIHA.11 84@TK2MSFTNGP04 .phx.gbl>,
                      "mayayana" <mayaXXyana1a@m indXXspring.com wrote:
                      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

                      Comment

                      • Ben C

                        #12
                        Re: Flashing message in an HTA

                        On 2008-02-16, MikeB <wrote:
                        >
                        "Highlander " <tron9901@msn.c omwrote in message
                        news:44fe76be-0c7a-484b-b3ad-48d17fc78c43@s8 g2000prg.google groups.com...
                        On Feb 15, 11:17 am, "Jonathan N. Little" <lws4...@centra l.netwrote:
                        >
                        >>
                        >
                        Thanks for all the responses.
                        >
                        I was hoping there was something simple like:
                        >
                        ><blink>flashin g 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.

                        Comment

                        • Travis Newbury

                          #13
                          Re: Flashing message in an HTA

                          On Feb 15, 8:54 pm, dorayme <doraymeRidT... @optusnet.com.a uwrote:
                          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....

                          Comment

                          • Jonathan N. Little

                            #14
                            Re: Flashing message in an HTA

                            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

                            Comment

                            • Neredbojias

                              #15
                              Re: Flashing message in an HTA

                              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.a uwrote:
                              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.

                              Comment

                              Working...