Web Analytics Made Easy -
StatCounter spry and jQuery not working in the same page - CodingForum

Announcement

Collapse
No announcement yet.

spry and jQuery not working in the same page

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • spry and jQuery not working in the same page

    Hi,

    I am having problems integrating the two scripts (a photo gallery and a RSS feed). They both run fine on separate pages. I have tried changing the order in which they appear and also added the jQuery.noConflict(); but nothing seams to solve my problem. I really need all the help I can get, and you comments will be much appreciated.

    Thank you in advance,
    Micci

    this is the code:


    <script type="text/javascript" src="../js/jquery-1.3.js"></script>
    <script type="text/javascript" src="../js/jquery.cycle.all.js"></script>
    <script type="text/javascript">
    jQuery.noConflict();

    // Use jQuery via jQuery(...)
    jQuery(document).ready(function(){
    jQuery('#myslides').cycle({fx: 'fade',speed: 3000, timeout: 1000 });
    });
    </script>

    <script type="text/javascript" src="../includes/xpath.js"></script>
    <script type="text/javascript" src="../includes/SpryData.js"></script>

    <script type="text/javascript">
    var myRSS = new Spry.Data.XMLDataSet("temp_xml/photo_csr_home.xml","rss/channel/item");
    var myRSS2 = new Spry.Data.XMLDataSet("temp_xml/csr_right.xml","rss/channel/item");
    var myRSS3 = new Spry.Data.XMLDataSet("temp_xml/csr_left.xml","rss/channel/item");
    </script>
Working...
X