SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 201 | Next

James Kennard

"Mastering Joomla! 1.5 Extension and Framework Development"

It is important we
have this so that we can identify which area we are dealing with. Admittedly, we do
not use this in our example function, but it is likely that it will be of use at some point.
We build some JavaScript and some CSS. The client will execute the JavaScript when the
button is pressed. We define two CSS styles to render the button in different locations.
The $button array that we return is an array that describes the button we want the
editor to display. The first element is the JavaScript to execute when the button is
pressed. The second element is the name of the button. The third element is the name
of the CSS style to apply to the button.
This screenshot demonstrates what our button might look like (fourth button):
Plugin Design
[ 150 ]
You will also notice that in this example we are using images located in the editorsxtd
folder. If you are wondering how we achieve this then look no further! The image
files would be included in the plugin archive and described in the XML manifest file.


Pages:
189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213
hotel jelenia góra Russian bride Free English grammar and study guid powiekszenia wielkoformatowe counter strike 1.6