I have a website consisting of two frames: Menu and Content. There is a catalog of external links in the Menu, and when they are clicked, they open in the frame, but since these are external sites, the download takes a long time, and the user sees a white screen and sometimes does not wait for the download.

I want some kind of activity to occur when clicking on a link in the main window, it can be a splash screen with a download, the word "Wait" or something else, but not a white screen for 5 seconds, I sometimes think that hung, and poke the link twice and wait, respectively, again.

I understand that you need some kind of script, but which one?
I googled words: prefetch, preload, prerender, but since I know little of the scripts, I still do not understand what to do.

    1 answer 1

    http://www.nikesh.me/blog/2010/05/ajax-style-loading-animation-in-css3-no-images/

    http://codepen.io/alextebbs/pen/tHhrz

    • one
      @Goshka Tarasov, Try to write more detailed answers. Explain what your statement is based on. - Nicolas Chabanovsky