Hi Mark
Thank you for flowers. Pushig will come - after the code has been cleaned from my stupid comments inside ;-)
Concerning buttons:
I allready have made this variable(s). Problem is:
Buttons become black when pushed. So far so good.
But I would prefer when one of the 4 buttons is pressed it should be stay black until another button is pressed. Same as SONY's font-size-buttons. So you could remember which font-size/line-height has been chosen.
Intermediate state of the interface to give an expression. There are now 2 groups with 4 buttons:
Another wish:
I try to deactivate this buttons when an non-Epub-file is open. Therefor I would need to make a function in the XML-file which ask wether it's a Epub or not.
There are functions like this:
Code:
<function id="canStyleMode"><![CDATA[return this.getVariable("VAR_ENABLE_STYLE");
So I would need a function which gives 0 or 1 wether it's an epub or not. Some ideas?
A.
Edit: Code online