astro-soton / astroweb

Developing the Southampton astronomy department website
1 stars 6 forks source link

Page shift (about us) #8

Closed pboorm closed 8 years ago

pboorm commented 8 years ago

Love the look of the new website! Just a minor thing - if you click on 'Work/Study here', 'Internal' or 'People & contact', the page is slightly shifted so that 'ABOUT US' appears underneath the main banner.

jhmatthews commented 8 years ago

Is this fixed now @pboorm ? A bit concerned by loading time of the javascript header at the moment too.

chrisfrohmaier commented 8 years ago

So the java i've put in isn't all to do with the header. There is a part of the java which holds the page until all the content has loaded. If you remove that part of the java, then yes, the page loads quicker but it doesn't have any of the css styling which suddenly pops in. This doesn't look good. The poor load times are because a lot of our content is poorly managed for size and so it takes a while for everything to load. I don't know enough about web development to optimise this and it was the only solutions i could find.

Feel free to change some of this to make it load faster, and remove the java.

pboorm commented 8 years ago

Yep, the problem's now fixed. Thanks!