The automatically generated buttons do seem to be working now, but I am now having an issue with my own buttons. I put the diagram on the page, but on my desktop, my own buttons would not change the board. With Web Developer Tools in Firefox, I could see that it was using board1 instead of board0. I then tried it on my iPad, which does not display the comments, and it worked fine. I figure that because multiple Interactive Diagrams were on the desktop version, it was using different board numbers for each. This is why it is important to be able to use background= instead of getElementById('board0').style.backgroundImage= in the JavaScript for a button. Since I would prefer to use my own buttons for better control of the layout, I'm hoping you can update Display() to change the background image to whatever the value of background is.
The automatically generated buttons do seem to be working now, but I am now having an issue with my own buttons. I put the diagram on the page, but on my desktop, my own buttons would not change the board. With Web Developer Tools in Firefox, I could see that it was using board1 instead of board0. I then tried it on my iPad, which does not display the comments, and it worked fine. I figure that because multiple Interactive Diagrams were on the desktop version, it was using different board numbers for each. This is why it is important to be able to use
background=
instead ofgetElementById('board0').style.backgroundImage=
in the JavaScript for a button. Since I would prefer to use my own buttons for better control of the layout, I'm hoping you can updateDisplay()
to change the background image to whatever the value of background is.