"Randy Webb" <Hi************@aol.com> wrote in message news:nO********************@comcast.com...
George Hester wrote:
<--snip-->
Changing it to a html would not change the mechanics that's involved. I am not having
trouuble with the htc. Thanks though.
While you are not having trouble with the .htc file, you are limiting
your possible audience of people who may potentially help you. When
having a problem, you want as many people as possible willing to help
you, no?
--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq
Yes I suppose so Randy. Putting this into a html is not as easy as you may think. The image is a VML
and if I put the code for that into a html then I get a lot of crap in the folder where the html
will reside. It's not pretty. Oh for <circle></circle>.
If someone said to you I have a circle on a web page that I would like to have an image
follow the border, would the fact that the questioner implements this in a htc matter?
This htc uses JavaScript. And I know I am letting the y component jump to 0. I am also not able
to keep the y component in a steady state. When dx is negative (mouse left to right) the eyeball does the upper
circumference of the circle. mouse(right to left) the lower half of the circumference.
I believe someone who is well versed in JavaScript can "see" this happening just by looking at code. Which I
provided it is in the htc. Maybe I am wrong about that.
I have an example of using setTimeout to do this. It does it without user intervention. Maybe I can
finagle what they have into what I have. It turns out that what I did is pretty close to
what they have. He uses 2-space to do it f(x,y) whereas I use y=f(x) = sqrt(r^2 + x^2).
--
George Hester
__________________________________