Hi.
ive ran into a little problem-perhaps someone who actually knows javascript, unlike me could help out a bit.
I am using a jquery content switcher for a website. if i add slimbox galleries inside the content containers, only the one that was initially loaded worked, others wouldnt open after switch - so i change a line in slimbox.js to N.unbind("click").live("click",function() that made it work but it always started from the beginning, no matter what thumb i clicked. so i added this to each of the containers:
<script type="text/javascript">
jQuery(document).ready(function($){
var select = $('a[href$=".bmp"],a[href$=".gif"],a[href$=".jpg"],a[href$=".jpeg"], a[href$=".png"],a[href$=".BMP"],a[href$=".GIF"],a[href$=".JPG"],a[href$=".JPEG"],a[href$=".PNG"]');
select.slimbox();
});
</script>
[Please post code snippets between backticks or use the code button.]
that fixed it but now what i cant get over is that when i click next/previous, everything works fine but if i use the keyboard arrows it skips every other image in the gallery.... 1->3->4 etc. and in the one with the content switcher it skips 20... 1->21->41->etc. what could cause this issue?
site in question: http://vallensbaek.com/?page_id=23