I'm working on a site that relies on quite a bit of java script. The problem is, I'm not a java guru in the least.

I'm using jquery for a spy effect, and use GetResponse for email signups.

If I implement my GetResponse script, it breaks the area later in the page which depends on the jquery script. Pull the GetResponse script and it works just fine.

Problem is, I need them both. ;)

Any help?

The site is http://djubi.com/testserver checkout http://djubi.com/testserver/nogetresponsescript.php to see it work without the GetResponse script. You should be able to see all the source just fine.

Thanks everyone. jf

  • If someone here has answered your question, please remember to pick their answer, or update us if you got an answer on StackOverflow. Thanks NateDSaint about 7 years ago

2 answers

1
point

This question would likely get a better response over on stackoverflow.com since it has more to do with programming than design.

Here's a link to an answer to this question over there: using jQuery noConflict()

The lead developer of jQuery UI has a good post about using jQuery noConflict: Nemikor Blog: Using Multiple Versions of jQuery

Answered about 7 years ago by Akrikos
  • Thanks, I submitted the question over there, too. We'll see what turns up. Jacob about 7 years ago
0
points

Yeah you could get a more in-depth analysis of this on stackoverflow, but taking a quick look at it, it seems like your main issue is that the getresponse include has another jQuery include in it, so it looks like you're trying to include jQuery two different times.
I would try going to the location where the include is (http://www.getresponse.com/display_webform.js?wid=31568) and just copy/pasting that into your document.
Then, from there, get rid of the second jQuery include, since you've already got it up further in your document.

So take

<script type="text/javascript" src="http://www.getresponse.com/display_webform.js?wid=31568"><!--empty--></script>

And replace it with the code at that location, except take out the following line(s):

document.write( '<script type="text/javascript" src="http://www.getresponse.com/javascripts/common/jquery/jquery-1.3.2.min.js"></script>' );

If that doesn't work, you may need to go through and try taking out one line at a time until it does work, because there are a variety of things in that included script that may not work based on where it is included in your document. Good luck!

Answered about 7 years ago by NateDSaint
  • You're clearly on to something here. Thank you! Jacob about 7 years ago