Dynadot Aftermarket: discover domain gems worth investing in. Visit our aftermarket.

[Resolved] Loading order

SpaceshipSpaceship
SpaceshipSpaceship
Namecheap AuctionsNamecheap Auctions
Watch

DJ-Sound

VIP Member
Impact
32
loading order

I need some assistance, how do I get a headline on a rather large sales page to load before anything else does?

Some told me look into onload= functions in the body tag, no luck yet :-/

any help is appreciated!

Thanks,
-Ryan
 
0
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
erm body onload won't help at all. onload will only execute after all the html in the body has loaded, this is the oposite of what you want.

Basically the time at which elments are loaded is dependant on the browser but in general they use the following rule.

The page is rendered in the order of the HTML except for images which load separately.
 
0
Close
Any ideas?
 
0
Close
it will never load before anything else does but you can bring it up the chain by using things like css positioning which helps you have the content of the html page in the order you would like it to load.

What is the problem at the moment does your page not show until everything is loaded or is it a case that a lot of other stuff loads before the headline?
 
0
Close
The page is a massive sales letter that takes almost a min to load on a 56k connection. So we had to have the headline load before the rest to give visitors something to read.

The fix was simply making the headline a image, pre-loading the image in javascript and that seems to work great.

Thanks,
-Ryan
 
0
Close
DomainEasy: flexible LTO options. Close more domain deals with financing.

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

Search: choose where to search from the All tab
Open the search at the top of any page. On the All tab, the list next to the search box lets you choose where to search: everything, all...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back