Assign onclick function to GB button

Hi, how can I assign onclick function to GB button ? I 'd like use nice GB button options instead of ordinary button to open accordion section. See example here: Test – Typograf (button “Open section 1” works). Thanx Radek.