BlueShoes NumberField Example 3

This example demonstrates the Number Field component.



show/hide block
The problem: This is a block of text that may disappear and re-appear. It is above the number field. When this block disappears, the number field moves up. And what about the absolutely positioned buttons? 2 options: You can call myNumberField.redraw() to actualize the positions. But most likely you don't want to care about redrawing buttons just because something in the page changes. So just wait until option 2 kicks in: Once a second the location of the buttons is checked, and if something changed, they will be redrawn. Hide/show this div to see it.