queue_js for javascript not located on omeka site

What's the syntax to queue something not on my Omeka site like https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js?

I have a slideshow that worked when I used the old <?php echo js('default'); ?> javascripts (jquery.js, jquery-noconflict.js, jquery-ui.js), the 1.4.4 javascript, and the galleryview scripts.

When I switched to using queue_js and display_js, the slideshow works initially. However, I noticed a problem if I leave Omeka running in one tab, while surfing the web in another tab. When I come back to Omeka, the slideshow is running really fast, less than a second per image. When I refresh the screen it works normally again, 5 seconds per image. I'm just trying to figure out what scripts need to be included for this to work properly.

Omeka already loads jQuery for you with display_js(true). For other web-based scripts, queue_js doesn't yet have support for loading from a URL, so you'd have to manually include the script tag yourself for now. (We plan to add support for this, as well as queuing literal script blocks, in an upcoming version).

It's possible that your galleryview script isn't compatible with the current version of jQuery that Omeka loads, and you could try loading another jQuery, but this could easily cause problems.

Thanks for the information. I went ahead and copied the 1.4.4 jquery.min.js to my galleryview folder. Now I'm able to use the queue_js() function to load this script. So when I use the display_js function it generates the following on my item browse pages:

<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.13/jquery-ui.min.js"></script>
<script type="text/javascript">
jQuery.noConflict();    //-->
<script type="text/javascript" src="https://mysite/omeka/themes/mytheme/common/galleryview/jquery.min.js"></script>

The other galleryview scripts follow the above.

It seems like the slideshow works properly again. Since I'm still fairly new to all of this, does the second jquery.min.js file take precedence over the first one? Or are they both working at the same time? Does the order in which javascripts are referenced in the <head> matter? Also, I don't see any problems caused by this yet, but I'll definitely be looking for them.

Thanks again.