PDA

View Full Version : call two external googleapis.com scripts on one page?



mystic7
09-06-2009, 08:25 PM
1) Script Title: jquery magnify/smoothmenu scripts

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/imagemagnify.htm

3) Describe problem: I'm having a problem including two scripts which rely on an external link to a .js file on googleapis.com.

Both work fine separately, and the smoothmenu script works fine even with the jquery magnify script installed on the page, but the jquery magnify script won't work with the smoothmenu script installed. It's only the external link to


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

that stops the magnify script from working.

So, long story short, is there a way to run two scripts that call an external file from googleapis.com on the same page?

mystic7
09-07-2009, 10:49 AM
Nevermind, each script referenced a different version of the .js file. When I deleted the earlier version, both scripts started working.