SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Feb 2000
    0 Post(s)
    0 Thread(s)
    i know that it's relatively easy to pre-load images in HTML, but has anyone ever tried pre-loading java? i have a page with two frames, and while one is playing, i would like to load the java class code for the other. has anyone any thoughts on this? thanx all for your input.

  2. #2
    Your Lord and Master, Foamy gold trophy Hierophant's Avatar
    Join Date
    Aug 1999
    Lancaster, Ca. USA
    1 Post(s)
    0 Thread(s)
    I have an idea but it would only work for 4th generation or higher browsers.

    What you can try is this. Place your applet inside a DIV which is absolutely positioned and using style sheets set the invisibility to hidden. In your applet tag enter an onLoad event that will call a function to make the DIV visible by setting its visibility to visible. This would work in the same principle as pre-loading images. If that doesn't work then make a "hidden" 1px by 1px frame. Preload your applets in that frame and once your ready for them you can copy the code from that frame into a DIV of your choice.

    Wayne Luke
    Internet Media Provider


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts