Welcome, Guest. Register Now!
   
Mark Forums Read Mark Forums Read Mark Forums Read


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-06-2008, 10:12 PM
Junior Member
 
Join Date: Oct 2008
Location: Bend, Oregon
Posts: 2
Default dojo view helper - hidden button

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 10-10-2008, 04:34 PM
Junior Member
 
Join Date: Oct 2008
Location: Bend, Oregon
Posts: 2
Default

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 03:17 AM.