View Full Version : Minimalizing code and images...would like to use alert only

17 Apr 2007, 6:29 AM
I can't figure out how to delineate between the code/images I need and the code/image that are extraneous. Can someone guide me to only the mandatory files needed for the Standard alert message dialog? I'm sure I don't need over 1mb of code/images for this only?

17 Apr 2007, 6:52 AM
A standard alert message is native Javascript, not Ext. Ext provides a class called MessageBox which provides similar functionality with additional features. You can use the the newly updated 'Build your own Ext' dialog to build a smaller package. http://extjs.com/download/build

17 Apr 2007, 7:43 AM
What about the images and stylesheet I need? This only builds the js file correct?

17 Apr 2007, 7:53 AM
I believe so. I think you'll have to go thru the dependent source files and look at what css references are included and then pull them in. BasicDialog has it's own css file, so you might just have to add the shadow and messagebox stuff. At this point, I don't think there's a better way.