AltynbekKZ / galleriffic

Automatically exported from code.google.com/p/galleriffic
0 stars 1 forks source link

Including callback functions break other jQuery scripts #120

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Include callback functions in onSlideChange, onPageTransitionOut, 
onPageTransitionIn
2. Load any other simple jQuery scripts or functions (e.g. jQuery Hint)

What is the expected output? What do you see instead?
For whatever reason, including functions within the galleriffic contstruct 
causes other scripts to 
break on pages that do NOT contain a gallery. Funnily enough, on pages 
including a gallery all 
scripts work just fine.

What version of the product are you using? On what operating system?
Galleriffic 2.0 - problem is persistent across all browsers and OS. Currently 
running it on 
WordPress 3.0, but has been persistent in earlier versions, too.

Please provide any additional information below.
The functions I'm using for callback are straight from example 5, using 
alternate prev/next 
controls.

Original issue reported on code.google.com by rzenme...@gmail.com on 28 May 2010 at 1:24

GoogleCodeExporter commented 8 years ago
I forgot to mention: a cheap and easy fix is to load the other scripts BEFORE 
galleriffic. Doing so seems to avoid 
all the mucking up. Hope this helps anyone else who encounters the problem.

Original comment by rzenme...@gmail.com on 28 May 2010 at 2:05