|
Posted by Steve on 04/05/07 13:40
"Beshoo" <basheermoro@gmail.com> wrote in message
news:1175779161.188116.295810@o5g2000hsb.googlegroups.com...
| Hey gaiz !!!
you do realize this is a javascript question and that there are js usenet
groups, right?
|alot of thanx in advance :)
there is no such word as 'alot'. to 'allot' means to allocate. a 'lot' is
related to a parcel of land. 'a lot' denotes a vast measure/quantity.
you have heard of tertiary operators, right?
g = y > 170 && g == 0 ? 1 : 0;
q = q + 5 * (g ? -1 : 1);
y += q;
further, y, g, q are about as telling as you can get right? hell, why not
just make them non-printable characters so that they are equally useful in
your code, yet do appear to waste valuable space...that is what you're going
for with such nomanclature, right?
as for 'obj', it is standard practice to refer to an html/xml element in js
as 'el', 'node', or 'child'...again, 'obj' doesn't quite cut it. it could
refer to html or xml or it could be a js object.
now, for your problem...it is obvious. struggle a bit more and you'll see
it.
[Back to original message]
|