I have gotten it to work a little bit but only after i inserted the export functions for the arrows. But i shouldnt have to do that should i? Also when i click on the text box and text nothing happens. All #id are matching the code.
This is what i added:
export function arrowRight2_onclick() {
toggleFold(2);
}
export function arrowRight1_onclick() {
toggleFold(1);
}
export function arrowRight3_onclick() {
toggleFold(3);
}
export function arrowRight4_onclick() {
toggleFold(4);
}
export function arrowDown1_onclick() {
toggleFold(1);
}
export function arrowDown2_onclick() {
toggleFold(2);
}
export function arrowDown3_onclick() {
toggleFold(3);
}
export function arrowDown4_onclick() {
toggleFold(4);
}