before you leave, jon

before you leave, jon, maybe you can answer a couple of questions for me... you once coded a little demo that had a page-scan that scrolled line-by-line in a window, according to the position of the cursor in an adjacent textarea... my questions are concerning that code. specifically, was it python or javascript? i think you made the code open-source. if that's correct, where can it be found? and, maybe the most important of all: how was it, exactly, that you did that? the synchronization part's easy enough, but how did you get the coordinates of each line? did you do that on-the-fly? can you get them for an arbitrary scan? i do this in my offline (realbasic) apps by assessing the color of the pixels at several specific points in the scan, but i don't see how to do that in a browser. so is _that_ what you were doing there? and finally, if that is indeed what you do, can you do such pixel-color-probing on any old div (or screen location), or will it only work on graphics, like page-scans? -bowerbird
participants (1)
-
Bowerbird@aol.com