We're working on finishing this website on our staging server.
http://alias-dev.com/bidwelladvisors/
We're using Moo Tools BySlide accordion menu
http://www.byscripts.info/scripts/javascript-dynamic-accordion-menu

On initial page load the slider comes in slowly and one sees theb different elements separated in a column. Afterwords it is fine.
Anyone have any advice on how to make this load cleanly?
otherwise it's working quite well.
Thanks,
Dan

Recommended Answers

All 3 Replies

You really can't control what the page looks like until it finishes loading.

You really can't control what the page looks like until it finishes loading.

You can use a javascript in the header to cache the images before the page starts to display.

<SCRIPT LANGUAGE="JavaScript">
<!-- hide from non JavaScript Browsers

Image1= new Image(50,60)
Image1.src = "thing.gif"

Image2 = new Image(70,80)
Image2.src = "thing2.gif"

Image3 = new Image(90,100)
Image3.src = "thing3.gif"

// End Hiding -->
</SCRIPT>

You can use a javascript in the header to cache the images before the page starts to display.

<SCRIPT LANGUAGE="JavaScript">
<!-- hide from non JavaScript Browsers

Image1= new Image(50,60)
Image1.src = "thing.gif"

Image2 = new Image(70,80)
Image2.src = "thing2.gif"

Image3 = new Image(90,100)
Image3.src = "thing3.gif"

// End Hiding -->
</SCRIPT>

We'll try this. It was very kind to include the code-thanks!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.