.
Your page is in violation of Dynamic Drive's
usage terms, which, among other things, state that the script credit must appear in the source code of the
page(s) using the script. Please reinstate the notice first.
That said, I'm not 100% sure of the problem. It appears as though those browsers are too busy parsing other things to know in time what $ is supposed to be in that context. In a mock up I found that if I wrapped the initialization in a jQuery document ready, it gave those browsers enough time to catch up. As that part of the code (where the error is coming from) isn't run until document ready anyway, this should have little or no effect on other browsers.
To do the same thing, in your /drupal/files/fade/fadhd.js file, add the highlighted (top and bottom, don't miss the bottom part):
Code:
jQuery(function($){
var mygallery=new fadeSlideShow({
wrapperid: "fadeshow1", //ID of blank DIV on page to house Slideshow
dimensions: [700, 400], //width/height of gallery in pixels. Should reflect dimensions of largest image
imagearray: [
["http://www.castrobarbudo.com/drupal/files/slideshow_images/Imaxe1.jpg", "", "", "Posando na muralla... decembro 2012"],
["http://www.castrobarbudo.com/drupal/files/slideshow_images/Imaxe2.jpg", "http://www.castrobarbudo.com", "_new", "Así nos chamamos!!!"],
["http://www.castrobarbudo.com/drupal/files/slideshow_images/Imaxe3.jpg", "", "", "Posando cerca da muralla... decembro 2012"],
["http://www.castrobarbudo.com/drupal/files/slideshow_images/Imaxe4.jpg", "", "", "De festa... cando subimos o Monte Ézaro"],
["http://www.castrobarbudo.com/drupal/files/slideshow_images/Imaxe5.jpg", "", "", "O podio femenino na marcha do 2012."] //<--no trailing comma after very last image element!
],
displaymode: {type:'auto', pause:2500, cycles:0, wraparound:false},
persist: false, //remember last viewed slide and recall within same session?
fadeduration: 900, //transition duration (milliseconds)
descreveal: "ondemand",
togglerid: ""
})
});
It's odd that this works because it's basically the same construct (I'm using the shorthand version is the only difference) that those browsers are having a problem with in the main script. However, because there are two versions of jQuery on the page, it may be that the first one is forcing the browser to wait until it has parsed the second one before proceeding with the slideshow's initialization. In any case, it works here.
The browser cache may need to be cleared and/or the page refreshed to see changes.
Bookmarks