www.uburst.com www.uburst.com

"Applets take a long time to load..."

Go back to the LobbyClick here to Go Back to Main ListingClick here to see helpClick here to Search the Forum

Applets are not being displayed
Forum Type: Public
Moderator: edmunds
Time Zone: EST
Printer Friendly Format
Original Message
 
"Applets take a long time to load..."
Posted by Joeseph on Apr-12-00 at 10:23 AM (EST)
Is it even possible with Applets to add a "Please wait while loading..." to the grey area while it loads?
Click to Send Alert Message to the Administrator Click to edit this messageClick to EMail Click here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents

 Table of Contents

RE: Applets take a long time to loa..., Bill Weiner, Apr-12-00, (1)
The last option, Joeseph, Apr-12-00, (2)
RE: The last option, Bill Weiner, Apr-13-00, (3)

 

 
Click here to goto Click here to goto the Lobby
Messages in this discussion
 
1 . "RE: Applets take a long time to load..."
Posted by Bill Weiner on Apr-12-00 at 11:10 AM (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.

Remove this Message: Administrator and Moderator onlyClick to Send Alert Message to the Administrator Click to edit this messageClick here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents
 
2 . "The last option"
Posted by Joeseph on Apr-12-00 at 03:26 PM (EST)
The third option intrigues me- can you give an example of some HTML?
Remove this Message: Administrator and Moderator onlyClick to Send Alert Message to the Administrator Click to edit this messageClick to EMail Click here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents
 
3 . "RE: The last option"
Posted by Bill Weiner on Apr-13-00 at 05:37 AM (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.

Remove this Message: Administrator and Moderator onlyClick to Send Alert Message to the Administrator Click to edit this messageClick here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents


Archive This Thread: Admin and Moderator OnlyRemove This Thread: Admin and Moderator Only
Click here to goto Click here to goto the Lobby

 

 

 

 

 

 

 

 

 

 

 

 
Questions or problems regarding this bulletin board should be directed to Webmaster
©1997-1999 by DCScripts. All rights reserved.