PDA

View Full Version : Newbie Trying to Tweak Desktop Sample



jwm68
8 May 2009, 9:50 AM
Greetings! I am brand new to ExtJS, and I am trying to get more familiar with the Desktop sample so I can build something similar and develop my JavaScript and ExtJS skills. How can I change the chrome/color scheme of the windows that popup when you click one of the links in the start menu?

Thanks in advance, and congrats to everyone responsible for ExtJS...I have been "auditioning" JS frameworks over the past month, and I like yours the best by far.

elishnevsky
8 May 2009, 10:23 AM
That's what I'll never understand. Why would you jump to the most complex example and try to change something in it before understanding the fundamentals of the framework? Component architecture, hierarchy, management and lifecycle, layout management, DOM manipulations etc... You have to do some reading first. For example here (http://extjs.com/learn/Ext_2_Overview), here (http://extjs.com/learn/), and here (http://extjs.com/deploy/dev/docs/)...

jwm68
8 May 2009, 11:09 AM
That's what I'll never understand. Why would you jump to the most complex example and try to change something in it before understanding the fundamentals of the framework? Component architecture, hierarchy, management and lifecycle, layout management, DOM manipulations etc... You have to do some reading first. For example here (http://extjs.com/learn/Ext_2_Overview), here (http://extjs.com/learn/), and here (http://extjs.com/deploy/dev/docs/)...

Know what I don't understand -- people who can't either offer genuine assistance germane to the question being asked or be kind enough to keep their [expletive deleted] mouth closed. If I thought that trying to become a full-fledged ExtJS developer would make any kind of sense whatsoever for me, that's what I would do. But you obviously know more about what is good for me than I do, so I will get right on reading everything I can about something I might not ever use again after playing around with it over the next week or so.

What a self-important [expletive deleted]. Not that I would expect any better from someone with the highly contemporary and relevant term "RTFM" in their signature...but it's still a little disappointing.

If there is anyone that wants to give me a little bit of assistance and save me some time, instead of making more work for me, please feel free to chime in.

elishnevsky
8 May 2009, 11:21 AM
Fine. Good luck getting answers in this community with such attitude.

tryanDLS
8 May 2009, 11:35 AM
@jwm68 - I would suggest you take a step back and re-think your approach/attitude. As elishnevsky said you cannot expect to learn JavaScript and Ext by starting with the most complex example here. He gave you sound advice and you immediately responded by spewing insults. If you don't know JS, you need to learn it first - there are many resources on the web to do so. Then begin learning Ext starting with the simple examples and some of the links that have been provided.

jwm68
8 May 2009, 11:52 AM
@jwm68 - I would suggest you take a step back and re-think your approach/attitude. As elishnevsky said you cannot expect to learn JavaScript and Ext by starting with the most complex example here. He gave you sound advice and you immediately responded by spewing insults. If you don't know JS, you need to learn it first - there are many resources on the web to do so. Then begin learning Ext starting with the simple examples and some of the links that have been provided.

And my initial question remains unanswered...I don't necessarily have a problem with him giving me some homework, as long as he answered my question...or admitted that he did not know the answer. He did neither.

I have learned far more complex technology concepts on my own, and I am familiar with how to do it. And if I had asked the question "how does one get started learning about ExtJS" then his answer would have been spot on.

Instead, I basically told him that I had a fishing pole and boat and I heard about this great fishing hole, could he give me directions, and he sent me instructions for how to string my pole, row my boat and hunt for night crawlers...all probably useful to me at some point, just kind of useless to me right now when I want to fish.

chrizmaster
8 May 2009, 12:38 PM
if u realy had to do with more complex technologie, I don't understand why you screaming around like u do and why you just don't stop for a second. Relax, calm down and think about..... themes:) thats the word you searching for. search the forum for it and you will find peace.

jwm68
8 May 2009, 12:50 PM
if u realy had to do with more complex technologie, I don't understand why you screaming around like u do and why you just don't stop for a second. Relax, calm down and think about..... themes:) thats the word you searching for. search the forum for it and you will find peace.

Aaaaaaahhhhh. Peace. Isn't that what we are all looking for?

chrizmaster
8 May 2009, 1:16 PM
I think so. But if you expect one to be peacefull to u, you should think before you're getting angry and write something which might be kind of...stupid.

argh, someone close that thread please\:D/

aconran
8 May 2009, 1:40 PM
Greetings! I am brand new to ExtJS, and I am trying to get more familiar with the Desktop sample so I can build something similar and develop my JavaScript and ExtJS skills.

Welcome to our community of developers, we're happy to have you as a member. You'll find a wealth of information in the SDK which you downloaded in the examples/ directory and also within the forums here.



How can I change the chrome/color scheme of the windows that popup when you click one of the links in the start menu?
Ext JS gets all of its look and feel via CSS. Take a look at some different themes which have been implemented thus far. You can override the original rules by including an additional CSS file after ext-all.css to give your application a custom look and feel.

When theming you will always want to use the exact same CSS rules which we used so that you do not have to worry about specificity.

Use firebug to drill down into specific parts that you'd like to change and copy the CSS rule. For example, here if we wanted to change the corners of the window, we now know that we need to look at overriding the CSS rule .x-window-tl and the associated background-image (images/default/window/left-corners.png).

mjlecomte
8 May 2009, 5:01 PM
There's a screencast on theming by the way:
http://extjs.com/learn/Screencasts#CSS.2C_Theming