1

I am trying to make thecourtyardstanmer.co.uk work in IE7 and IE8 but I am having trouble as there are no console errors at all.

Could there be a reason JavaScript would not function but display nothing in console?

I have tried looking for trailing commas in objects and arrays as I know IE hates this but cant find any.

EDIT:

The one thing I do get in console is [cycle] terminating; zero elements found by selector which is wrong as there are elements in the cycle.

Thanks.

9
  • try IETester Commented Mar 9, 2012 at 11:37
  • Do you have script debugging enabled in the IE options? Commented Mar 9, 2012 at 11:39
  • @Steve there was some messages in the console, so I presume yes. But no errors. Where can I check? Commented Mar 9, 2012 at 11:40
  • In the menu : Tools -> Internet Options -> Advanced Commented Mar 9, 2012 at 11:41
  • If you hit F12, the developer console should also appear but i don't know if you have to have script debugging enabled too. Commented Mar 9, 2012 at 11:49

2 Answers 2

2

[cycle] terminating; zero elements found by selector is being written (twice) to the console. and is being generated by the jQuery cycle plugin.

It could all be caused by your use of new HTML5 semantic markup but i cant see any kind of HTML5Shiv in order for these elements to render correctly in older version of IE, if they dont render properly it could be completly screwing the DOM structure causing your selectors to fail

Sign up to request clarification or add additional context in comments.

3 Comments

Thanks, I have put the shiv in, and it seems to have made a big difference in IE7 but none in IE8. I think you are along the right lines as both cycle plugins do have elements in them
@Jleagle Checking your website now youve added the shiv im not seeing anymore console messages and it behaves identically in IE8 and IE9 now and functions in IE7 (although the top navigation menu needs some styling adjustments). N
Thanks, IETester was playing up on me and not refreshing correctly, so didnt realise it was fixed.
0

check this out:

http://forum.jquery.com/topic/cycle-plugin-cycle-terminating-zero-elements-found-by-selector

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.