jQuery cycle

Posted by Community Admin on 04-Aug-2018 19:28

jQuery cycle

All Replies

Posted by Community Admin on 28-Apr-2011 00:00

Hi I'm using Sitefinity 4.0 with jQuery 1.4.2 and jQuery cycle 2.99.  I'm getting this error in the FireBug console when I load the page:

$("#cycle-banner").cycle is not a function

However, I've found that if I remove the following line the page works fine:

<script src="/ScriptResource.axd?d=fZV473iMxRwJeK92ax_8r3T3f-9pNxeYksZwnWRb9CwPyBZwg-Hg7Cljnl_lcIdUXASFfTcV82mPJdi8fzpjCWMB-SiRjjEe4K12FI-969_Z7JKRsMB3yO0gZQzpYvT3cbzIkKLtTUNMl6SNhUPEP2WXq2IbYW3a1OTMOHf94OQtCwKtt7JvDSbYZ-j7zFuI0&amp;t=ffffffff82d3fa2f" type="text/javascript"></script>

Can someone please help?

Thanks!
Devin

Posted by Community Admin on 28-Apr-2011 00:00

I've had better luck putting my jquery plugins and code at the bottom of the page. For whatever reason sitefinity loads it's own copy of jquery in the middle of the markup and it tends to create problems.

Posted by Community Admin on 29-Apr-2011 00:00

Thanks Mark that seems to have done the trick!

Devin

This thread is closed