Forums

 
  Support Forum  Modules  Engage: Rotator  No more jquery for my site
Previous Previous
 
Next Next
New Post 5/30/2009 7:39 AM
  neckheyn
7 posts
No Ranking


No more jquery for my site 
Modified By neckheyn  on 5/30/2009 7:39:35 AM)

Hi,

i recently purchased the Engage Rotator 2. I have a big problem now, because by adding any other kind of jquery functions to the pages, it will stop the rotator from working and also the rotator seems to prevent other jquery things to work. As soon as I link a current jquery version like this:

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js"></script>

Nothing works from there on. Do you have any solution to have the rotator work along with other jquery things? Thank you.

 
New Post 6/1/2009 9:07 AM
  Brian Dukes
498 posts
4th Level Poster


Re: No more jquery for my site 

Rotator 2.0 is using jQuery 1.2.6.  If you change your jQuery reference to use that version, does that address the issues that you are seeing?

Hope I can help,


Brian Dukes
Engage Software
St. Louis, MO
314.966.4000

The leading provider of DotNetNuke support, training and custom module development.
 
New Post 6/4/2009 3:10 AM
  neckheyn
7 posts
No Ranking


Re: No more jquery for my site 

 I'll give it a try. Thanks.

 
New Post 6/4/2009 3:20 AM
  neckheyn
7 posts
No Ranking


Re: No more jquery for my site 

 No, that does not work neither. Simply linking the jquery code in my skin will stop the engage rotator from working. As soon as I paste this into my skin:

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.js"></script>

It won't work anymore. Do you have an idea how to fix this issue? Thanks.

 
New Post 6/4/2009 8:52 AM
  Brian Dukes
498 posts
4th Level Poster


Re: No more jquery for my site 

On a test site, just adding a jQuery reference doesn't stop the module.  Do you have a site with this issue that I could look at?

Hope I can help,


Brian Dukes
Engage Software
St. Louis, MO
314.966.4000

The leading provider of DotNetNuke support, training and custom module development.
 
New Post 6/4/2009 10:07 AM
  neckheyn
7 posts
No Ranking


Re: No more jquery for my site 
Modified By neckheyn  on 6/4/2009 10:08:40 AM)

 Yes, I'm testing on this page here: http://fdp.neck-heyn.de/Sonstiges/test/tabid/108/language/de-DE/Default.aspx

We are using this here as a testimonial rotator on the right side of the page.

Notice: The fancyZoom function doesn't bug the rotator, neither does the embeded FancyZoom Script. I could uncomment that part and it still won't work. But when I uncomment the jquery script link, the rotator works again. You can check out the same rotator without the jquery script link here: http://fdp.neck-heyn.de/Kontakt/Ansprechpartner/tabid/101/language/en-US/Default.aspx

Thanks

 
New Post 6/4/2009 11:03 AM
  Brian Dukes
498 posts
4th Level Poster


Re: No more jquery for my site 

Alright, the issue here is one of order.  Basically, I load jQuery, then the Rotator JavaScript runs and creates a plugin (called jQuery.cycle), then your jQuery runs, and erases the plugin I've added to jQuery.

In order to fix the problem, there are a couple of options.  First, you could utilize PageBlaster to move your jQuery scripts to the <head> tag of the page (before my plugin runs).  You could also change your script reference, so that it checks if jQuery has been loaded before loading itself.  If you want to do that option, it should look something like this:

<script type="text/javascript">

    if (typeof (jQuery) === 'undefined') {

        document.write('<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.js" type="text/javascript"><\/script>');

    }

</script>

<script type="text/javascript">

    jQuery.noConflict();

</script>

And, if you don't really need jQuery on all pages (that have that skin loaded, at least), you could try putting the above code, or even your original plain script reference on each page individually, as it needs jQuery. Put the tag into the pages Page Header Tags field in the page settings, and that should also fix the script loading order issue you're seeing now.

Hope that helps,


Brian Dukes
Engage Software
St. Louis, MO
314.966.4000

The leading provider of DotNetNuke support, training and custom module development.
 
New Post 6/23/2009 7:12 AM
  neckheyn
7 posts
No Ranking


Re: No more jquery for my site 

 Ok, thanks very much. I will try that. Just came back from a longer vacation. That's why I didn't answer right away. 

Great Support

 
Previous Previous
 
Next Next
  Support Forum  Modules  Engage: Rotator  No more jquery for my site

Purchase

Please click here to buy now.
Payment will be processed via credit card or PayPal.

Please click here to buy now.
Payment will be processed via credit card or PayPal.

Test Drive!

Want to find out how it works? Visit our demo site to see the modules in actions!

Want to find out how it works? Visit our demo site to see the modules in actions!

Subscribe

Sign up for our newsletter and get the latest product updates!

Sign up for our newsletter and get the latest product updates!

Online Support

Powered by DotNetNuke