Reply To: Help required with conflict

Your Account / Forums / Easy FancyBox Pro / Help required with conflict / Reply To: Help required with conflict

Anonymous
October 7, 2014 at 1:09 pm #3751

Hi Ravan

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.

As for the FAQ page – http://www.suttonrunners.org/training-advice/club-standards/

This is the code I have used

<!-- toggler for FAQ -->
<script type="text/javascript">
jQuery(document).ready(function(){
  jQuery(".toggler").click(function(){
    jQuery(this).next().slideToggle("slow");
    return false;
  }).next().hide();
});
</script>

And CSS…

.toggler {  
        text-decoration: underline; 
	cursor: pointer;
	color: #cc335d;	
}

It’s sort of working but would be nice to just have one question open at a time so when you click on a second item it closes the previous one, and so on. Not sure about the underline but that’s aesthetics. I moved the code as I realised my mistake in having to unnecessarily load another jquery version. So thanks for pointing that out.

I will speak to CyberChimps about their slimbox.

Thanks

Darrin 😉