Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

mobile raw html table

Avatar

Avatar
Level 1
cori_heart
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile

Avatar
Level 1
cori_heart
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile
cori_heart
Level 1

15-10-2015

Is there any reason why javascript wont work in that tab?

 


<script language="JavaScript" type="text/javascript">
/* FAQ "cleanup" script. Collapses more than five and provides open-close-ability */
$(document).ready(function() {
    if( $("div.bch-faq-block").length &gt; 5 ) {
        $("div.bch-faq-block").addClass('closed');
        $("div.bch-faq-block &gt; div").hide();        
        if ( window.location.hash ) {
          var hashOffset = $( "[name='"  + window.location.hash.substr(1) + "']" ).offset();
            if( hashOffset.top )
              window.scrollTo(hashOffset.left,hashOffset.top);
          }
    }

    $("div.bch-faq-block &gt; h3").click(function(e){
        if( $(this).parent("div.bch-faq-block").hasClass('closed') ){
            $(this).parent("div.bch-faq-block").removeClass('closed');
            
        }
        else {
            
                $(this).parent("div.bch-faq-block").addClass('closed');                    
            });
        }
        
    });
});
</script>

Accepted Solutions (0)

Answers (0)