![]() | ![]() |
KoolButtonFullVersion 1.7.0.0 released on 10/22/2012
Button - KoolToggleButton
Description & Sample code
To add option to KoolToggleButton you do:
$play_stop->AddOption(array( "Text"=>"Play",
"Value"=>"Play",
"LeftImage"=>"/path/to/leftimage.png")
"RightImage"=>"/path/to/rightimage.png")
"LeftImageCss"=>"leftimage_css")
"RightImageCss"=>"rightimage_css")
"ButtonCss"=>"button_css")
"ToolTip"=>"This is the button")
);
When button is clicked, you can capture the click event with:
$play_stop->OnClick="do_something";
![]() | ![]() |
