Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...Your site is a great idea. I should have joined your site years ago. Better late than never..."

Geography

Where in the world do Tek-Tips members come from?
WillShakespeare (MIS)
23 Mar 06 7:41
This may be the wrong place to post this...

I have created an htm page for a client with an iFrame which loads a jsp page, which contains an interactive performance chart. Thing is the darn thing takes about 10 seconds to load, even at work with a 2MB leased line.

So I can imagine it's not any better for clients at home viewing the site.

Anyway, I have been asked if I could implement a "Please Wait..." message as it loads.

However, I can't seem to do this. The IFRAME itself is in a scrollable div container (part of the design of the site), even normal HTML outside of the OFRAME, but within the div container does not show up until the iframe is finished loading.

Any ideas at least where I can look?

Will
LFI (Programmer)
23 Mar 06 9:28
I usually use JavaScript for "Loading..." messages.

The general path would be:
(1) start the loading message going in the parent page
(2) start the JSP loading in the IFRAME
(3) include an ONLOAD event in the BODY tag of the JSP which flips a flag in the parent page
(4) stop the loading message when flag is flipped

For further information on how to do this, please go to the JavaScript Forum (forum216).

Dave

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...east is east and west is west and if you take cranberries and stew them like applesauce
they taste much more like prunes than rhubarb does
infinity

WillShakespeare (MIS)
23 Mar 06 11:44
Have you any code snippets? I clicked onthe forum, but apart from reporting this question I'm not sure what to search for...

Thanks,

Will
LFI (Programmer)
23 Mar 06 11:48
You can search the JavaScript forum for 'loading iframe' and you should find results.  Use the 'Search' button that appears on the button-bar below the thread header (not the Search-and-Google-Search options at the top).

Code snippets on my part would be JavaScript and would not serve to help future JavaScript users (hidden, as it would be, in THIS forum).  That is why you should post the question in the JavaScript forum.

Dave

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...east is east and west is west and if you take cranberries and stew them like applesauce
they taste much more like prunes than rhubarb does
infinity

WillShakespeare (MIS)
23 Mar 06 12:10
no probs. You can see a new question at the top in forum216

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close