Nevermind...
It seems if I store the left, top, width, height onmounsedown and use those values, everything works fine. If I try to use them onmousemove everything is outta whack. It seems to flow ok now. Back to the grind-- further up and further in! -Troy. Troy A. Griffitts wrote: > Good morning :) > > Seems I messed some of the panning stuff up last night before going to > sleep. It's fixed now (to the level that it worked when I SHOULD have > gone to bed). > >> What I did notice ... when I resized the highlight box to be taller, >> it became larger than the picture, and I wasn't able to reduce the >> height ??? > > Right, as stated below, sizing the top and left seem to work ok, the > bottom and right are the problems. If you see the issue in the code, > any help would be appreciated. > > -Troy. > > >> HTH >> >> >> Troy A. Griffitts wrote: >>> OK, I've been making really slow progress, but am stuck. I've been >>> up >>> all night trying to get the moving and sizing of highlight boxes >>> working. Moving seems to work ok, but sizing is just freaking me >>> out. >>> It could be that it's 5am and I'm just out of it, more likely that >>> I >>> don't understand the flow of events in javascript. >>> >>> Here's my latest attempt. Don't laugh! It's not pretty. But try >>> clicking on [Edit], then _Insert Before_, then play with the box. >>> >>> IE is jumpy on pans because it's trying to load a cursor that >>> doesn't >>> exist in IE. >>> >>> All code should be self contained in the page, but you'll also need >>> the image. Should be easy to grab the source and try to figure out >>> what I'm doing wrong. My latest attempt at sizing gets top and left >>> to work almost ok, but the code is convoluted. I tried to convolute >>> the bottom and right the same way, but couldn't get anything to >>> work. >>> Instead of going crazy, I think I'm just going to go to sleep. Any >>> help would be appreciated. >>> >>> http://crosswire.org/~scribe/papyriedit/transcribeLevel1.jsp >>> >>> >> >> _______________________________________________ >> sword-devel mailing list: sword-devel@crosswire.org >> http://www.crosswire.org/mailman/listinfo/sword-devel >> Instructions to unsubscribe/change your settings at above page > > > _______________________________________________ > sword-devel mailing list: sword-devel@crosswire.org > http://www.crosswire.org/mailman/listinfo/sword-devel > Instructions to unsubscribe/change your settings at above page _______________________________________________ sword-devel mailing list: sword-devel@crosswire.org http://www.crosswire.org/mailman/listinfo/sword-devel Instructions to unsubscribe/change your settings at above page