|
|||
|
I'm adding a button to a page with
<?php $btn = $this->button('btndelay','Delay'); ?> but I want it to be invisible until I need it AND I don't want it in the addOnLoad because if the page loads slowly this button shows up until the addOnload runs. I can't seem to figure out how to add the style attribute "display: none;" to this without breaking the button. Any thoughts or direction would be greatly appreciated. Rois Cannon |
|
|||
|
Well . . . I was hoping to do this all from PHP since I'm not that familiar with Dojo but since no one on this forum seemed to know or be forthcoming with some direction I decided to dig in and do it with dojo. I just wrote a couple object methods to create the buttons and used the destroy method to delete them.
Rois sailingthroughlife.net - Home - Your life is going somewhere whether you have a strategy or not. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|