SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have just inserted a javascript world clock via a text doc and a CEWP. However now that this is functional on my page I cannot see my drop downs from the top nav bar. It was working fine before I put the javascript in. Any thoughts?


share|improve this question
What exactly ended up being the error here? I have literally this EXACT same issue. – Lando Feb 15 '13 at 21:21
Im assuming its the one marked below. I use a different clock now anyway, the original one was riddled with errors. – Charles Baker Feb 21 '13 at 13:37
up vote 4 down vote accepted

Could be a script conflict, error in the world clock that's not visible, CSS override, etc. One thing you can try is opening the Developer toolbar in IE (press F12) and click the script tab, then click Start Debugging. That should reload your page and throw any script errors if there are any.

However, chances are it's a CSS issue, does the world clock have it's own CSS references? Is it overriding any OOTB SharePoint classes? Can you point us to the script?

share|improve this answer
+1 it is either a conflict or an error. If it a conflict then you might want to scope your included javascript. – Hugh Wood Nov 19 '12 at 16:49
+1 A script error in the script you pasted, or a conflict would prevent any other JavaScript on the page from executing. – webdes03 Nov 19 '12 at 17:27
David, followed the debugging steps you outlined and the only thing it returned was this: "SCRIPT5009: '_spBodyOnLoadFunctionNames' is undefined Home2.aspx, line 150 character 1". Im not great with script, only very basic javascript so any help you could offer would be greatly appreciated. If not, thanks for your help already – Charles Baker Nov 20 '12 at 8:42
Remove the web part and debug again, see if this is an existent error or not. Sometimes SP will error for the fun of it :/ – David Lozzi Nov 20 '12 at 12:44

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.