A
awebguynow
It seems like I've been reading the code to Google Suggest (GS) for
about a week, and I'm going to have to wrap it up shortly.
I'm OK with many of the subjects, and I would say I have intermediate
knowledge of JS.
I've read from many sources/blogs/sites: C Justus (dissected),
alacrity, AjaxAC, etc.
After reading the code, here's a few parts, I didn't follow:
s.<div> contains Iframe, but why does s.style.left="-10000" ? does it
get moved afterwards?
setTimeout() used in multiple places, and even recalculateTimeout() //
not sure why
lots of blur() focus() processing and fireEvent() event processing
Although its brilliant, its as difficult to follow as spaghetti code,
keeping track of which variables are global, local, etc.
I understand the keystroke processing and createTextRange code.
I'm sure you have to designate priority between mouse and keystroke
selections, or else you can end up with 2 rows being highlighted, as I
saw in an ASP related example.
I'm intent on doing my own (simplified) version, but want to keep or
learn how to do, any processing that is absolutely neccessary.
Last call for code (on this topic) - I promise... Over n out
about a week, and I'm going to have to wrap it up shortly.
I'm OK with many of the subjects, and I would say I have intermediate
knowledge of JS.
I've read from many sources/blogs/sites: C Justus (dissected),
alacrity, AjaxAC, etc.
After reading the code, here's a few parts, I didn't follow:
s.<div> contains Iframe, but why does s.style.left="-10000" ? does it
get moved afterwards?
setTimeout() used in multiple places, and even recalculateTimeout() //
not sure why
lots of blur() focus() processing and fireEvent() event processing
Although its brilliant, its as difficult to follow as spaghetti code,
keeping track of which variables are global, local, etc.
I understand the keystroke processing and createTextRange code.
I'm sure you have to designate priority between mouse and keystroke
selections, or else you can end up with 2 rows being highlighted, as I
saw in an ASP related example.
I'm intent on doing my own (simplified) version, but want to keep or
learn how to do, any processing that is absolutely neccessary.
Last call for code (on this topic) - I promise... Over n out