开发者

extJS (download tutorial) & Ruby on Rails

开发者 https://www.devze.com 2023-02-22 23:10 出处:网络
extJS tab panel <- here i开发者_Python百科s link which is perfect suits me in my project. How i can it download to my PC? All code I mean?That tab panel is part of the ExtJS suite of components whi

extJS tab panel <- here i开发者_Python百科s link which is perfect suits me in my project. How i can it download to my PC? All code I mean?


That tab panel is part of the ExtJS suite of components which is produced by a company called Sencha. It requires a fair amount of set up (which you can check out if you do a 'view source' on the page itself, and look at the JavaScript files included). It's not a pre-formatted page layout that you can just download and use exactly as is. ExtJS feels much like 'Swing' (if you have a Java background) to use. You put together layouts, panels, windows, viewports, etc, to design a whole interface.

Directly from the page, there are three JS files that set up the whole paneling:

<!-- page specific --> 
<script type="text/javascript" src="../shared/examples.js"></script> 
<script type="text/javascript" src="../portal/sample-grid.js"></script> 
<script type="text/javascript" src="grouptabs.js"></script> 

Outside of that, you need some specific style sheets to make the look that they have there happen:

<!-- overrides to base library --> 
<link rel="stylesheet" type="text/css" href="../ux/css/Portal.css" /> 
<link rel="stylesheet" type="text/css" href="../ux/css/GroupTab.css" /> 

Those files are above and beyond the base library being included.

If you are interested in learning ExtJS, I would follow Sencha's learning path that is presented on their website. There is a pretty excellent community behind that as well.

Sorry it's not an easy answer!

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号