I may be in the completely the wrong place and this question may have been asked before. So I apologise in advance.

I am an amateur web designer and I have written a page that includes some JavaScript. This opens fine in firefox but not in Chrome. If I use the menu bar to navigate away from the page and then back again, then it will be fine, however not on initial visit.

Does anyone know how I can resolve this??

(I am teaching myself how to do these bits, so I dont understand a lot of the language).

Any/All help is greatly appreciated.