The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Order of loading
I have a header that is very demanding when it comes to file size, and since it is not vital to the rest of the page, I would like it to load last. How would I go about doing this?
|
#2
|
||||
|
||||
I think you'd better explain in a bit more detail exactly what you're trying to do.
|
#3
|
|||
|
|||
Because the header is high in size, it is holding up the rest of the page(only the headers from a quick glance) from loading on slow connections. Since the images of the header I am referring to is only extra, I would like it to load after the rest of the forum.
|
#4
|
||||
|
||||
You could do it with Javascript, but then it would break for non-js browsers. You could put it in the footer, and move it after page load (with Javascript), or you could not include it in the page, and load it after pageload with Javascript.
But before doing all that, I'd seriously try to bring the header image filesize down to a reasonable size first. How big is the file? |
#5
|
|||
|
|||
place the header in the footer, then use CSS to move it to the top, and make an empty div with the height/width in the header where your "footer-header" will overlay.
|
#6
|
||||
|
||||
The header is the first thing a visitor sees .. this is the spot where your brand is visible to the world. Why would you want to make it the last thing to load?
I suggest rethinking your "header" options. You will get more specific solutions if you post the URL? |
#7
|
|||
|
|||
<a href="http://www.pollama2.pollama.com" target="_blank">http://www.pollama2.pollama.com</a>
I can't exactly tell for sure how bad it is as my internet is messed up. I have plans to optimize it some though. |
#8
|
|||
|
|||
Try this:
http://www.cobydelaney.com/test/test.htm Download the images from here. I optimised them and combined them for you. 344Kb down to 39Kb. |
#9
|
|||
|
|||
How did you do that?
|
#10
|
|||
|
|||
actually, the original images were not optimized for the web... that's the only problem you had...
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|