Page Load Order

Permalink
HI Team..

I have an interesting question for you, I have the latest version of concrete5 running. Now the site runs fine (sort off) between different browsers I get different load times, even after clearing local cookies. I have also used some page load tools which tell me its all due to Images which are download for the Slideshow. (slider overlay addon) Take much longer than the rest of the site. Now I expected this as the customer wants to upload his HD pictures direct to the slideshow. Which I have set-up to scale and cache a copy for the slider.

Now this is all fine , But I noticed that chrome for example loads the slideshow images 1st then the nav and rest of page.. where as Opera loads the whole page before displaying.

Is it possible to force the slideshow to load last on the page so that the nav bar.. small logos Site name load 1st?

Or even that the 1st image in the slide show loads but waits for the page to finishing loading before downloading the rest?

Is this possible at all .. or am i stuck with strange load orders depending what browser you use?

Note: The Slide block is at the top of the page (1st block) which is why i guess it tries to load 1st.

Thanks for any assistance/advise/help/or cup of tea

Regards
Carl Lee

carl101lee
 
jero replied on at Permalink Reply
jero
You could possibly arrange your page such that the slideshow is physically last in the code, but with cunning CSS etc make it appear at the top or wherever it neeeds to be.

You might also check that any slideshows etc are using jQuery inside a $(document).ready(function() { wrapper, thereby ensuring that all images are loaded before any animation starts. I came across a free slider the other day that didn't do that, which lead to odd behaviour in Chrome.

Other than that, no, not really.
JohntheFish replied on at Permalink Reply
JohntheFish
I have a 'Blocks by AJAX' addon currently in the prb. It includes a template for the slideshow and is designed, amongst other things, specifically to overcome this sort of issue.