Go Back   CodingForums.com > :: Client side development > JavaScript programming > Ajax and Design

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 04-09-2009, 03:16 PM   PM User | #1
micci
New to the CF scene

 
Join Date: Apr 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
micci is an unknown quantity at this point
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>
micci is offline   Reply With Quote
Reply

Bookmarks

Tags
conflict, jquery, photo gallery, rss, spry

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 06:45 PM.


Advertisement
Log in to turn off these ads.