Getting started with the Ext library and jQuery.
Original: http://groups.google.com/group/jquery-en/browse_thread/thread/bb64561ee9fe2e22/a0f090d9f5bffd11
Author: Juha Suni
Here's a really quick'n'dirty how-to for others who want to jumpstart Ext with jQuery:
1. Download Ext: (Just click the big blue button for now. There is also a feature that lets you build your own Ext with just the features you need, but we'll ignore that for now).
2. Unzip the package, it contains Ext-wise everything you need.
3. Fire up the page you want to start toying with in your editor of preference.
4. Include the javascript-files in the right order
5. Include the necessary css-eye-candy. Please note that the Ext css-files reference images inside the ext-folder, so I wouldn't carelessly move them around.
6. To test this you can just skip the tutorial and jump right into mixing jQuery with Ext: Add the html:
<a href="#" id="wheelink">Whee Click me Click me!</a>
Add the JS:
$(document).ready(function(){
$('#wheelink').bind('click',function() {
Ext.Msg.alert('Whee alert!', 'Thanks for clicking me, WHEE!');
});
});
Then read the tutorials while already drooling for the eye candy. After doing the above stuff the tutorials and pretty much everything else should work good: Introduction Tutorial, Beginner Tutorial, Videos and Screencasts.
Look through the Ext API Docs.
Categories: Ajax | Plugins | Ext | Tutorials