dcsimg
www.webdeveloper.com
Results 1 to 2 of 2

Thread: how to pre load several iframes for faster loading

  1. #1
    Join Date
    Jul 2013
    Posts
    7

    how to pre load several iframes for faster loading

    When I click a button it shows an iframe(with 1 image), then when I click the button again,it loads a different iframe on the same location. This is slow. How to speed up?

    When we click and load images, it shows white for a fraction of second until the image loads when images change. I used a javascript to pre-load images and that 'white time' is not visible anymore coz it is fast. How to do the same with iframes so they will load fast on each click and the loading time is almost none.

  2. #2
    Join Date
    Oct 2010
    Location
    Versailles, France
    Posts
    1,277
    Display two iframes : one on the windows and a shadow iframe outside the windows (to preload the following page). Then switch this iframes with an onclick...

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles