Reply To: Help required with conflict
Your Account / Forums / Easy FancyBox Pro / Help required with conflict / Reply To: Help required with conflict
I cleared the cache (on two separate computers) but still doesn’t work for chrome but not too concerned as I know it’s not a code issue.
It’s very strange. I just revisited in Google Chrome (not chromium) and it works fine…
Maybe a browser plugin you are using on both browsers? Can you try in a anonymous browser window?
For your FAQ’s this snippet should do the trick:
<!-- toggler for FAQ -->
<script type="text/javascript">
jQuery(document).ready(function(){
var questions = jQuery("p.toggler");
/* hide answers */
questions.each(function(){jQuery(this).next().hide();});
/* stage toggle on click */
questions.click(function(){
if( jQuery(this).next().hasClass('open') ) {
jQuery(this).next().removeClass('open').slideUp();
} else {
jQuery("div.open").each(function(){jQuery(this).removeClass('open').slideUp();});
jQuery(this).next().addClass('open').slideDown();
}
});
});
</script>
