Hover button.
Hover button. Uses the 'hover' class to implement a button which has a an alternate rollover image, and will also implement our forms submission action. Uses the "hover" class from the "image" module. Here's how we might implement a hover button.. $hb = new hover_button("commentary", "Do commentary", "commentary", $onclick=STD_ONCLICK); $hb->set_image("img/bCommentate.gif", 99, 23); $hb->set_image_over("img/bCommentate_over.gif", 99, 23); Then to display it: echo $hb->render();
Located in /button-defs.php (line 371)
button_object | --button | --hover_button
The hover image associated with the button
Inherited from button
button::$accesskey
button::$confirmation
button::$onclick
Constructor
Use render() to render this element in your page.
Renders the hover button as HTML. In this case we simply render the hover image which is associated with this button.
Sets button mouse-out image Sets the standard image for this button. This is the image which is shown with the mouse NOT over the top of it.
Sets button mouse-over image Sets the mouse-over image for this button. This is the image which is shown with the mouse over the top of it.
Inherited From button
button::button()
button::html()
button::set_confirmation()
button::set_onclick()
Documentation generated by phpDocumentor 1.3.0RC3