uShop English (U.S.) for 179!

uStorekeeper English (U.S.) for 149!

 Products
       uTest
       uReserve
       uShop
       uStorekeeper
       uGolf
       uDirectory
       uSignIn
 Tech Support
       Support Policy
       Knowledge Base
            uTest
            uReserve
            uShop
            uStorekeeper
            uGolf
            uDirectory
            uSignIn
       Documentation
       Reference Sites
 Legal
       Software Piracy
       Legal Notices
       Privacy Policy
       Licensing
 Miscellaneous
       Reseller Info
       Contact Us
       Site Map
Applets take a long time to load...

Knowledge Base Lobby : uShop Support Conference : Applets are not being displayed
Dec-16-17 02:20 AM EST
Original Message
Applets take a long time to load...
Author Joeseph on 04-12-2000 at 10:23 (EST)
Is it even possible with Applets to add a "Please wait while loading..." to the grey area while it loads?
E-MAIL AUTHOR | TABLE OF CONTENTS

Table Of Contents
  RE: Applets take a long time to load... Bill Weiner, 2000-04-12 11:10:24 (1)
            The last option Joeseph, 2000-04-12 15:26:30 (2)
                 RE: The last option Bill Weiner, 2000-04-13 05:37:09 (3)

Messages In This Discussion
         1. RE: Applets take a long time to load...
        Author Bill Weiner on 04-12-2000 at 11:10 (EST)
Most of the applets are under 20K so they should be loading pretty quick, however, if you really want to display some sort of a "please wait" message, then you may be able to setup something by utilizing the JavaScript function "onLoad" in the BODY portion of your HTML. I believe that function is called once everything on a page loads...so you can try coming up with something there. (FYI: The "onLoad" function is just standard JavaScript stuff...totally independent of uShop).

Otherwise, you can trick the applets to load quicker by putting an applet...like the uShopCart applet on one of your main website pages. By just having that applet on a page that loads before the customer is even in the store will take care of loading the uShopLibrary.class, the uShopProducts.class, and several other general classes ahead of time. Set the WIDTH and HEIGHT of the applet to 2 by 2...and the applet will be virtually invisible.

And one last option is to put the message "please wait" right in between the area on your page where you are defining an applets parameters. This will display that text until the applet starts. Note, however, that I don't think that will work on all browsers.
TABLE OF CONTENTS
                 2. The last option
                Author Joeseph on 04-12-2000 at 15:26 (EST)
The third option intrigues me- can you give an example of some HTML?
TABLE OF CONTENTS
                         3. RE: The last option
                        Author Bill Weiner on 04-13-2000 at 05:37 (EST)
What I was meaning was to do something like this in your HTML:

APPLET CODE = "uShopInputButton1.class" WIDTH=100 HEIGHT=35
PARAM NAME=id VALUE="B00001"
Please Wait....
PARAM NAME=name VALUE="Romeo & Juliet"
PARAM NAME=description VALUE="hard cover"
PARAM NAME=weight VALUE="1"
PARAM NAME=price VALUE="$ 19.95"
PARAM NAME=background VALUE="153,204,255"
PARAM NAME=popupwindow VALUE="NO"
/APPLET

Notice where I put the "Please wait..." within the applets HTML.

Anyway, I hadn't tried that in a long time...and just testing that method now with the latest versions of Netscape and IE...doesn't seem to work. That is, the grey (or white) box appears to just hide the message while the applets loads anyway... So I guess you'll have to go with methods 1 or 2. Otherwise, we'll see what we can do about building some kind of "please wait while loading" indicator into the next release.

TABLE OF CONTENTS

© 2003 Microburst Technologies, Inc.