When this code block is not included, the Exhibeo slideshow works perfectly. When it is included, the slideshow does not work. This is troubling, since I need both JS code blocks to work together for this (really important!) page to work.
I know next to nothing about Javascript. Does anyone have ideas on how these two JS code blocks can work together?
The problem I’m having with the slideshow is clearly related to this bit of Javascript from the Personal Page template:
When this code block is not included, the Exhibeo slideshow works perfectly. When it is included, the slideshow does not work. This is troubling, since I need both JS code blocks to work together for this (really important!) page to work.
I know next to nothing about Javascript. Does anyone have ideas on how these two JS code blocks can work together?
That definitely makes the Slideshow playable, but it also renders the dynamic background image static (it’s supposed to scale automatically to any browser size).
Check the order of library inclusion in your final page. You should include one copy of jQuery very early in the head of the page, and then you can include the Exhibeo and dynamic background scripts after that. If the two included different versions of jQuery, try including only the newest of the two (again, just once).
Walter
On Nov 22, 2012, at 1:35 PM, Brian McNely wrote:
Thanks for the reply, Joe!
That definitely makes the Slideshow playable, but it also renders the dynamic background image static (it’s supposed to scale automatically to any browser size).
I think I’ll need to find a tutorial on JQuery. I moved the script that Joe suggested to near the top of the head, and indeed the Exhibeo slideshow works. But unfortunately, the dynamic background does not.
I don’t know enough about inclusion order to sort this out…
If you can post a link to the page then we can take a look. Or, if it’s not online, paste the code up on http://pastie.org so we can see where it’s going wrong.
Joe
On 22 Nov 2012, at 20:22, Brian McNely email@hidden wrote:
Thanks, Walter.
I think I’ll need to find a tutorial on JQuery. I moved the script that Joe suggested to near the top of the head, and indeed the Exhibeo slideshow works. But unfortunately, the dynamic background does not.
I don’t know enough about inclusion order to sort this out…
Looks like a conflict between the two plugins. The BackStretch one has a public method called resize that’s getting removed by the Exhibeo one. Quick fix for now is to open the image-focus.js file (in the js directory) and either comment out or remove line 663:
$(window).unbind(“resize”);
It shouldn’t cause any problems. If it does, let me know.
Joe
On 22 Nov 2012, at 20:42, Brian McNely email@hidden wrote: