Toolbar Sample

Reference
This sample demonstrates how to create and modify a toolbar.
 


Instantiate the toolbar into an empty, global object, and add it to the DOM, using the toolbarNew method.
Button ID:
Handle the itemClick event to get information about buttons when they are clicked
Use the createButton method to add a button to the toolbar
Use the createSeperator method to add a seperator to the toolbar
Specify button text and choose an image...

Use the createButton method to add a button based on the values selected above
Use the createListItem and createList methods to add a listbox to the toolbar


© 2005 Jonathan Wise. Some rights reserved.