code suggestion...
I never understood this in the original 1.35 release code, and I see you keep it:
Code:
$css_button = '<span class="' . $mouse_out_class . '" ' . $css_button_js . $style . ' > ' . $text . ' </span>'; // add $parameters ???
Why not add the parameters? It hurts nothing, and in my case I'm writing a mod that requires the button have a proper id. I realize ids *can* be harmful if there are repeat buttons, but I can easily add it as a parameter if the code allows it. So for flexibility, I strongly suggest you change that line to:
Code:
$css_button = '<span class="' . $mouse_out_class . '" ' . $css_button_js . $style . $parameters . ' > ' . $text . ' </span>';
unless there is some good reason not to.
Otherwise, thank you for the contrib. I haven't used it enough to see any benefit over the stock cssButtons code, but it seems to work well enough!
- Steven