It is not an overnight affair.
Anybody who says that he is a capable software engineer with just 2
years experience is not
talking sense.
It is true that capability, attitude and hard work can offset
experience in some cases but nobody
can become good at complex stuff like web 2.0 coding in just 2 or 3 years.
Anyway I will try to help in my own small way.
Nothing can help you other than your work work.
Stay away from LUG discussions. LUG culture is negative. It is only
talking and not doing.
Anybody who does anything useful in life is not a LUG member...
There you go.
You have to keep on hacking, keep on hacking and pray to God.
Single minded focus will make success come to you.
When you start on something like web programming you must take the
time to learn the concepts
that go behind the coding.
It is not just logic, coding and mathematical thinking like C or Java
or perl or python.
Like I said yesterday there are selectors, there are HTML DOM
elements,there are class identifiers,
there are id identifiers.
There can only be one id in a page, but you can have multiple classes.
CSS determines the looks, how a HTML DOM element is positioned in a web page.
And most of jQuery work involves playing with the CSS attributes.
There are many attributes that HTML elements can take. For instance
you can make an element visible
or invisible.
That is a CSS attribute:
visibility: none
or
display : block
Then a CSS block is written in a specific way. Semicolons, parantheses
and so on.
#foo {
width: 200px;
color: blue;
background: yellow;
}
This is the example of a HTML DOM element whose id is foo.
An ID is preceded by the '#' character in the CSS selector. Same case
with jQuery.
So if you act on the element with id "foo", then you write,
$('#foo').hover(function...
$('#foo').click(function...
and so on.
For instance this element could be written as:
<div id="foo"> </div>
Or it could be,
<p id="foo"> </p>
it could also be,
<ul id="foo">
<li> first</li>
<li> second </li>
</ul>
Get it?
Now, if you want to select a bunch of items you use the class attribute.
You can say,
<div class='fooclass'> </div>
<p class='fooclass'> </p>
You can have them in the same page. The class attribute is not unique.
$('.fooclass').hover(function() ...
This is the way jQuery acts on the class name.
The CSS would be,
.fooclass {
width: 100%;
}
Remember, in CSS, the paranthesis should close, the attribute should
have a : in between and a semicolon in the end.
If you make mistakes it will not work.
As we all know coding is about dotting the i s and crossing the ts...
-Girish
--
Gayatri Hitech
http://gayatri-hitech.com
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
ILUGC Mailing List Guidelines:
http://ilugc.in/mailinglist-guidelines