Hi there, i'm trying to use the cycle plugin on my wordpress site. Is
there anything i'm unaware of relating to cycle and and jQuery?

I've used the cycle plug-in quite a lot, but this is the first time i
use it within a wordpress install.

As you would, both jquery and cycle are loaded subsequently after the
css in the head of the document:

                <?php wp_enqueue_script('jquery'); ?>
                <?php wp_enqueue_script('cycle','wp-content/themes/MBC/js/
jquery.cycle.all.js','jquery'); ?>

I'm using wp's enqueue_script tag, i've also tried inclusing them with
<script>

And here is the jQuery to trigger the plug-in :

                <script type="text/javascript">
                jQuery(document).ready(function(){
                        jQuery("#post").cycle('fade');
                });
                </script>

On page load nothing happens and firebug returns

jQuery("#post").cycle is not a function

My guess is that its just not loading the plug-in itself. Is there a
way to check that? Or any ideas on why this is hapening?

Here is the link to the page : http://www.mybeautifulcity.co.uk/newsite/

Thanks in advance

Reply via email to